// // PURPOSE: Trigger the first two on minimum fluorescence threshold and outlier // rejection only. Trigger the rest using the peak detection algorithm. // // AUTHORS: 1) Yanwu and Rob; 2 October 2009 // // Omitting a threshold shuts it off. // // For outlier rejection, there must be ngood samples (that pass the // threshold tests) out of the last nsamples to trigger a gulp. // flag_PTL_INL = 0; // 0 = Phytoplankton Thin Layer (PTL); 1 = Intermediate Nepheloid Layer (INL) flag_ClosenessOfTwoCrossings = 0; // Whether requiring closeness of the 1st and 2nd crossings. 0 = No; 1 = Yes. flag_PeaksAtSurface = 1; // Whether peaks are likely to be at sea surface. 0 = No; 1 = Yes. ratio_pktrigs_ctrltrigs = 2; // One control-triggering after every 3rd peak-triggering. len_window_full = 8; //timewindow_peakbaseline = 3600.0; // Seconds timewindow_peakbaseline = 1200.0; // Seconds alpha_fl = 1.5; alpha_bb = 1.2; beta_fl = 0.6; beta_bb = 0.6; delta_dep = 0.5; // Meters delta_fl_bb_rise = 1.0e-4; // Raw fl676, or bb470, or bb676 measurement delta_fl_bb_drop = 1.0e-5; // Raw fl676, or bb470, or bb676 measurement peakDetection0 = 1; mindepth0 = 1.5; // Meters timelockout0 = 2700.0; // Seconds peakDetection1 = 1; mindepth1 = 1.5; // Meters timelockout1 = 2700.0; // Seconds peakDetection2 = 1; mindepth2 = 1.5; // Meters timelockout2 = 2700.0; // Seconds peakDetection3 = 1; mindepth3 = 1.5; // Meters timelockout3 = 2700.0; // Seconds peakDetection4 = 1; mindepth4 = 1.5; // Meters timelockout4 = 2700.0; // Seconds peakDetection5 = 1; mindepth5 = 2.0; // Meters timelockout5 = 2700.0; // Seconds peakDetection6 = 1; mindepth6 = 2.0; // Meters timelockout6 = 2700.0; // Seconds peakDetection7 = 1; mindepth7 = 2.0; // Meters timelockout7 = 2700.0; // Seconds peakDetection8 = 1; mindepth8 = 2.0; // Meters timelockout8 = 2700.0; // Seconds peakDetection9 = 1; mindepth9 = 2.0; // Meters timelockout9 = 2700.0; // Seconds