NEPC
The goals of the nepc project are to provide tools to:
- parse, evaluate, and populate metadata for electron scattering cross sections;
- build a NEPC MySQL database of cross sections;
- curate, access, visualize, and use cross section data from a NEPC database; and
- support verification and validation of electron scattering cross section data.
The database schema and Python module are designed for anyone interested in plasma chemistry with a background in physics at the graduate level.
Documentation for the nepc project: https://nepc.readthedocs.io.
Organization
The project is organized in the following directories:
- tests - unit and integration testing
- tests/data - data directory for the
nepc_testdatabase--an example NEPC database containing fictitious electron scattering cross section data used in unit and integration testing - tests/data/eda - example exploratory data analysis (EDA) of a NEPC database that is possible with the nepc Python module
- tests/data/methods - code used to parse fictitious cross section data in LXCat format and create various NEPC
Models for thenepc_testdatabase - docs - files used by Sphinx to generate the NEPC documentation
- nepc - the Python code for the nepc package and building a NEPC database
- nepc/mysql - the Python code for creating a NEPC database from data in
$NEPC_DATA_HOME; also creates thenepc_testdatabase from data in$NEPC_HOME/tests/data
Getting Started
To install nepc with pip, run:
$ pip install nepc
Establish a connection to the database named nepc running on a
production server:
>>> cnx, cursor = nepc.connect()
If you've built the nepc_test database on your local machine
(see instructions here), establish a connection to it:
>>> cnx, cursor = nepc.connect(local=True, test=True)
Access the pre-defined plasma chemistry model, fict_min2, in the nepc_test database:
>>> fict_min2 = nepc.Model(cursor, "fict_min2")
Print a summary of the fict_min2 model, including a stylized Pandas dataframe:
>>> fict_min2.summary()
Plot the cross sections in fict_min2.
>>> fict_min2.plot(ylog=True, xlog=True, width=8, height=4)
Additional examples of EDA using nepc are in tests/data/eda. Examples of methods for
building data files for the nepc_test database, including parsing
LXCat formatted data,
are in tests/data/methods.
Built With
Pronunciation
NEPC rhymes with the loser of the Cola War.
If NEPC were in the
CMU Pronouncing Dictionary,
its entry would be N EH P S IY ..
Approved for public release, distribution is unlimited.
Metadata
Release files for nepc 2020.7.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nepc-2020.7.22.tar.gz | 30.2 kB | Without provenance | Details for nepc-2020.7.22.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nepc-2020.7.22-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for nepc-2020.7.22-py2.py3-none-any.whl |
Total release size: 257.3 kB
Release files / nepc-2020.7.22.tar.gz
| Download URL | nepc-2020.7.22.tar.gz |
|---|---|
| Size | 30.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89d03c70753023f5ccbdc6250c75be525556f3f5058e3ac118d22a071428139f
|
|
BLAKE2b-256 checksum How to use checksums |
7511ec5f5e0af11c458e0b7defba884604e2d4cf2d49c3532286ec403307a4d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.2
|
Release files / nepc-2020.7.22-py2.py3-none-any.whl
| Download URL | nepc-2020.7.22-py2.py3-none-any.whl |
|---|---|
| Size | 227.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c7116235257e61419a1dbd935dba56261647d882d1364af8bd77e3011c237598
|
|
BLAKE2b-256 checksum How to use checksums |
651a08093e12d8c96f0281e2feca36b6ff5a96fddbf7142a7800642fae2f6a54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.2
|
Security for nepc 2020.7.22
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.