pisces.physics.conversions#

Conversion functions for physical quantities.

These functions provide conversions between different physical quantities such as mean molecular weights, which are commonly used in astrophysical calculations.

Functions

compute_mean_molecular_weight(hydrogen_fraction)

Compute the mean molecular weight assuming all non-hydrogen species are Helium.

compute_mean_molecular_weight_per_electron(...)

Compute the mean molecular weight (\(\mu\)) per free electron for a given primordial Hydrogen fraction.