Наследование: DoubleRange
Пример #1
0
 public static void CleanPrecursor(List<IRange<double>> rangesToRemove, double precursorMZ, double lowWindow = LOW_PRECURSOR_CLEANING_WINDOW_MZ, double highWidnow = HIGH_PRECURSOR_CLEANING_WINDOW_MZ)
 {
     double lowMZ = precursorMZ - lowWindow;
     double highMZ = precursorMZ + highWidnow;
     MzRange range = new MzRange(lowMZ, highMZ);
     rangesToRemove.Add(new MzRange(lowMZ, highMZ));
 }
Пример #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     double lowMZ = (double)numericUpDown5.Value;
     double highMZ = (double)numericUpDown6.Value;
     MzRange range = new MzRange(lowMZ, highMZ);
     listBox1.Items.Add(range);
 }