MultiFilterASTs

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

Bases: NoiseModel

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

astfile

file containing the ASTs

Type:

str

filters

sequence of filter names

Type:

sequence(str)

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 – if set, display a progress bar

Return type:

bool, optional

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)

Return type:

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