INNER CODE UNIT · Python
ErrorModel
HadrienG/InSilicoSeq · iss/error_models/__init__.py:15
class ErrorModel(object):
"""Main ErrorModel Class
This class is used to create inheriting classes and contains all
the functions that are shared by all ErrorModel classes
"""
@property
def logger(self):
component = "{}.{}".format(type(self).__module__, type(self).__name__)
return logging.getLogger(component)
def load_npz(self, npz_path, model):
"""load the error profile .npz file
Args:
npz_path (string): path to the npz file
model (string): type of model. Could be 'cdf' or 'kde'. 'cdf' has