ModelGrid¶
- class beast.physicsmodel.grid.ModelGrid(*args, **kwargs)[source]¶
Bases:
object
Generic class
- 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- grid
Table
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
- lambndarray or str or
Attributes Summary
The number of bytes of the object
Methods Summary
copy
()returns a copy of the object
keys
()The grid column names
Attributes Documentation
- grid¶
- header¶
- lamb¶
- nbytes¶
The number of bytes of the object
- seds¶
Methods Documentation