how to remove a range of values from a list based of value code example
Example 1: delete all list entries in a range python
L2 = [ x for x in L1 if -1 <= x <= 1 ]
Example 2: python delete elements from list / range
del listxy[fromValue:toValue]
oder
x_y_range[:] = [value for value in x_y_range if (value < - (Parameters.sens_radius + Parameters.outer_radius)) or (value > Parameters.sens_radius + Parameters.outer_radius)]