cluster_collections.ProtoCluster.load#
- ProtoCluster.load(rmin, rmax, additional_args=None, **kwargs)[source]#
Loads a
model.ClusterModel
instance from thiscluster_collections.ProtoCluster
instance.- Parameters:
rmin (
float
) – The minimum radius of the generation regime. (kpc)rmax (
float
) – The maximum radius of the generation regime. (kpc)additional_args (
dict
, optional) – Theadditional_args
argument allows the user to pass additional arguments into the initialization function. Generally, there should be no reason to specify this unless some alteration has been made to the underlying source code.kwargs (
dict
, optional) –Additional key-word arguments to pass along to the initialization function.
Note
If
kwargs
contains astellar_density
key and corresponding profile, it will be overridden if the underlyingcluster_collections.ProtoCluster
instance also has a stellar density profile.