uwg.utilities module¶
Collection of useful methods.
- uwg.utilities.float_in_range(value, mi=-inf, ma=inf, input_name='')[source]¶
Check a float value to be between minimum and maximum.
- uwg.utilities.float_in_range_excl(value, mi=-inf, ma=inf, input_name='')[source]¶
Check a float value to be greater than minimum and less than maximum.
- uwg.utilities.float_in_range_excl_incl(value, mi=-inf, ma=inf, input_name='')[source]¶
Check a float value to be greater than minimum and less than/equal to maximum.
- uwg.utilities.float_in_range_incl_excl(value, mi=-inf, ma=inf, input_name='')[source]¶
Check a float value to be greater than/equal to minimum and less than maximum.
- uwg.utilities.int_in_range(value, mi=-inf, ma=inf, input_name='')[source]¶
Check an integer value to be between minimum and maximum.