Dspike
Overview
This function uses list_ac9 which has the most current list of lcd files and despikes the wavelength channels. The function operates on the latest data matrix which is the .zcor matrix. It then puts a d-(channel) row under the sampled_parameters header. This function also uses the cast id matrix inside the lcd file and the function index1 to split the cast matrix and lcd files into up and downcasts. The input of this function is the pb### folder name.
The list_ac9 file now contains files names dzyymmdd(abcdefgx).lcd.(1 or 2) and the data matrix now starts with the filter name 'desp1' or 'desp2' depending on downcast or upcast respectively