MemoryBackend¶
- class beast.physicsmodel.helpers.gridbackends.MemoryBackend(lamb, seds=None, grid=None, cov_diag=None, cov_offdiag=None, header={}, aliases={})[source]¶
Bases:
GridBackendInstanciate 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:
lamb (ndarray or str or GridBackend subclass) – if ndarray - 1D
floatwavelength of the SEDs (requires seds and grid arguments) if str - filename of grid on disk if backend - ref to the given gridseds (ndarray, optional) – 2D
floatarray of sedsgrid (astropy.Table, optional) – table of properties associated to each sed
cov_diag (ndarray, optional) – 2D
floatarray (# models, # filters) of the diagonal elements of the absolute flux covariance matrixcov_offdiag (ndarray, optional) – 2D
floatarray (# models, # elements) of the off diagonal elements of the absolute flux covariance matrixheader (dict, optional) – if provided, update the grid table header
aliases (dict, optional) – if provided, update the grid table aliases
Attributes Summary
filters()Methods Summary
copy()implement a copy method
Attributes Documentation
- filters¶
Methods Documentation