cortecs
A Python package for decreasing the memory footprint of opacity functions. The primary functionality is compressing opacity functions with varying flexibility. Current methods include
- polynomial fitting
- PCA-based fitting
- neural network fitting
All fits are currently made in along the temperature and pressure axes.
Additionally, cortecs can chunk up opacity functions. The radiative transfer problem can often be cast as embarassingly parallel, so each chunk can be sent to a different CPU.
Installation instructions
cortecs can be installed via pip:
pip install cortecs
or conda:
conda install -c conda-forge cortecs
or from source:
git clone
cd cortecs
pip install -e .
To install from source with optional neural network support:
pip install -e .[neural_networks]
Metadata
Release files for cortecs 1.0.1
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 |
|---|---|---|---|---|
| cortecs-1.0.1.tar.gz | 25.5 MB | Without provenance | Details for cortecs-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cortecs-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for cortecs-1.0.1-py3-none-any.whl |
Total release size: 35.0 MB
Release files / cortecs-1.0.1.tar.gz
| Download URL | cortecs-1.0.1.tar.gz |
|---|---|
| Size | 25.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7bac8da06dede51b8f140163ab6dceeb6e1dfb10a14bc9d9af7ed59827706bd
|
|
BLAKE2b-256 checksum How to use checksums |
e1c0ea21527875bdc0719840c4cccb0f35720256870a079a8f9295c094e4851c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / cortecs-1.0.1-py3-none-any.whl
| Download URL | cortecs-1.0.1-py3-none-any.whl |
|---|---|
| Size | 9.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
589bcbd79cdca4d41f3550b09cd74233d32342d62ce69188605d458c10fe3834
|
|
BLAKE2b-256 checksum How to use checksums |
a1b36be570191ef3c2f28c7908cc4c280ede3013d0023d2081d8d1834151a087
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for cortecs 1.0.1
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.