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