Plummer1D¶
-
class
astropy.modeling.physical_models.
Plummer1D
(mass=1.0, r_plum=1.0, **kwargs)[source]¶ Bases:
astropy.modeling.Fittable1DModel
One dimensional Plummer density profile model.
- Parameters
- mass
python:float
Total mass of cluster.
- r_plum
python:float
Scale parameter which sets the size of the cluster core.
- mass
Notes
Model formula:
\[\rho(r)=\frac{3M}{4\pi a^3}(1+\frac{r^2}{a^2})^{-5/2}\]References
Attributes Summary
This property is used to indicate what units or sets of units the evaluate method expects, and returns a dictionary mapping inputs to units (or
None
if any units are accepted).Methods Summary
evaluate
(x, mass, r_plum)Evaluate plummer density profile model.
fit_deriv
(x, mass, r_plum)Plummer1D model derivatives.
Attributes Documentation
-
input_units
¶
-
mass
= Parameter('mass', value=1.0)¶
-
param_names
= ('mass', 'r_plum')¶
-
r_plum
= Parameter('r_plum', value=1.0)¶
Methods Documentation