def __init__(self, **kwargs): IGMSurvey.__init__(self, 'DLA', **kwargs) # define the cosmology (for H0) try: _ = self.cosmo except ValueError: self.cosmo = acc.FlatLambdaCDM(70., 0.3)
def test_init_igmsurvey(): igmsurvey = IGMSurvey('DLA') assert igmsurvey.nsys == 0
def __init__(self, **kwargs): IGMSurvey.__init__(self, 'LLS', **kwargs)
def __init__(self, **kwargs): IGMSurvey.__init__(self, 'DLA', **kwargs)