Skip to main content

Modelling and analyzing random nanowire networks in Python.

Reason this release was yanked:

Version error.

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.31.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

randomnwn-0.2.31-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for randomnwn-0.2.31.tar.gz
Algorithm Hash digest
SHA256 f1c723e96b9548b189352597a83672bd0fa41228c095e72e63c5f8e4f34a3f69
MD5 e807b77d4b059821d73fed0c2ce9a3b7
BLAKE2b-256 a4df7b114616b24a123de8e545f5e431a93e3387e2b097d659f1ffb8a3a8822b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for randomnwn-0.2.31-py3-none-any.whl
Algorithm Hash digest
SHA256 bdd439cfc1df54540ebd5fcd4173d7220c0b93e236790fd7b06d7086e4764c97
MD5 499e6dd68edb97b077a5206e2d85dfa3
BLAKE2b-256 767179f0f9971facd2b0ad3728c75323fc74dcf7cb4c4098d27d0097d0193b8c

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