https://github.com/marcus-k/random-nwns

Modelling and analyzing random nanowire networks in Python.

https://github.com/marcus-k/random-nwns

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary

Keywords

nanowire physics programming python research research-project
Last synced: 6 months ago · JSON representation

Repository

Modelling and analyzing random nanowire networks in Python.

Basic Info
  • Host: GitHub
  • Owner: marcus-k
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 1.34 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 5
  • Open Issues: 0
  • Releases: 20
Topics
nanowire physics programming python research research-project
Created almost 5 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

Random NWNs Tests

Python package for modelling and analyzing random nanowire networks. This package was a summer research project lasting from May 2021 to August 2021 under the supervision of Dr. Claudia Gomes da Rocha.

Update: This project will now be continuing as of May 2024. If you are using this project, please note there will be active development on it and the functionality may change.

For future additions, feel free to fork the repository. Please cite Marcus Kasdorf if you wish to extend the project.

Table of Contents

Installation

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

Production

The latest version of randomnwn can be installed from PyPI:

pip install randomnwn

An Anaconda environment file is also provided to create a new virtual environment with the minimum required dependencies required to run the package.

conda env create -n randomnwn -f environment.yml

Be sure you activate the environment before using the package!

conda activate randomnwn

Development

One can use the dev-environment.yml file with Anaconda to create a new virtual environment with all the required dependencies for development.

conda env create -n randomnwn -f dev-environment.yml

This will also install the randomnwn package in editable mode (i.e. as if running pip install -e . in the base folder).

Usage

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

```python

import randomnwn as rnwn NWN = rnwn.createNWN(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) rnwn.plotNWN(NWN) (

, ) ``` Figure_1

See the wiki pages for more detail on usage.

Uninstallation

To uninstall the package, use:

pip uninstall randomnwn

Owner

  • Name: Marcus
  • Login: marcus-k
  • Kind: user

GitHub Events

Total
  • Release event: 1
  • Push event: 4
  • Create event: 1
Last Year
  • Release event: 1
  • Push event: 4
  • Create event: 1

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 133
  • Total Committers: 2
  • Avg Commits per committer: 66.5
  • Development Distribution Score (DDS): 0.459
Top Committers
Name Email Commits
marcus-k 8****k@u****m 72
Marcus 8****y@u****m 61

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 months
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.5
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 6 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • marcus-k (5)
  • dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 33 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 18
  • Total maintainers: 1
pypi.org: randomnwn

Modelling and analyzing random nanowire networks in Python.

  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 33 Last month
Rankings
Dependent packages count: 10.1%
Forks count: 19.1%
Dependent repos count: 21.6%
Average: 24.7%
Stargazers count: 31.9%
Downloads: 40.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • Shapely ==1.7.1
  • matplotlib ==3.3.4
  • networkx ==2.5.1
  • numpy ==1.20.1
  • scipy ==1.6.2
.github/workflows/publish-pypi.yml actions
  • actions/checkout master composite
  • actions/setup-python v1 composite
  • pypa/gh-action-pypi-publish master composite
.github/workflows/python-package.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
environment.yml pypi
setup.py pypi