postgkyl.diagnostics.mom.mhd.temp¶
- postgkyl.diagnostics.mom.mhd.temp(data, *, gas_gamma=1.6666666666666667, mu_0=1.0, inplace=False, tag=None, label=None)¶
Temperature
T = p / rho.- Parameters:
data – MHD conserved variables; must contain point values.
gas_gamma – Adiabatic index.
mu_0 – Vacuum permeability used to compute the pressure.
inplace – Mutate and return
datainstead of a new dataset.tag – Optional tag for the returned dataset.
label – Optional label for the returned dataset.
- Returns:
A single-component dataset of the temperature.
- Raises:
ValueError – if
datais modal DG coefficients.