public IDDCollarCal() { InitializeComponent(); MessageBox.Show("This functionality is not complete yet.", "RESULTS UNKNOWN AT THIS TIME"); mp = new MethodParamFormFields(AnalysisMethod.Collar); Integ.GetCurrentAcquireDetectorPair(ref mp.acq, ref mp.det); this.Text += " for " + mp.det.Id.DetectorName; //mp.RefreshMatTypeComboBox(MaterialTypeComboBox); mp.SelectMaterialType(mp.acq.item_type); if (mp.HasMethod) { mp.imd = new INCCAnalysisParams.collar_rec((INCCAnalysisParams.collar_rec)mp.ams.GetMethodParameters(mp.am)); } else { mp.imd = new INCCAnalysisParams.collar_rec(); // not mapped, so make a new one mp.imd.modified = true; } col = (INCCAnalysisParams.collar_rec)mp.imd; mp.cev = col.cev; mp.RefreshCurveEqComboBox(CurveTypeComboBox); CalibrationFieldFiller(col.cev); }
public IDDActivePassiveCal() { InitializeComponent(); mp = new MethodParamFormFields(AnalysisMethod.ActivePassive); Integ.GetCurrentAcquireDetectorPair(ref mp.acq, ref mp.det); this.Text += " for " + mp.det.Id.DetectorName; mp.RefreshMatTypeComboBox(MaterialTypeComboBox); mp.RefreshCurveEqComboBox(CurveTypeComboBox); CalibrationFieldFiller(actpass.cev); }
public IDDActiveCal() { InitializeComponent(); mp = new MethodParamFormFields(AnalysisMethod.Active); Integ.GetCurrentAcquireDetectorPair(ref mp.acq, ref mp.det); this.Text += " for " + mp.det.Id.DetectorName; mp.RefreshMatTypeComboBox(MaterialTypeComboBox); mp.RefreshCurveEqComboBox(CurveTypeComboBox); CalibrationFieldFiller(active.cev); }
public IDDAddASourceCal() { InitializeComponent(); mp = new MethodParamFormFields(AnalysisMethod.AddASource); Integ.GetCurrentAcquireDetectorPair(ref mp.acq, ref mp.det); this.Text += " for " + mp.det.Id.DetectorName; this.MaterialTypeComboBox.Items.Clear(); foreach (INCCDB.Descriptor desc in NC.App.DB.Materials.GetList()) { MaterialTypeComboBox.Items.Add(desc.Name); } MaterialTypeComboBox.SelectedItem = mp.acq.item_type; mp.RefreshCurveEqComboBox(CurveTypeComboBox); }
public IDDKnownAlphaCal() { InitializeComponent(); mp = new MethodParamFormFields(AnalysisMethod.KnownA); Integ.GetCurrentAcquireDetectorPair(ref mp.acq, ref mp.det); this.Text += " for " + mp.det.Id.DetectorName; mp.RefreshMatTypeComboBox(MaterialTypeComboBox); mp.RefreshCurveEqComboBox(CurveTypeComboBox, known_alpha.ring_ratio); SetNumberFormats(); FieldFiller(known_alpha.cev); FieldFiller(); }
public IDDCollarCal(INCCAnalysisParams.collar_combined_rec c, bool mod) { InitializeComponent(); mp = new MethodParamFormFields(AnalysisMethod.CollarAmLi); modified = mod; Integ.GetCurrentAcquireDetectorPair(ref mp.acq, ref mp.det); this.Text += " for " + mp.det.Id.DetectorName; col = c; mp.cev = col.collar.cev; mp.RefreshCurveEqComboBox(CurveTypeComboBox); CalibrationFieldFiller(col.collar.cev); SetHelp(); this.TopMost = true; }
public IDDCuriumRatioCalibration() { InitializeComponent(); mp = new MethodParamFormFields(AnalysisMethod.CuriumRatio); Integ.GetCurrentAcquireDetectorPair(ref mp.acq, ref mp.det); this.Text += " for " + mp.det.Id.DetectorName; this.MaterialTypeComboBox.Items.Clear(); foreach (INCCDB.Descriptor desc in NC.App.DB.Materials.GetList()) { MaterialTypeComboBox.Items.Add(desc.Name); } MaterialTypeComboBox.SelectedItem = mp.acq.item_type; mp.RefreshMatTypeComboBox(MaterialTypeComboBox); mp.RefreshCurveEqComboBox(CurveTypeComboBox); FieldFiller(cm_ratio.cev); FieldFiller(); }