remove_x#

DataXY.remove_x(xmin, xmax, squeeze=True, ysetval=0.0)[source]#

Remove data within [xmin, xmax).

Parameters:
xmin, xmaxfloat

Minimum (inclusive) and maximum (exclusive) x values where data is removed.

squeezebool, default True

If true, remove data outside of gate. Otherwise, keep data but set y values to ysetvat.

ysetvalfloat, default 0.0

See squeeze.

Only applies if squeeze is False.