SEDGrid

class beast.physicsmodel.grid.SEDGrid(*args, **kwargs)[source]

Bases: beast.physicsmodel.grid.ModelGrid

Generate a grid that the full observational model (SEDs). Currently a direct interface to ModelGrid. Setup for later expansion.

Attributes
sedsndarray

2D float array (# models, # bands) giving the seds

lambndarray

1D float array of the wavelengths of the sed bands

filterslist

list of the filter names of the sed bands

gridTable

table with columns providing the model parameters and other characteristics of the grid

headerdict

header information

cov_diag, cov_offdiagndarray

2D ‘float’ arrays with the covariance matrices of the absolute calibration uncertainties for each model

Parameters
lambndarray or str or GridBackend subclass
  • if ndarray: wavelength of the SEDs (requires seds and grid arguments)

  • if str: filename to the grid

  • if backend: ref to the given grid

sedsndarray

2D float array of the seds

gridTable

table of properties associated to each sed

headerdict

if provided, update the grid table header

aliasesdict

if provided, update the grid table aliases

backendstr or GridBackend subclass, optional

if str corresponding backend class ‘memory’ = MemoryBackend, ‘cache’ = CacheBackend, ‘disk’ = DiskBackend