def __init__(self, name): Logger.__init__(self, name) Fittable.__init__(self) self._name = name self._total_contribution = None self._enabled = True self.sigma_xsec = None
def __init__(self, name, nlayers): Fittable.__init__(self) Logger.__init__(self, name) if nlayers <= 0: self.error('Number of layers: [%s] should be greater than 0', nlayers) raise ValueError('Number of layers should be at least 1') self._nlayers = int(nlayers)
def __init__(self, name): Logger.__init__(self, name) Fittable.__init__(self) self.opacity_dict = {} self.cia_dict = {} self._native_grid = None self._fitting_parameters = {} self.contribution_list = []
def __init__(self, temperature=5000, radius=1.0, distance=1, magnitudeK=10.0, mass=1.0, metallicity=1.0): Logger.__init__(self, self.__class__.__name__) Fittable.__init__(self) self._temperature = temperature self._radius = radius*RSOL self._mass = mass*MSOL self.debug('Star mass %s', self._mass) self.sed = None self.distance = distance self.magnitudeK = magnitudeK self._metallicity = metallicity
def __init__(self, name): Logger.__init__(self, name) Fittable.__init__(self) self.mu_profile = None if GlobalCache()['opacity_method'] == 'ktables': self._avail_active = KTableCache().find_list_of_molecules() else: self._avail_active = OpacityCache().find_list_of_molecules() #self._avail_active = OpacityCache().find_list_of_molecules() deactive_list = GlobalCache()['deactive_molecules'] if deactive_list is not None: self._avail_active = [k for k in self._avail_active if k not in deactive_list]
def __init__(self, name, molecule_name): Logger.__init__(self, name) Fittable.__init__(self) self._molecule_name = molecule_name self.mix_profile = None
def __init__(self, name): Logger.__init__(self, name) Fittable.__init__(self)
def __init__(self, name): Logger.__init__(self, name) Fittable.__init__(self) self.mu_profile = None self._avail_active = OpacityCache().find_list_of_molecules()
def __init__(self, name, nlayers): Fittable.__init__(self) Logger.__init__(self, name) self._nlayers = int(nlayers)