Base file loader

class rapoc.loaders.loader.FileLoader(filename)[source]

Base file loaders class.

Parameters

filename (str) – data file name

read_content()[source]

Reads the file content and returns the needed valued for the opacity models.

Returns

  • str – molecule name

  • astropy.units.Quantity – molecular mass

  • astropy.units.Quantity – data pressure grid in si units

  • astropy.units.Quantity – data temperature grid in si units

  • astropy.units.Quantity – data wavenumber grid

  • astropy.units.Quantity – data opacities grid in si units