Currently I am trying to apply quantile clipping to seismic data using segyio to access Trace data and Numpy to perform data processing. I have written the foll