Skip to main content

Modelling and analyzing random nanowire networks in Python.

Project description

MemNNetSim

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 and continued to be developed 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 from PyPI 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 .[dev,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:>)

Figure_1

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

mnns-1.0.5.tar.gz (64.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mnns-1.0.5-py3-none-any.whl (53.6 kB view details)

Uploaded Python 3

File details

Details for the file mnns-1.0.5.tar.gz.

File metadata

  • Download URL: mnns-1.0.5.tar.gz
  • Upload date:
  • Size: 64.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mnns-1.0.5.tar.gz
Algorithm Hash digest
SHA256 606fa959353eb05191d022187ae22eb53e2c9f177e803ecc1082cd03937a1e95
MD5 185dac88a566568e9ca45c7d1ec28aa2
BLAKE2b-256 fcda923dbdb5a6a6b11e8fdf8010929bf3d09c468a8d06247d46c9d887ea8629

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnns-1.0.5.tar.gz:

Publisher: pypi-publish.yml on marcus-k/MemNNetSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mnns-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: mnns-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 53.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mnns-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 770042d16b52f795a17c39c12384b597e74815ded8f715823fcaf61092926331
MD5 d0ef5d690f367e675ef105f07911e184
BLAKE2b-256 72f8a22d6d57faf7c47b9360eb1221f4a74e78dff2cb44c56ee72c6cc263e3d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnns-1.0.5-py3-none-any.whl:

Publisher: pypi-publish.yml on marcus-k/MemNNetSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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