/// <summary> /// Constructor for XML deserialization when only the file paths are known /// </summary> /// <param name="rawHistPath"></param> /// <param name="thrHistPath"></param> public HistogramPair(FileInfo rawHistPath, FileInfo thrHistPath) { Raw = new HistogramDefinition(rawHistPath); Thr = new HistogramDefinition(thrHistPath); }
/// <summary> /// Constructor for DoD engines when both the files and data are already loaded /// </summary> /// <param name="rawHist"></param> /// <param name="rawHistPath"></param> /// <param name="thrHist"></param> /// <param name="thrHistPath"></param> public HistogramPair(Histogram rawHist, FileInfo rawHistPath, Histogram thrHist, FileInfo thrHistPath) { Raw = new HistogramDefinition(rawHistPath, rawHist); Thr = new HistogramDefinition(thrHistPath, thrHist); }