profiles.density.BetaModelDensityProfile.get_expression_latex#
- BetaModelDensityProfile.get_expression_latex(substitute: bool = True) str #
Return the LaTeX representation of the profile’s symbolic expression.
- Parameters:
substitute (
bool
, defaultTrue
) – If True, substitute parameter values into the expression and append units. If False, retain symbolic parameter placeholders and omit units.- Returns:
The LaTeX-formatted string of the profile expression.
- Return type:
Notes
Uses
__VARIABLES_LATEX__
and__PARAMETERS_LATEX__
for display-friendly names.Substitution inserts numerical parameter values if available.
When substituting, the units are shown as a multiplicative LaTeX term at the end.