simpeg.utils.validate_location_property#
- simpeg.utils.validate_location_property(property_name, var, dim=None)[source]#
Validate a location
- Parameters:
- property_name
str
The name of the property being set
- vararray_like
The input variable
- dim
int
,optional
The dimension; i.e. 1, 2 or 3
- property_name
- Returns:
numpy.ndarray
Returns the location once validated