get_pot3d_quantity_properties

get_pot3d_quantity_properties#

get_pot3d_quantity_properties(variable)[source]#

Return the ModelProps descriptor for a POT3D quantity.

Parameters:
variablePot3dQuantities

Case-insensitive POT3D quantity name. Valid values: 'br', 'bt', 'bp'.

Returns:
outModelProps

Immutable descriptor for the requested POT3D magnetic field component.

Raises:
ValueError

If variable is not a recognized POT3D quantity.

See also

get_mas_quantity_properties

Analogous lookup for MAS quantities.

get_model_prop_caller

Return the getter function for a given model type.

Examples

>>> from psi_io.models import get_pot3d_quantity_properties
>>> get_pot3d_quantity_properties('bp').name
'bp'