MultiFilterASTs

class beast.observationmodel.noisemodel.trunchen.MultiFilterASTs(astfile, filters, *args, **kwargs)[source]

Bases: beast.observationmodel.noisemodel.noisemodel.NoiseModel

Implement a noise model where the ASTs are provided as a single table

Attributes

astfile: str file containing the ASTs
filters: sequence(str) sequence of filter names

Methods Summary

__call__(sedgrid[, …]) Interpolate the results of the ASTs on the model grid
process_asts(filters) Process all the AST results creating average biases and covariance matrices for each model SED.
setFilters(filters) set the filters and update the vega reference for the conversions

Methods Documentation

__call__(sedgrid, generic_absflux_a_matrix=None, progress=True)[source]

Interpolate the results of the ASTs on the model grid

Parameters:

sedgrid: beast.core.grid type

model grid to interpolate AST results on

Returns:

progress: bool, optional

if set, display a progress bar

process_asts(filters)[source]

Process all the AST results creating average biases and covariance matrices for each model SED. Also, prep for the interpolation by setting up the kd-tree

Parameters:filters : filter names for the AST data
Returns:N/A.
setFilters(filters)[source]

set the filters and update the vega reference for the conversions

Parameters:

filters: sequence

list of filters using the internally normalized namings