MemoryBackend¶
- class beast.physicsmodel.helpers.gridbackends.MemoryBackend(lamb, seds=None, grid=None, cov_diag=None, cov_offdiag=None, header={}, aliases={})[source]¶
Bases:
GridBackend
Instanciate a grid object that has no physical storage
Helps to create new grids on the fly. Because it derives from ModelGrid, this can be exported on disk too.
- Parameters:
- lambndarray or str or GridBackend subclass
if ndarray - 1D
float
wavelength of the SEDs (requires seds and grid arguments) if str - filename of grid on disk if backend - ref to the given grid- sedsndarray, optional
2D
float
array of seds- gridastropy.Table, optional
table of properties associated to each sed
- cov_diagndarray, optional
2D
float
array (# models, # filters) of the diagonal elements of the absolute flux covariance matrix- cov_offdiagndarray, optional
2D
float
array (# models, # elements) of the off diagonal elements of the absolute flux covariance matrix- headerdict, optional
if provided, update the grid table header
- aliasesdict, optional
if provided, update the grid table aliases
Attributes Summary
Methods Summary
copy
()implement a copy method
Attributes Documentation
- filters¶
Methods Documentation