ObsData

class dgfit.obsdata.ObsData(obs_filename, scat_path='./')[source]

Bases: object

ObsData Class

observed data that will be used to constrain the dust model

Parameters:
ext_filename: ‘string’

filename with the observed extinction curve

avnhi_filenames: list of ‘string’

filename with the observed A(V)/N(HI) value + unc

abund_filename: ‘string’

filename with the observed atomic abundances

ir_emis_filename: ‘string’

filename with the observed infrared dust emission

dust_scat_filename: ‘string’

filename with the observed dust scattering (a, g) parameters [currently not used - hard coded for MW diffuse - need to change]

Attributes:
alnhifloat

A(lambda)/N(HI) value for extinction curve

alnhi_uncfloat

uncertainty in A(lambda)/N(HI) value for extinction curve

ext_waves‘numpy.ndarray’

wavelengths for the extinction curve

ext_alav‘numpy.ndarray’

extinction curve in A(lambda)/A(V) units

ext_alav_unc‘numpy.ndarray’

extinction curve uncertainties in A(lambda)/A(V) units

ext_alnhi‘numpy.ndarray’

extinction curve in A(lambda)/N(HI) units

ext_alnhi_unc‘numpy.ndarray’

extinction curve uncertainties in A(lambda)/N(HI) units

Methods Summary

parse_obsfile(obs_filename)

Pares the observations file and get the filenames for the different kinds of observations

Methods Documentation

parse_obsfile(obs_filename)[source]

Pares the observations file and get the filenames for the different kinds of observations