Esempio n. 1
0
 public void configHistogramOutput(XElement xhistogram)
 {
     Scientrace.TraceJournal tj   = Scientrace.TraceJournal.Instance;
     Scientrace.Histogram1d  hist = new Scientrace.Histogram1d(tj);
     hist.export = this.X.getXBool(xhistogram, "Export", hist.export);
     hist.angle_histogram_resolution   = this.X.getXDouble(xhistogram, "Resolution", hist.angle_histogram_resolution);
     hist.angle_histogram_from         = this.X.getXDouble(xhistogram, "FromAngle", hist.angle_histogram_from);
     hist.angle_histogram_to           = this.X.getXDouble(xhistogram, "ToAngle", hist.angle_histogram_to);
     hist.angle_histogram_csv_filename = this.X.getXStringByName(xhistogram, "Filename", hist.angle_histogram_csv_filename);
     tj.exportables.Add(hist);
 }
Esempio n. 2
0
 public void configHistogramOutput(XElement xhistogram)
 {
     Scientrace.TraceJournal tj = Scientrace.TraceJournal.Instance;
     Scientrace.Histogram1d hist = new Scientrace.Histogram1d(tj);
     hist.export = this.X.getXBool(xhistogram, "Export", hist.export);
     hist.angle_histogram_resolution = this.X.getXDouble(xhistogram, "Resolution", hist.angle_histogram_resolution);
     hist.angle_histogram_from = this.X.getXDouble(xhistogram, "FromAngle", hist.angle_histogram_from);
     hist.angle_histogram_to = this.X.getXDouble(xhistogram, "ToAngle", hist.angle_histogram_to);
     hist.angle_histogram_csv_filename = this.X.getXStringByName(xhistogram, "Filename", hist.angle_histogram_csv_filename);
     tj.exportables.Add(hist);
 }