Exemplo n.º 1
0
 def __init__(self, z=0.0,
              min_log_age=6.6, max_log_age=10.13, delta_log_age=0.05,
              **kwargs):
     kwargs['isoc_val'] = "1"  # declare age grid request
     kwargs['isoc_lage0'] = min_log_age
     kwargs['isoc_lage1'] = max_log_age
     kwargs['isoc_dlage'] = delta_log_age
     kwargs['isoc_zeta0'] = z
     s = Settings.load_package_settings(**kwargs)
     super(AgeGridRequest, self).__init__(s)
Exemplo n.º 2
0
 def __init__(self, log_age=9.,
              min_z=0.0001, max_z=0.03, delta_z=0.0001,
              **kwargs):
     kwargs['isoc_val'] = "2"  # declare Z grid request
     kwargs['isoc_age0'] = 10. ** log_age
     kwargs['isoc_z0'] = min_z
     kwargs['isoc_z1'] = max_z
     kwargs['isoc_dz'] = delta_z
     s = Settings.load_package_settings(**kwargs)
     super(MetallicityGridRequest, self).__init__(s)
Exemplo n.º 3
0
def settings():
    from padova.settings import Settings
    return Settings.load_package_settings()
Exemplo n.º 4
0
 def __init__(self, z=0.0, log_age=9., **kwargs):
     kwargs['isoc_val'] = "0"  # declare single isochrone request
     kwargs['isoc_zeta'] = z
     kwargs['isoc_age'] = 10. ** log_age
     s = Settings.load_package_settings(**kwargs)
     super(IsochroneRequest, self).__init__(s)