ExoMol file loader

class rapoc.loaders.ExoMolFileLoader(filename)[source]

File loader for ExoMol file. It works for opacities file in the TauREx.h5 format. These file can be downloaded from ExoMol website.


This class is implicitly called by the model when initialised if the matched input is used.


Let’s build the Rosseland method using an Exomol file as input

>>> from rapoc import Rosseland
>>> exomolFile = 'example.TauREx.h5'
>>> model = Rosseland(input_data=exomolFile)

Now the model is ready to be used


filename (str) – data file name