FL.helpers.interpolation.remove_axis_from_list
- FL.helpers.interpolation.remove_axis_from_list(seq: list[int], interpolation: float) None
Adjust the length of a list in place by halving it (= removing an MM axis). The interpolation factor will be used to interpolate the remaining values.
- Parameters:
- Raises:
ValueError – If the list has an odd number of elements.