bioniumx.molecules.get_template
- bioniumx.molecules.get_template(molecule: str, resolving_power: float = 100)[source]
Get a theoretical transmission/emission template for a molecule.
This function uses the RADIS library to query the Harvard HITRAN database in real-time, computing the Voigt-broadened high-resolution cross section at typical exoplanetary conditions (T=1000K).
- Parameters:
- Returns:
wavelength (np.ndarray) – Template wavelength grid (microns).
depth (np.ndarray) – Template absorbance cross-section.
- Raises:
ValueError – If the molecule is not in the catalog.