simpeg.utils.validate_float#
- simpeg.utils.validate_float(property_name, var, min_val=-inf, max_val=inf, inclusive_min=True, inclusive_max=True)[source]#
Validate float property
- Parameters:
- Returns:
float
Returns the input variable as a float once validated
Notes
The input is first attempted ot be cast to a float.
Galleries and Tutorials using simpeg.utils.validate_float
#
Straight Ray with Volume Data Misfit Term
Straight Ray with Volume Data Misfit Term