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

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

Attributes Summary

grid

header

lamb

nbytes

The number of bytes of the object

seds

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

copy()[source]

returns a copy of the object

keys()[source]

The grid column names