DoubleBetaTemperatureProfile#
- class profiles.temperature.DoubleBetaTemperatureProfile(**kwargs)[source]#
Double Beta Temperature Profile.
This model combines two β-components to describe systems with two distinct thermal structures.
\[T(r) = T_0 \left(1 + \left(\frac{r}{r_c}\right)^2\right)^{-\beta_1} + T_1 \left(1 + \left(\frac{r}{r_c}\right)^2\right)^{-\beta_2}\]Parameters
Name
Symbol
Description
T_0
\(T_0\)
Temperature of first component
T_1
\(T_1\)
Temperature of second component
r_c
\(r_c\)
Core radius (shared)
beta_1
\(\beta_1\)
Slope of first component
beta_2
\(\beta_2\)
Slope of second component
Methods
__init__
(**kwargs)Initialize a profile instance with specific parameter values.
from_dict
(data)Reconstruct a profile instance from a dictionary.
from_hdf5
(h5obj[, name])Reconstruct a profile from HDF5 attributes.
from_json
(filepath)Reconstruct a profile from a JSON file.
from_yaml
(filepath)Reconstruct a profile from a YAML file.
get_derived_profile
(profile_name, **kwargs)Access and instantiate a derived profile by name.
get_expression_latex
([substitute])Return the LaTeX representation of the profile's symbolic expression.
get_output_units
(*argu)Determine the output units of the operation given some set of input units.
Return a LaTeX table of the profile parameters.
lambdify_expression
(expression)Convert a symbolic expression into a callable function.
List all available derived profiles for this instance.
substitute_expression
(expression)Replace symbolic parameters with numerical values in an expression.
to_dict
()Serialize this profile to a minimal dictionary representation.
to_hdf5
(h5obj[, name])Store profile metadata into an HDF5 object as attributes.
to_json
(filepath, **kwargs)Serialize the profile to a JSON file.
to_yaml
(filepath, **kwargs)Serialize the profile to a YAML file.
Attributes
Get the available derived profile classes for this instance.
Get the symbolic representations of the coordinate system parameters.
The parameters of this coordinate system.
The symbols representing each of the coordinate axes in this coordinate system.
The axes names present in this coordinate system.