By running SingleGrainPop(..., custom=True) one can use SizeDist, Composition, and ScatModel objects as input.
If the scatm argument is a string, the SingleGrainPop object will be instantiated with the corresponding ScatModel set forth in newdust.grainpop.SCATMODELS. However, the user must provide a valid Sizedist and Composition object when custom=True. These arguments are used to construct the underlying GrainDist object. (SingleGrainPop is a sub-class of GrainDist)
By running
SingleGrainPop(..., custom=True)
one can use SizeDist, Composition, and ScatModel objects as input.If the
scatm
argument is a string, the SingleGrainPop object will be instantiated with the corresponding ScatModel set forth innewdust.grainpop.SCATMODELS
. However, the user must provide a valid Sizedist and Composition object whencustom=True
. These arguments are used to construct the underlying GrainDist object. (SingleGrainPop is a sub-class of GrainDist)