Observations¶
- class beast.observationmodel.observations.Observations(inputFile, filters, obs_colnames=None, vega_fname=None, desc=None)[source]¶
Bases:
objectA generic class that interfaces observation catalog in a standardized way
- Parameters:
Attributes Summary
Methods Summary
__call__()Calling the object will show info
enumobs()getFlux(num[, units])Flux of an observation computed from normalized vega fluxes
getFluxerr(num)returns the error on the flux of an observation from the number of counts (not used in the analysis)
getObs([num])returns the flux
info()Prints some information about the catalog
iterobs()yield getObs
keys()Returns dataset content names
readData()read the dataset from the original source file
setBadValue(val)setDescription(txt)setFilters(filters)setVegaFluxes(filters[, vega_fname])Set vega reference fluxes for conversions
Attributes Documentation
- nObs¶
Methods Documentation