get_mas_quantity_properties#
- get_mas_quantity_properties(variable)[source]#
Return the
Propsdescriptor for a MAS quantity.- Parameters:
- variable
MasQuantities Case-insensitive MAS quantity name. Valid values:
'br','bt','bp','vr','vt','vp','jr','jt','jp','t','te','tp','rho','p','ep','em','zp','zm','heat'.
- variable
- Returns:
- out
Props Immutable metadata descriptor for the requested MAS quantity.
- out
- Raises:
ValueErrorIf variable is not a recognized MAS quantity.
Examples
>>> from psi_io.mhd_io import get_mas_quantity_properties >>> props = get_mas_quantity_properties('br') >>> props.desc 'Magnetic Field (Radial Component)' >>> get_mas_quantity_properties('BR').name # case-insensitive 'br'