ladybug_display.typing module¶
Collection of methods for type input checking.
- ladybug_display.typing.float_in_range(value, mi=-inf, ma=inf, input_name='')[source]¶
Check a float value to be between minimum and maximum.
- ladybug_display.typing.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.
- ladybug_display.typing.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.
- ladybug_display.typing.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.
- ladybug_display.typing.float_positive(value, input_name='')[source]¶
Check a float value to be positive.
- ladybug_display.typing.int_in_range(value, mi=-inf, ma=inf, input_name='')[source]¶
Check an integer value to be between minimum and maximum.
- ladybug_display.typing.int_positive(value, input_name='')[source]¶
Check if an integer value is positive.
- ladybug_display.typing.list_with_length(value, length=3, item_type=<class 'float'>, input_name='')[source]¶
Try to create a list with a certain value.