RAPOC : the Rosseland and Planck opacity converter. A user-friendly and fast opacity program for Python
Lorenzo V. Mugnai, Darius Modirrousta-Galian

TL;DR
RAPOC is a fast, user-friendly Python tool that calculates Rosseland and Planck mean opacities from wavelength-dependent data, supporting various data sources and interpolation for broad scientific applications.
Contribution
It introduces a flexible, open-source Python code capable of computing mean opacities from diverse data sources with interpolation, enhancing usability in astrophysics and Earth sciences.
Findings
RAPOC produces Rosseland and Planck mean opacities consistent with literature.
The code supports multiple data formats including ExoMol and DACE.
RAPOC is open-source and easily accessible on Pypi and GitHub.
Abstract
RAPOC (Rosseland and Planck Opacity Converter) is a Python 3 code that calculates Rosseland and Planck mean opacities (RPMs) from wavelength-dependent opacities for a given temperature, pressure, and wavelength range. In addition to being user-friendly and rapid, RAPOC can interpolate between discrete data points, making it flexible and widely applicable to the astrophysical and Earth-sciences fields, as well as in engineering. For the input data, RAPOC can use ExoMol and DACE data, or any user-defined data, provided that it is in a readable format. In this paper, we present the RAPOC code and compare its calculated Rosseland and Planck mean opacities with other values found in the literature. The RAPOC code is open-source and available on Pypi and GitHub.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSolar and Space Plasma Dynamics · Geophysics and Gravity Measurements · Stellar, planetary, and galactic studies
