Source code for beast.observationmodel.noisemodel.noisemodel

from astropy.table import Table
# from beast.external.eztables.table import Table

__all__ = ["NoiseModel"]


[docs]class NoiseModel(object): """ Initial class of noise models """ def __init__(self, astfile, *args, **kwargs): self.astfile = astfile self.filter_aliases = {} self.load_data()
[docs] def load_data(self): self.data = Table.read(self.astfile)
[docs] def fit(self, *args, **kwargs): raise NotImplementedError
[docs] def __call__(self, sedgrid): raise NotImplementedError