Published February 10, 2024 | Version v1.0.1
Software Open

cortecs: A Python package for compressing opacities

  • 1. ROR icon University of Maryland, College Park
  • 2. ROR icon Simons Foundation

Description

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.

Files

cortecs-1.0.1.zip

Files (25.5 MB)

Name Size Download all
md5:eccb38c8ad64567233cb687d07a1fba1
25.5 MB Preview Download

Additional details

Related works

Is described by
Publication: 10.48550/arXiv.2402.07047 (DOI)

Software

Repository URL
https://github.com/arjunsavel/cortecs/tree/v1.0.1
Programming language
Python
Development Status
Active