Modelling and analyzing random nanowire networks in Python.
Project description
MemNNetSim: Memristive Nanowire Network Simulator. A proof-of-concept Python package for modelling and analyzing memristive random nanowire networks (NWNs). This package, developed by Marcus Kasdorf, was initiated from a summer research project in 2021 under the supervision of Dr. Claudia Gomes da Rocha at the University of Calgary.
Table of Contents
Installation
MemNNetSim has been tested on Python 3.10 to 3.13. It is recommended to install MemNNetSim in a virtual environment such as with venv or conda/mamba.
For installing locally, a pip version of 21.1 or greater is required.
Installation from PyPI
Install the latest release of MemNNetSim using pip:
pip install mnns
Installation for development
Download or clone the GitHub repository:
git clone https://github.com/marcus-k/MemNNetSim.git
cd ./MemNNetSim
Then install the package in editable mode using pip:
pip install -e .[dev]
To install for editing the documentation, add the [docs] optional dependencies:
pip install -e .[docs]
Uninstallation
Uninstall MemNNetSim using pip:
pip uninstall mnns
Usage
Nanowire network objects are simply NetworkX graphs with various attributes stored in the graph, edges, and nodes.
>>> import mnns
>>> NWN = mnns.create_NWN(seed=123)
>>> NWN
Type: JDA
Wires: 750
Electrodes: 0
Inner-wire junctions: None
Wire junctions: 3238
Length: 50.00 um (7.143 l0)
Width: 50.00 um (7.143 l0)
Wire Density: 0.3000 um^-2 (14.70 l0^-2)
>>> mnns.plot_NWN(NWN)
(<Figure size 800x600 with 1 Axes>, <AxesSubplot:>)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mnns-1.0.3.tar.gz.
File metadata
- Download URL: mnns-1.0.3.tar.gz
- Upload date:
- Size: 63.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be76d78a59269cbc1bae3e738f6ce8c2f36dc1c97e002b1df5def6b1ffa0876b
|
|
| MD5 |
da32d55b824b7290739129eb94922c2e
|
|
| BLAKE2b-256 |
e79fe9fe6ff5656102ecbbd2d1e5718ca780232cac4f89612f66ba1eaaa2d98a
|
Provenance
The following attestation bundles were made for mnns-1.0.3.tar.gz:
Publisher:
pypi-publish.yml on marcus-k/MemNNetSim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mnns-1.0.3.tar.gz -
Subject digest:
be76d78a59269cbc1bae3e738f6ce8c2f36dc1c97e002b1df5def6b1ffa0876b - Sigstore transparency entry: 631234397
- Sigstore integration time:
-
Permalink:
marcus-k/MemNNetSim@02df54aa3d4293ac7b0961731298cae46c011482 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/marcus-k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@02df54aa3d4293ac7b0961731298cae46c011482 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mnns-1.0.3-py3-none-any.whl.
File metadata
- Download URL: mnns-1.0.3-py3-none-any.whl
- Upload date:
- Size: 53.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7108babfb7a61e376087a8a08a94fc2a86d884cffd4c98dce09a0a06c954d57f
|
|
| MD5 |
2ab28731a6e6b489284b131f860b731d
|
|
| BLAKE2b-256 |
cc5f804b91310db1dba26c4998529cf22682c77ebfa341fd96db7d87274995e1
|
Provenance
The following attestation bundles were made for mnns-1.0.3-py3-none-any.whl:
Publisher:
pypi-publish.yml on marcus-k/MemNNetSim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mnns-1.0.3-py3-none-any.whl -
Subject digest:
7108babfb7a61e376087a8a08a94fc2a86d884cffd4c98dce09a0a06c954d57f - Sigstore transparency entry: 631234403
- Sigstore integration time:
-
Permalink:
marcus-k/MemNNetSim@02df54aa3d4293ac7b0961731298cae46c011482 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/marcus-k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@02df54aa3d4293ac7b0961731298cae46c011482 -
Trigger Event:
release
-
Statement type: