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-1.0.0.tar.gz
.
File metadata
- Download URL: cortecs-1.0.0.tar.gz
- Upload date:
- Size: 25.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3733912853d79c5f80c734a146c33cad7f9e164f9fa4d11e76094d7d27e81ae6 |
|
MD5 | c5a03241e489321424d7e1c162a95b9a |
|
BLAKE2b-256 | af53f0b054a9f345b10771e5a529760ca6f6bec6eba1a8285508353c1ce29891 |
File details
Details for the file cortecs-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: cortecs-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c385d32ee7350e922cefc2c5098a41a03cfbe9cb34b21a75757c6dbfa6cbcf59 |
|
MD5 | b64b695b1991527d2ab22cf5185d9692 |
|
BLAKE2b-256 | 56240450080c43befdcd89506d15564ffa21dee6be84a74c63fc98ae43e5c819 |