parameters: (self)
return_statement: return xml
docstring: Create XML from the current data.
docstring_summary: Create XML from the current data.
docstring_tokens: Create XML from the current data .
function: def to_xml(self):
          """
              Create XML from the current data.
          """
          xml =  "<AbsoluteUnits>\n"
          xml += "  <do_absolute_units>%s</do_absolute_units>\n" % self.do_absolute_units
          xml += "  <absunits_vanadium>%s</absunits_vanadium>\n" % self.absunits_vanadium
          xml += "  <grouping_file>%s</grouping_file>\n" % self.grouping_file
          xml += "  <absunits_detector_vanadium>%s</absunits_detector_vanadium>\n" % self.absunits_detector_vanadium
          xml += "  <incident_energy>%s</incident_energy>\n" % self.incident_energy
          xml += "  <minimum_energy>%s</minimum_energy>\n" % str(self.emin)
          xml += "  <maximum_energy>%s</maximum_energy>\n" % str(self.emax)
          xml += "  <vanadium_mass>%s</vanadium_mass>\n" % str(self.vanadium_mass)
          xml += "  <sample_mass>%s</sample_mass>\n" % str(self.sample_mass)
          xml += "  <sample_rmm>%s</sample_rmm>\n" % str(self.sample_rmm)
          xml += "  <median_test_outlier_low>%s</median_test_outlier_low>\n" % str(self.absunits_median_test_out_low)
          xml += "  <median_test_outlier_high>%s</median_test_outlier_high>\n" % str(self.absunits_median_test_out_high)
          xml += "  <median_test_low>%s</median_test_low>\n" % str(self.absunits_median_test_low)
          xml += "  <median_test_high>%s</median_test_high>\n" % str(self.absunits_median_test_high)
          xml += "  <errorbar_criterion>%s</errorbar_criterion>\n" % str(self.absunits_errorbar_criterion)
          xml += "</AbsoluteUnits>\n"
          return xml
function_tokens: def to_xml ( self ) : xml = "<AbsoluteUnits>\n" xml += "  <do_absolute_units>%s</do_absolute_units>\n" % self . do_absolute_units xml += "  <absunits_vanadium>%s</absunits_vanadium>\n" % self . absunits_vanadium xml += "  <grouping_file>%s</grouping_file>\n" % self . grouping_file xml += "  <absunits_detector_vanadium>%s</absunits_detector_vanadium>\n" % self . absunits_detector_vanadium xml += "  <incident_energy>%s</incident_energy>\n" % self . incident_energy xml += "  <minimum_energy>%s</minimum_energy>\n" % str ( self . emin ) xml += "  <maximum_energy>%s</maximum_energy>\n" % str ( self . emax ) xml += "  <vanadium_mass>%s</vanadium_mass>\n" % str ( self . vanadium_mass ) xml += "  <sample_mass>%s</sample_mass>\n" % str ( self . sample_mass ) xml += "  <sample_rmm>%s</sample_rmm>\n" % str ( self . sample_rmm ) xml += "  <median_test_outlier_low>%s</median_test_outlier_low>\n" % str ( self . absunits_median_test_out_low ) xml += "  <median_test_outlier_high>%s</median_test_outlier_high>\n" % str ( self . absunits_median_test_out_high ) xml += "  <median_test_low>%s</median_test_low>\n" % str ( self . absunits_median_test_low ) xml += "  <median_test_high>%s</median_test_high>\n" % str ( self . absunits_median_test_high ) xml += "  <errorbar_criterion>%s</errorbar_criterion>\n" % str ( self . absunits_errorbar_criterion ) xml += "</AbsoluteUnits>\n" return xml