maxdm=[(0.07,1.0,0.1),(1.0,300.0,1.0)],# list of tuples
maxdm=((0.07,1.0,0.1),(1.0,300.0,1.0)),# tuple of tuples
fsample=1.0,
fsample=1.0,
factor=1.0,
factor=1.0,
showtable=False):
showtable=False):
...
@@ -128,7 +131,7 @@ def const_dt(self,
...
@@ -128,7 +131,7 @@ def const_dt(self,
logspacing: whether to use log-spaced time, in which case dt is actually d(log10(t))
logspacing: whether to use log-spaced time, in which case dt is actually d(log10(t))
tmin: the minimum time to consider (Myr, default 3.0 Myr)
tmin: the minimum time to consider (Myr, default 3.0 Myr)
tmax: the maximum time to consider (Myr, default None which means we use the grid option 'max_evolution_time')
tmax: the maximum time to consider (Myr, default None which means we use the grid option 'max_evolution_time')
mindm: a list of tuples containing a mass range and minimum mass spacing in that range. The default is [(0.07,1.0,0.1),(1.0,300.0,1.0)] allocated a minimum dm of 0.1Msun in the mass range 0.07 to 1.0 Msun and 1.0Msun in the range 1.0 to 300.0 Msun. Anything you set overrides this.
mindm: a tuple of tuples containing a mass range and minimum mass spacing in that range. The default is ((0.07,1.0,0.1),(1.0,300.0,1.0)) allocated a minimum dm of 0.1Msun in the mass range 0.07 to 1.0 Msun and 1.0Msun in the range 1.0 to 300.0 Msun. Anything you set overrides this.
maxdm: a list of tuples similar to mindm but specifying a maximum mass spacing. (None)
maxdm: a list of tuples similar to mindm but specifying a maximum mass spacing. (None)
fsample: a global sampling (Shannon-like) factor (<1) to improve resolution (default 1.0, set to smaller to improve resolution)
fsample: a global sampling (Shannon-like) factor (<1) to improve resolution (default 1.0, set to smaller to improve resolution)
factor: all masses generated are multiplied by this after generation
factor: all masses generated are multiplied by this after generation
...
@@ -145,7 +148,7 @@ def const_dt(self,
...
@@ -145,7 +148,7 @@ def const_dt(self,
# logarithmic spacing in time, generally suitable for Galactic
# logarithmic spacing in time, generally suitable for Galactic