SEDGrid

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

Bases: ModelGrid

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

seds

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

Type:

ndarray

lamb

1D float array of the wavelengths of the sed bands

Type:

ndarray

filters

list of the filter names of the sed bands

Type:

list

grid

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

Type:

Table

header

header information

Type:

dict

cov_diag, cov_offdiag

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

Type:

ndarray

Parameters:
  • lamb (ndarray 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

  • seds (ndarray) – 2D float array of the seds

  • grid (Table) – table of properties associated to each sed

  • header (dict) – if provided, update the grid table header

  • aliases (dict) – if provided, update the grid table aliases

  • backend (str or GridBackend subclass, optional) – if str corresponding backend class ‘memory’ = MemoryBackend, ‘cache’ = CacheBackend, ‘disk’ = DiskBackend