Compress opacity for radiative transfer
Project description
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]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cortecs-0.0.0.tar.gz
.
File metadata
- Download URL: cortecs-0.0.0.tar.gz
- Upload date:
- Size: 25.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5a93234bd86d2a4e0d4150410b89c6834da52485ab3c302119d3e5f5562d71c |
|
MD5 | 0db27d37b30996f0d2bdb2989682ed17 |
|
BLAKE2b-256 | 47030004d12b3b12f88406b39a5261a58d41a0371cd4e3e3cdb0d3fb893f1294 |
File details
Details for the file cortecs-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: cortecs-0.0.0-py3-none-any.whl
- Upload date:
- Size: 9.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4ebca597a9f2ad659f39d2fddc0208c755cedf4823712b291aa09f0d6eb5d21 |
|
MD5 | dd2ad916783d1af405b7b94522e337a8 |
|
BLAKE2b-256 | 05b7e7869184f1f96ecfd258dd9e067ba591c6f58bf7e980765340b3533424c9 |