ModelData

class measure_extinction.modeldata.ModelData(modelfiles, path='./', band_names=None, spectra_names=['BAND', 'STIS'])[source]

Bases: object

Provide stellar atmosphere model “observed” data given input stellar, gas, and dust extinction parameters.

Parameters:
modelfiles: string array

set of model files to use

pathstring, optional

path for model files

band_namesstring array, optional

bands to use default = [‘U’, ‘B’, ‘V’, ‘J’, ‘H’, ‘K’]

spectra_namesstring array, optional

origin of the spectra to use default = [‘STIS’]

Attributes:
n_modelsint

number of stellar atmosphere models

model_filesstring array

filenames for the models

tempsfloat array

log10(effective temperatures)

gravsfloat array

log10(surface gravities)

metsfloat array

log10(metallicities)

vturbsfloat array

microturbulance values [km/s]

n_bandsint

number of photometric bands

band_namesstring array

names of the photometric bands

n_spectraint

number of different types of spectra

spectra_namesstring array

identifications for the spectra data (includes band data)

wavesn_spectra dict

wavelengths for the spectra

fluxesn_spectra dict

fluxes in the bands

flux_uncsn_spectra list

flux uncertainties in the bands

Methods Summary

SED_to_StarData(sed)

Convert the model created SED into a StarData object.

Methods Documentation

SED_to_StarData(sed)[source]

Convert the model created SED into a StarData object. Needed to plug into generating an ExtData object.

Parameters:
sedobject

SED of each component