Skip to main content

Modelling and analyzing random nanowire networks in Python.

Project description

Random NWNs Tests

Python package for modelling and analyzing random nanowire networks. This package was a summer research project going from May 2021 to August 2021.

Table of Contents

Installation

Random NWNs can be installed from PyPI for quick use or installed manually for development.

Latest

The latest version can be installed from PyPI:

pip install randomnwn

Development

Download this repository, then navigate to the base folder and run:

pip install .

To install the package in editable mode instead (i.e. using the local project path), one can use:

pip install -e .

Usage

Nanowire network objects are simply NetworkX graphs with various attributes stored in the graph, edges, and nodes.

>>> import randomnwn as rnwn
>>> NWN = rnwn.create_NWN(seed=123)
>>> NWN
<networkx.classes.graph.Graph at 0x...>
>>> rnwn.plot_NWN(NWN)
(<Figure size 800x600 with 1 Axes>, <AxesSubplot:>)

Figure_1

See the wiki pages for more detail on usage.

Uninstallation

To uninstall the package, use:

pip uninstall randomnwn

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

randomnwn-0.2.5.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

randomnwn-0.2.5-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file randomnwn-0.2.5.tar.gz.

File metadata

  • Download URL: randomnwn-0.2.5.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for randomnwn-0.2.5.tar.gz
Algorithm Hash digest
SHA256 d50599966d85f9da3f27bcd6e623a142a29ba328d17760fc7074e77ddbc26bbc
MD5 f70bbef99d5e341ec23665d2c9fa9435
BLAKE2b-256 8ca3d3e5c75b870c20242e4e3a703588f73d685286b895c6c3fb09e37b52c581

See more details on using hashes here.

File details

Details for the file randomnwn-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: randomnwn-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for randomnwn-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b02fa0b7fcf24d6e3e16a86bcf1f4583c8708ccbfb96dde17c1417566c5c447c
MD5 db886267d4e30cab0e18924e264906dc
BLAKE2b-256 3d2240b0fe77f946dbafcf514585a82009a0b4851d5777adf3b15bb940bda7b1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page