Detects and removes cosmic ray spikes (sharp, narrow artifacts caused by cosmic radiation hitting the CCD detector) from spectral datasets. The algorithm computes the absolute derivative of each spectrum, flags channels where the derivative exceeds a user-defined or automatic threshold, expands the flagged region by a configurable number of channels, and replaces affected values with linearly interpolated data from neighbouring clean channels. The GUI provides two interactive Canvas 2D charts: a spectra chart with all individual spectra overlaid (original and corrected, with signal-by-signal browsing) and a derivative chart with pointwise max across all samples, sorted rank mode, and click-to-set threshold. Features include logarithmic threshold slider, real-time preview, zoom and pan, dark mode, progress bars, large dataset guard with subsampling, and export to MATLAB workspace. Built with the AppBase plus uihtml architecture (HTML/CSS/JS frontend, MATLAB backend).