mooflow.params.check_boundary_len

mooflow.params.check_boundary_len(boundary, pattern_a)

check the length of a boundary list against an pattern.

Parameters
boundary: float or Iterable

the upper or lower boundary

pattern_aExtr_pattern object

The extraction pattern

Returns
boundarylist

the upper or lower boundary. If an Int was provided, return a list with the appropiate length