pymultigrid
pymultigrid provides line-by-line molecular spectra tools based on DSM and multigrid methods.
Install
pip install .
CLI
pymultigrid --help
pymultigrid demo dsm_demo_1
pymultigrid calc -i CO2.par -o spectrum.txt
pymultigrid calc -m multigrid -i CO2.par -r 2100 2400 -s 0.05 -t 323 -o out.txt -x
Commands
demo DEMO— run a script fromdemo/(e.g.dsm_demo_1,dsm_demo_2,multigrid_demo_1).calc— compute a spectrum and write a two-column text file (wavenumber, value).
calc options
| Option | Description |
|---|---|
-m, --method |
dsm or multigrid (default: dsm) |
-i, --input |
HITRAN .par file (required) |
-t, --temperature |
Temperature in K (default: 296) |
-p, --pressure |
Pressure in atm (default: 1) |
-f, --fraction |
Mole fraction of self (default: 0) |
-r, --range |
Wavenumber range NU_MIN NU_MAX (default: from file) |
-s, --step |
Grid step in cm⁻¹ (default: 0.01) |
-o, --output |
Output file path (required) |
-x, --abscoef |
Absorption coefficient; otherwise cross-section |
Metadata
Release files for pymultigrid 0.1.0
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 |
|---|---|---|---|---|
| pymultigrid-0.1.0.tar.gz | 528.0 kB | Without provenance | Details for pymultigrid-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pymultigrid-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pymultigrid-0.1.0-py3-none-any.whl |
Total release size: 1.1 MB
Release files / pymultigrid-0.1.0.tar.gz
| Download URL | pymultigrid-0.1.0.tar.gz |
|---|---|
| Size | 528.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6807f398987d918dc7d13abb23653c3afd2ccf25e4c1fc2612f95fe90eeecdf5
|
|
BLAKE2b-256 checksum How to use checksums |
6f6be09f810089b0c25483dd8e85da1917686e794434e09591c7857f50d26b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|
Release files / pymultigrid-0.1.0-py3-none-any.whl
| Download URL | pymultigrid-0.1.0-py3-none-any.whl |
|---|---|
| Size | 544.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adad34b299332a939eabafa1f166c47b77d59fec75defe0d4b2fc0c58654a785
|
|
BLAKE2b-256 checksum How to use checksums |
e9a3d3267b3a86a3092d1e55e8d8dd369580be9a5c86b4c8a7b996b12d6df689
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|
Security for pymultigrid 0.1.0
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.