I've made the scale limits on the detectormap qa residual configurable. the plotResidual function accepts vmin and vmax arguments, which default to None, which will set the range to ±2.5 * iqr_sigma. If the limits are provided and are larger than the sigma range, that range will be marked with a dashed line and some text (see attached plots).
I've attached four plots, two for the spatial residual (dx) and two for the wavelength residual (dy_nm). For each residual type, there is a plot with the sigma range and then a plot showing the older default limits of (-0.1, 0.1) for the spatial and (-0.03, 0.03) for the wavelength.
I've also added a note for each of the 1D subplots that shows the number of data points (i.e. number of fibers and number of lines respectively) as well the number of outliers. The number of outliers is determined by ±2.5σ regardless of the limits shown on the plot.
I've made the scale limits on the detectormap qa residual configurable. the plotResidual function accepts vmin and vmax arguments, which default to None, which will set the range to ±2.5 * iqr_sigma. If the limits are provided and are larger than the sigma range, that range will be marked with a dashed line and some text (see attached plots).
I've attached four plots, two for the spatial residual (dx) and two for the wavelength residual (dy_nm). For each residual type, there is a plot with the sigma range and then a plot showing the older default limits of (-0.1, 0.1) for the spatial and (-0.03, 0.03) for the wavelength.
I've also added a note for each of the 1D subplots that shows the number of data points (i.e. number of fibers and number of lines respectively) as well the number of outliers. The number of outliers is determined by ±2.5σ regardless of the limits shown on the plot.