Changes in / [2df1bd1:54557b5] in sasview
- Files:
-
- 2 deleted
- 66 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
raaad4c95 r51f1c347 10 10 # Feel free to add more stuff to this as and when it becomes an issue. 11 11 12 .DS_Store13 12 .project 14 13 .pydevproject … … 58 57 /test/sasdataloader/test/isis_1_1_write_test.xml 59 58 /test/sasdataloader/test/write_test.xml 60 test*log61 59 62 60 # autogenerated scripts 63 61 /sasview/installer.iss 64 65 # Editor files66 .vscode/67 -
run.py
r64ca561 r05a9d29 17 17 import sys 18 18 import imp 19 import logging20 import logging.config21 22 19 from contextlib import contextmanager 23 20 from os.path import abspath, dirname, join as joinpath 24 21 22 class TeeStream: 23 def __init__(self, filename): 24 self.logfile = open(filename, 'a') 25 self.console = sys.stderr 26 def write(self, buf): 27 self.logfile.write(buf) 28 self.console.write(buf) 25 29 26 LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'sasview/logging.ini') 27 logging.config.fileConfig(LOGGER_CONFIG_FILE, disable_existing_loggers=True) 28 logger = logging.getLogger(__name__) 30 def tee_logging(): 31 import logging 32 stream = TeeStream(os.path.join(os.path.expanduser("~"), 'sasview.log')) 33 logging.basicConfig(level=logging.INFO, 34 format='%(asctime)s %(levelname)s %(message)s', 35 stream=stream) 29 36 30 def update_all_logs_to_debug(logger):31 '''32 This updates all loggers and respective handlers to DEBUG33 '''34 for handler in logger.handlers or logger.parent.handlers:35 handler.setLevel(logging.DEBUG)36 for name,_ in logging.Logger.manager.loggerDict.items():37 logging.getLogger(name).setLevel(logging.DEBUG)38 39 37 def addpath(path): 40 38 """ … … 154 152 155 153 if __name__ == "__main__": 156 update_all_logs_to_debug(logger)157 154 prepare() 155 tee_logging() 158 156 from sas.sasview.sasview import run 159 157 run() 160 -
sasview/__init__.py
r463e7ffc r220b1e7 1 1 __version__ = "4.1" 2 2 __build__ = "GIT_COMMIT" 3 4 import logging5 logger = logging.getLogger(__name__)6 7 3 try: 4 import logging 8 5 import subprocess 9 6 import os … … 19 16 __build__ = str(git_revision).strip() 20 17 except subprocess.CalledProcessError as cpe: 21 logg er.warning("Error while determining build number\n Using command:\n %s \n Output:\n %s"% (cpe.cmd,cpe.output))18 logging.warning("Error while determining build number\n Using command:\n %s \n Output:\n %s"% (cpe.cmd,cpe.output)) -
sasview/local_config.py
r463e7ffc r1779e72 7 7 import sas.sasview 8 8 import logging 9 10 logger = logging.getLogger(__name__)11 9 12 10 # Version of the application … … 59 57 60 58 icon_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "images")) 61 logg er.info("icon path: %s" % icon_path)59 logging.info("icon path: %s" % icon_path) 62 60 media_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "media")) 63 61 test_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "test")) -
sasview/sasview.py
r3608cd1 rcde6e52 14 14 import sys 15 15 import logging 16 import logging.config17 16 import traceback 18 17 19 logger = logging.getLogger(__name__) 20 if not logger.root.handlers: 21 LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'logging.ini') 22 logging.config.fileConfig(LOGGER_CONFIG_FILE, disable_existing_loggers=False) 23 logging.captureWarnings(True) 18 logging.basicConfig(level=logging.INFO, 19 format='%(asctime)s %(levelname)s %(message)s', 20 filename=os.path.join(os.path.expanduser("~"), 21 'sasview.log')) 22 logging.captureWarnings(True) 23 24 class StreamToLogger(object): 25 """ 26 File-like stream object that redirects writes to a logger instance. 27 """ 28 def __init__(self, logger, log_level=logging.INFO): 29 self.logger = logger 30 self.log_level = log_level 31 self.linebuf = '' 32 33 def write(self, buf): 34 """ 35 Main logging method 36 """ 37 # Write the message to stdout so we can see it when running interactively 38 sys.stdout.write(buf) 39 for line in buf.rstrip().splitlines(): 40 self.logger.log(self.log_level, line.rstrip()) 41 42 stderr_logger = logging.getLogger('STDERR') 43 sl = StreamToLogger(stderr_logger, logging.ERROR) 44 sys.stderr = sl 24 45 25 46 # Log the start of the session 26 logger.info(" --- SasView session started ---") 47 logging.info(" --- SasView session started ---") 48 27 49 # Log the python version 28 logg er.info("Python: %s" % sys.version)50 logging.info("Python: %s" % sys.version) 29 51 30 52 # Allow the dynamic selection of wxPython via an environment variable, when devs … … 35 57 WX_ENV_VAR = "SASVIEW_WX_VERSION" 36 58 if WX_ENV_VAR in os.environ: 37 logg er.info("You have set the %s environment variable to %s." % \59 logging.info("You have set the %s environment variable to %s." % \ 38 60 (WX_ENV_VAR, os.environ[WX_ENV_VAR])) 39 61 import wxversion 40 62 if wxversion.checkInstalled(os.environ[WX_ENV_VAR]): 41 logg er.info("Version %s of wxPython is installed, so using that version." % os.environ[WX_ENV_VAR])63 logging.info("Version %s of wxPython is installed, so using that version." % os.environ[WX_ENV_VAR]) 42 64 wxversion.select(os.environ[WX_ENV_VAR]) 43 65 else: 44 logg er.error("Version %s of wxPython is not installed, so using default version." % os.environ[WX_ENV_VAR])66 logging.error("Version %s of wxPython is not installed, so using default version." % os.environ[WX_ENV_VAR]) 45 67 else: 46 logg er.info("You have not set the %s environment variable, so using default version of wxPython." % WX_ENV_VAR)68 logging.info("You have not set the %s environment variable, so using default version of wxPython." % WX_ENV_VAR) 47 69 48 70 import wx 49 71 50 72 try: 51 logg er.info("Wx version: %s" % wx.__version__)73 logging.info("Wx version: %s" % wx.__version__) 52 74 except: 53 logg er.error("Wx version: error reading version")75 logging.error("Wx version: error reading version") 54 76 55 77 import wxcruft … … 104 126 self.gui.add_perspective(fitting_plug) 105 127 except Exception: 106 logg er.error("%s: could not find Fitting plug-in module"% APP_NAME)107 logg er.error(traceback.format_exc())128 logging.error("%s: could not find Fitting plug-in module"% APP_NAME) 129 logging.error(traceback.format_exc()) 108 130 109 131 # P(r) perspective … … 113 135 self.gui.add_perspective(pr_plug) 114 136 except: 115 logg er.error("%s: could not find P(r) plug-in module"% APP_NAME)116 logg er.error(traceback.format_exc())137 logging.error("%s: could not find P(r) plug-in module"% APP_NAME) 138 logging.error(traceback.format_exc()) 117 139 118 140 #Invariant perspective … … 122 144 self.gui.add_perspective(invariant_plug) 123 145 except Exception as e : 124 logg er.error("%s: could not find Invariant plug-in module"% \146 logging.error("%s: could not find Invariant plug-in module"% \ 125 147 APP_NAME) 126 logg er.error(traceback.format_exc())148 logging.error(traceback.format_exc()) 127 149 128 150 # Corfunc perspective … … 132 154 self.gui.add_perspective(corfunc_plug) 133 155 except: 134 logg er.error("Unable to load corfunc module")156 logging.error("Unable to load corfunc module") 135 157 136 158 #Calculator perspective … … 140 162 self.gui.add_perspective(calculator_plug) 141 163 except: 142 logg er.error("%s: could not find Calculator plug-in module"% \164 logging.error("%s: could not find Calculator plug-in module"% \ 143 165 APP_NAME) 144 logg er.error(traceback.format_exc())166 logging.error(traceback.format_exc()) 145 167 146 168 # File converter tool … … 150 172 self.gui.add_perspective(converter_plug) 151 173 except: 152 logg er.error("%s: could not find File Converter plug-in module"% \174 logging.error("%s: could not find File Converter plug-in module"% \ 153 175 APP_NAME) 154 logg er.error(traceback.format_exc())176 logging.error(traceback.format_exc()) 155 177 156 178 -
src/sas/sascalc/calculator/resolution_calculator.py
r463e7ffc r9a5097c 15 15 import sys 16 16 import logging 17 18 logger = logging.getLogger(__name__)19 17 20 18 #Plank's constant in cgs unit … … 1008 1006 detector_offset = self.sample2detector_distance[1] 1009 1007 except: 1010 logg er.error(sys.exc_value)1008 logging.error(sys.exc_value) 1011 1009 1012 1010 # detector size in [no of pix_x,no of pix_y] … … 1095 1093 output.qy_data = qy_value 1096 1094 except: 1097 logg er.error(sys.exc_value)1095 logging.error(sys.exc_value) 1098 1096 1099 1097 return output -
src/sas/sascalc/calculator/sas_gen.py
r463e7ffc r9a5097c 12 12 import sys 13 13 import logging 14 15 logger = logging.getLogger(__name__)16 14 17 15 MFACTOR_AM = 2.853E-12 … … 287 285 mask = (x_dir2 + y_dir2 + z_dir2) <= 1.0 288 286 except: 289 logg er.error(sys.exc_value)287 logging.error(sys.exc_value) 290 288 self.output = MagSLD(self.pos_x[mask], self.pos_y[mask], 291 289 self.pos_z[mask], self.sld_n[mask], … … 396 394 except: 397 395 # Skip non-data lines 398 logg er.error(sys.exc_value)396 logging.error(sys.exc_value) 399 397 #Reading Header; Segment count ignored 400 398 s_line = line.split(":", 1) … … 591 589 z_lines.append(z_line) 592 590 except: 593 logg er.error(sys.exc_value)591 logging.error(sys.exc_value) 594 592 595 593 output = MagSLD(pos_x, pos_y, pos_z, sld_n, sld_mx, sld_my, sld_mz) … … 685 683 except: 686 684 # Skip non-data lines 687 logg er.error(sys.exc_value)685 logging.error(sys.exc_value) 688 686 output = MagSLD(pos_x, pos_y, pos_z, sld_n, 689 687 sld_mx, sld_my, sld_mz) -
src/sas/sascalc/data_util/calcthread.py
r64ca561 r0de74af 8 8 import traceback 9 9 import sys 10 import logging11 10 12 11 if sys.platform.count("darwin") > 0: … … 22 21 from time import clock 23 22 from time import sleep 24 25 logger = logging.getLogger(__name__)26 23 27 24 … … 246 243 except Exception: 247 244 pass 248 logger.error(traceback.format_exc()) 245 import logging 246 logging.error(traceback.format_exc()) 249 247 #print 'CalcThread exception', 250 248 -
src/sas/sascalc/dataloader/data_info.py
rc44baf97 r9a5097c 353 353 details = None 354 354 ## SESANS zacceptance 355 zacceptance = (0,"") 356 yacceptance = (0,"") 355 zacceptance = None 357 356 358 357 def __init__(self): -
src/sas/sascalc/dataloader/loader.py
r463e7ffc rb699768 32 32 from readers import cansas_reader 33 33 34 logger = logging.getLogger(__name__)35 36 34 class Registry(ExtensionRegistry): 37 35 """ … … 101 99 msg = "DataLoader couldn't locate DataLoader plugin folder." 102 100 msg += """ "%s" does not exist""" % dir 103 logg er.warning(msg)101 logging.warning(msg) 104 102 return readers_found 105 103 … … 119 117 msg = "Loader: Error importing " 120 118 msg += "%s\n %s" % (item, sys.exc_value) 121 logg er.error(msg)119 logging.error(msg) 122 120 123 121 # Process zip files … … 141 139 msg = "Loader: Error importing" 142 140 msg += " %s\n %s" % (mfile, sys.exc_value) 143 logg er.error(msg)141 logging.error(msg) 144 142 145 143 except: 146 144 msg = "Loader: Error importing " 147 145 msg += " %s\n %s" % (item, sys.exc_value) 148 logg er.error(msg)146 logging.error(msg) 149 147 150 148 return readers_found … … 192 190 msg = "Loader: Error accessing" 193 191 msg += " Reader in %s\n %s" % (module.__name__, sys.exc_value) 194 logg er.error(msg)192 logging.error(msg) 195 193 return reader_found 196 194 … … 225 223 msg = "Loader: Error accessing Reader " 226 224 msg += "in %s\n %s" % (loader.__name__, sys.exc_value) 227 logg er.error(msg)225 logging.error(msg) 228 226 return reader_found 229 227 … … 270 268 msg = "Loader: Error accessing Reader" 271 269 msg += " in %s\n %s" % (module.__name__, sys.exc_value) 272 logg er.error(msg)270 logging.error(msg) 273 271 return reader_found 274 272 -
src/sas/sascalc/dataloader/readers/associations.py
r463e7ffc re5c09cf 18 18 import logging 19 19 import json 20 21 logger = logging.getLogger(__name__)22 20 23 21 FILE_NAME = 'defaults.json' … … 69 67 msg = "read_associations: skipping association" 70 68 msg += " for %s\n %s" % (ext.lower(), sys.exc_value) 71 logg er.error(msg)69 logging.error(msg) 72 70 else: 73 71 print "Could not find reader association settings\n %s [%s]" % (__file__, os.getcwd()) … … 83 81 :param registry_function: function to be called to register each reader 84 82 """ 85 logg er.info("register_readers is now obsolete: use read_associations()")83 logging.info("register_readers is now obsolete: use read_associations()") 86 84 import abs_reader 87 85 import ascii_reader -
src/sas/sascalc/dataloader/readers/cansas_constants.py
r63d773c rad4632c 135 135 "Sesans": {"storeas": "content"}, 136 136 "zacceptance": {"storeas": "float"}, 137 "yacceptance": {"storeas": "float"},138 137 "<any>" : ANY 139 138 } -
src/sas/sascalc/dataloader/readers/cansas_reader.py
r63d773c r8434365 33 33 import xml.dom.minidom 34 34 from xml.dom.minidom import parseString 35 36 logger = logging.getLogger(__name__)37 35 38 36 PREPROCESS = "xmlpreprocess" … … 292 290 elif tagname == 'Sesans': 293 291 self.current_datainfo.isSesans = bool(data_point) 294 elif tagname == 'yacceptance':295 self.current_datainfo.sample.yacceptance = (data_point, unit)296 292 elif tagname == 'zacceptance': 297 293 self.current_datainfo.sample.zacceptance = (data_point, unit) … … 1059 1055 sesans.text = str(datainfo.isSesans) 1060 1056 node.append(sesans) 1061 self.write_node(node, "yacceptance", datainfo.sample.yacceptance[0],1062 {'unit': datainfo.sample.yacceptance[1]})1063 1057 self.write_node(node, "zacceptance", datainfo.sample.zacceptance[0], 1064 1058 {'unit': datainfo.sample.zacceptance[1]}) … … 1477 1471 self.errors.add(err_mess) 1478 1472 if optional: 1479 logg er.info(err_mess)1473 logging.info(err_mess) 1480 1474 else: 1481 1475 raise ValueError, err_mess … … 1486 1480 self.errors.add(err_mess) 1487 1481 if optional: 1488 logg er.info(err_mess)1482 logging.info(err_mess) 1489 1483 else: 1490 1484 raise ValueError, err_mess -
src/sas/sascalc/dataloader/readers/danse_reader.py
r463e7ffc r9a5097c 19 19 from sas.sascalc.dataloader.data_info import Data2D, Detector 20 20 from sas.sascalc.dataloader.manipulations import reader2D_converter 21 22 logger = logging.getLogger(__name__)23 21 24 22 # Look for unit converter … … 144 142 error.append(err) 145 143 except: 146 logg er.info("Skipping line:%s,%s" %(data_str,144 logging.info("Skipping line:%s,%s" %(data_str, 147 145 sys.exc_value)) 148 146 … … 198 196 msg = "Skipping entry (v1.0):%s,%s" % (str(data[i_pt]), 199 197 sys.exc_value) 200 logg er.info(msg)198 logging.info(msg) 201 199 202 200 # Get bin number … … 273 271 raise ValueError, msg 274 272 else: 275 logg er.info("Danse_reader Reading %s \n" % filename)273 logging.info("Danse_reader Reading %s \n" % filename) 276 274 277 275 # Store loading process information -
src/sas/sascalc/dataloader/readers/tiff_reader.py
r463e7ffc r9a5097c 16 16 from sas.sascalc.dataloader.data_info import Data2D 17 17 from sas.sascalc.dataloader.manipulations import reader2D_converter 18 19 logger = logging.getLogger(__name__) 20 18 21 19 class Reader: 22 20 """ … … 78 76 value = float(val) 79 77 except: 80 logg er.error("tiff_reader: had to skip a non-float point")78 logging.error("tiff_reader: had to skip a non-float point") 81 79 continue 82 80 -
src/sas/sascalc/dataloader/readers/xml_reader.py
r463e7ffc ra235f715 18 18 from lxml import etree 19 19 from lxml.builder import E 20 21 logger = logging.getLogger(__name__)22 20 23 21 PARSER = etree.ETCompatXMLParser(remove_comments=True, remove_pis=False) … … 73 71 self.xmlroot = self.xmldoc.getroot() 74 72 except etree.XMLSyntaxError as xml_error: 75 logg er.info(xml_error)73 logging.info(xml_error) 76 74 except Exception: 77 75 self.xml = None … … 90 88 self.xmlroot = etree.fromstring(tag_soup) 91 89 except etree.XMLSyntaxError as xml_error: 92 logg er.info(xml_error)90 logging.info(xml_error) 93 91 except Exception: 94 92 self.xml = None … … 104 102 self.schemadoc = etree.parse(self.schema, parser=PARSER) 105 103 except etree.XMLSyntaxError as xml_error: 106 logg er.info(xml_error)104 logging.info(xml_error) 107 105 except Exception: 108 106 self.schema = None -
src/sas/sascalc/pr/invertor.py
r463e7ffc r9a5097c 18 18 from scipy import optimize 19 19 from sas.sascalc.pr.core.pr_inversion import Cinvertor 20 21 logger = logging.getLogger(__name__)22 20 23 21 def help(): … … 497 495 # We were not able to estimate the errors 498 496 # Return an empty error matrix 499 logg er.error(sys.exc_value)497 logging.error(sys.exc_value) 500 498 501 499 # Keep a copy of the last output … … 543 541 # number of terms 544 542 best_alpha, _, _ = self.estimate_alpha(self.nfunc) 545 logg er.warning("Invertor.estimate_numterms: %s" % sys.exc_value)543 logging.warning("Invertor.estimate_numterms: %s" % sys.exc_value) 546 544 return self.nfunc, best_alpha, "Could not estimate number of terms" 547 545 -
src/sas/sascalc/pr/num_term.py
r463e7ffc r9a5097c 5 5 import logging 6 6 from sas.sascalc.pr.invertor import Invertor 7 8 logger = logging.getLogger(__name__)9 7 10 8 class NTermEstimator(object): … … 182 180 data_err = np.append(data_err, err) 183 181 except: 184 logg er.error(sys.exc_value)182 logging.error(sys.exc_value) 185 183 186 184 return data_x, data_y, data_err -
src/sas/sasgui/guiframe/CategoryInstaller.py
r463e7ffc rddbac66 16 16 17 17 USER_FILE = 'categories.json' 18 19 logger = logging.getLogger(__name__)20 18 21 19 class CategoryInstaller: … … 116 114 @staticmethod 117 115 def get_default_file(): 118 logg er.warning("CategoryInstaller.get_default_file is deprecated.")116 logging.warning("CategoryInstaller.get_default_file is deprecated.") 119 117 120 118 @staticmethod … … 155 153 model_enabled_dict.pop(model_name) 156 154 except: 157 logg er.error("CategoryInstaller: %s", sys.exc_value)155 logging.error("CategoryInstaller: %s", sys.exc_value) 158 156 else: 159 157 add_list.remove(model_name) -
src/sas/sasgui/guiframe/CategoryManager.py
r463e7ffc r212bfc2 20 20 from sas.sasgui.guiframe.CategoryInstaller import CategoryInstaller 21 21 IS_MAC = (sys.platform == 'darwin') 22 23 logger = logging.getLogger(__name__)24 22 25 23 """ Notes … … 375 373 self.master_category_dict = json.load(f) 376 374 except IOError: 377 logg er.error('Problem reading in category file.')375 logging.error('Problem reading in category file.') 378 376 379 377 self._regenerate_model_dict() -
src/sas/sasgui/guiframe/config.py
r64ca561 r1779e72 7 7 import sas.sasview 8 8 import logging 9 10 11 logger = logging.getLogger(__name__)12 9 13 10 # Version of the application … … 60 57 61 58 icon_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "images")) 62 logg er.info("icon path: %s" % icon_path)59 logging.info("icon path: %s" % icon_path) 63 60 media_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "media")) 64 61 test_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "test")) -
src/sas/sasgui/guiframe/data_manager.py
r463e7ffc r2ffe241 25 25 from sas.sasgui.guiframe.dataFitting import Data2D 26 26 import time 27 28 logger = logging.getLogger(__name__)29 27 30 28 class DataManager(object): … … 138 136 msg = "Data manager already stores %s" % str(data.name) 139 137 msg += "" 140 logg er.info(msg)138 logging.info(msg) 141 139 data_state = self.stored_data[id] 142 140 data_state.data = data -
src/sas/sasgui/guiframe/documentation_window.py
r463e7ffc rd85c194 20 20 import urllib 21 21 import sys 22 23 logger = logging.getLogger(__name__)24 22 25 23 SPHINX_DOC_ENV = "SASVIEW_DOC_PATH" … … 73 71 74 72 if not os.path.exists(file_path): 75 logg er.error("Could not find Sphinx documentation at %s \73 logging.error("Could not find Sphinx documentation at %s \ 76 74 -- has it been built?", file_path) 77 75 elif WX_SUPPORTS_HTML2: … … 81 79 self.Show() 82 80 else: 83 logg er.error("No html2 support, popping up a web browser")81 logging.error("No html2 support, popping up a web browser") 84 82 #For cases that do not build against current version dependency 85 83 # Wx 3.0 we provide a webbrowser call - this is particularly for -
src/sas/sasgui/guiframe/gui_manager.py
r64ca561 r73cbeec 48 48 from matplotlib import _pylab_helpers 49 49 50 logger = logging.getLogger(__name__)51 52 50 warnings.simplefilter("ignore") 51 53 52 54 53 def get_app_dir(): … … 65 64 if os.path.isfile(os.path.join(app_path, "custom_config.py")): 66 65 app_path = os.path.abspath(app_path) 67 logg er.info("Using application path: %s", app_path)66 logging.info("Using application path: %s", app_path) 68 67 return app_path 69 68 70 69 # Next, try the current working directory 71 70 if os.path.isfile(os.path.join(os.getcwd(), "custom_config.py")): 72 logg er.info("Using application path: %s", os.getcwd())71 logging.info("Using application path: %s", os.getcwd()) 73 72 return os.path.abspath(os.getcwd()) 74 73 … … 77 76 # clean all these module variables and put them into a config class 78 77 # that can be passed by sasview.py. 79 logg er.info(sys.executable)80 logg er.info(str(sys.argv))78 logging.info(sys.executable) 79 logging.info(str(sys.argv)) 81 80 from sas import sasview as sasview 82 81 app_path = os.path.dirname(sasview.__file__) 83 logg er.info("Using application path: %s", app_path)82 logging.info("Using application path: %s", app_path) 84 83 return app_path 85 84 … … 105 104 config_module = imp.load_module(file, fObj, path_config, descr) 106 105 except: 107 logg er.error("Error loading %s/%s: %s" % (path, file, sys.exc_value))106 logging.error("Error loading %s/%s: %s" % (path, file, sys.exc_value)) 108 107 finally: 109 108 if fObj is not None: 110 109 fObj.close() 111 logg er.info("GuiManager loaded %s/%s" % (path, file))110 logging.info("GuiManager loaded %s/%s" % (path, file)) 112 111 return config_module 113 112 … … 126 125 # Didn't find local config, load the default 127 126 import sas.sasgui.guiframe.config as config 128 logg er.info("using default local_config")127 logging.info("using default local_config") 129 128 else: 130 logg er.info("found local_config in %s" % os.getcwd())129 logging.info("found local_config in %s" % os.getcwd()) 131 130 else: 132 logg er.info("found local_config in %s" % PATH_APP)131 logging.info("found local_config in %s" % PATH_APP) 133 132 134 133 from sas.sasgui.guiframe.customdir import SetupCustom … … 139 138 if custom_config is None: 140 139 msgConfig = "Custom_config file was not imported" 141 logg er.info(msgConfig)140 logging.info(msgConfig) 142 141 else: 143 logg er.info("using custom_config in %s" % os.getcwd())142 logging.info("using custom_config in %s" % os.getcwd()) 144 143 else: 145 logg er.info("using custom_config from %s" % c_conf_dir)144 logging.info("using custom_config from %s" % c_conf_dir) 146 145 147 146 # read some constants from config … … 375 374 frame.SetIcon(icon) 376 375 except: 377 logg er.error("ViewerFrame.put_icon: could not set icon")376 logging.error("ViewerFrame.put_icon: could not set icon") 378 377 379 378 def get_client_size(self): … … 804 803 str(self._input_file)) 805 804 msg += str(sys.exc_value) + '\n' 806 logg er.error(msg)805 logging.error(msg) 807 806 if self._data_panel is not None and len(self.plugins) > 0: 808 807 self._data_panel.fill_cbox_analysis(self.plugins) … … 870 869 if plugin.__class__ == item.__class__: 871 870 msg = "Plugin %s already loaded" % plugin.sub_menu 872 logg er.info(msg)871 logging.info(msg) 873 872 is_loaded = True 874 873 if not is_loaded: 875 874 self.plugins.append(plugin) 876 875 msg = "Plugin %s appended" % plugin.sub_menu 877 logg er.info(msg)876 logging.info(msg) 878 877 879 878 def _get_local_plugins(self): … … 895 894 msg = "ViewerFrame._get_local_plugins:" 896 895 msg += "cannot import dataloader plugin.\n %s" % sys.exc_value 897 logg er.error(msg)896 logging.error(msg) 898 897 if style2 == GUIFRAME.PLOTTING_ON: 899 898 try: … … 905 904 msg = "ViewerFrame._get_local_plugins:" 906 905 msg += "cannot import plotting plugin.\n %s" % sys.exc_value 907 logg er.error(msg)906 logging.error(msg) 908 907 909 908 return plugins … … 950 949 plugins.append(module.Plugin()) 951 950 msg = "Found plug-in: %s" % module.PLUGIN_ID 952 logg er.info(msg)951 logging.info(msg) 953 952 except: 954 953 msg = "Error accessing PluginPanel" … … 957 956 except: 958 957 msg = "ViewerFrame._find_plugins: %s" % sys.exc_value 959 logg er.error(msg)958 logging.error(msg) 960 959 finally: 961 960 if file is not None: … … 964 963 # Should raise and catch at a higher level and 965 964 # display error on status bar 966 logg er.error(sys.exc_value)965 logging.error(sys.exc_value) 967 966 968 967 return plugins … … 1386 1385 1387 1386 if config._do_aboutbox: 1388 logg er.info("Doing help menu")1387 logging.info("Doing help menu") 1389 1388 wx_id = wx.NewId() 1390 1389 self._help_menu.Append(wx_id, '&About', 'Software information') … … 1747 1746 del self.panels[ID] 1748 1747 else: 1749 logg er.error("delete_panel: No such plot id as %s" % ID)1748 logging.error("delete_panel: No such plot id as %s" % ID) 1750 1749 1751 1750 def create_gui_data(self, data, path=None): … … 1764 1763 log_msg += "load: %s\n" % str(basename) 1765 1764 log_msg += "Try Data opening...." 1766 logg er.error(log_msg)1765 logging.error(log_msg) 1767 1766 return 1768 1767 … … 1844 1843 log_msg += "load: %s\n" % str(path) 1845 1844 log_msg += "Try File opening ...." 1846 logg er.error(log_msg)1845 logging.error(log_msg) 1847 1846 return 1848 1847 log_msg = '' … … 1850 1849 error_message = "" 1851 1850 try: 1852 logg er.info("Loading Data...:\n" + str(path) + "\n")1851 logging.info("Loading Data...:\n" + str(path) + "\n") 1853 1852 temp = self.loader.load(path) 1854 1853 if temp.__class__.__name__ == "list": … … 1865 1864 error_message += " Data from cmd:\n %s\n" % str(path) 1866 1865 error_message += str(sys.exc_value) + "\n" 1867 logg er.error(error_message)1866 logging.error(error_message) 1868 1867 1869 1868 def load_folder(self, path): … … 1886 1885 error_message += " Data folder from cmd:\n %s\n" % str(path) 1887 1886 error_message += str(sys.exc_value) + "\n" 1888 logg er.error(error_message)1887 logging.error(error_message) 1889 1888 1890 1889 def _on_open_state_application(self, event): … … 2045 2044 msg += "and model selected. " 2046 2045 msg += "No project was saved to %s" % (str(path)) 2047 logg er.warning(msg)2046 logging.warning(msg) 2048 2047 wx.PostEvent(self, StatusEvent(status=msg, info="error")) 2049 2048 except Exception: … … 2112 2111 #IF SAS_OPENCL is set, settings are stored in the custom config file 2113 2112 self._write_opencl_config_file() 2114 logg er.info(" --- SasView session was closed --- \n")2113 logging.info(" --- SasView session was closed --- \n") 2115 2114 wx.Exit() 2116 2115 sys.exit() … … 2141 2140 new_config_file.close() 2142 2141 else: 2143 logg er.info("Failed to save OPENCL settings in custom config file")2142 logging.info("Failed to save OPENCL settings in custom config file") 2144 2143 2145 2144 … … 2158 2157 # 2159 2158 content = response.read().strip() 2160 logg er.info("Connected to www.sasview.org. Latest version: %s"2159 logging.info("Connected to www.sasview.org. Latest version: %s" 2161 2160 % (content)) 2162 2161 version_info = json.loads(content) 2163 2162 except: 2164 logg er.info("Failed to connect to www.sasview.org")2163 logging.info("Failed to connect to www.sasview.org") 2165 2164 self._process_version(version_info, standalone=event is None) 2166 2165 … … 2202 2201 msg = "guiframe: could not get latest application" 2203 2202 msg += " version number\n %s" % sys.exc_value 2204 logg er.error(msg)2203 logging.error(msg) 2205 2204 if not standalone: 2206 2205 msg = "Could not connect to the application server." … … 2249 2248 dialog.Show(True) 2250 2249 except: 2251 logg er.error("Error in _onTutorial: %s" % sys.exc_value)2250 logging.error("Error in _onTutorial: %s" % sys.exc_value) 2252 2251 try: 2253 2252 # Try an alternate method 2254 logg er.error(2253 logging.error( 2255 2254 "Could not open the tutorial pdf, trying xhtml2pdf") 2256 2255 from xhtml2pdf import pisa 2257 2256 pisa.startViewer(path) 2258 2257 except: 2259 logg er.error(2258 logging.error( 2260 2259 "Could not open the tutorial pdf with xhtml2pdf") 2261 2260 msg = "This feature requires 'PDF Viewer'\n" … … 2268 2267 try: 2269 2268 # Try an alternate method 2270 logg er.error(2269 logging.error( 2271 2270 "Could not open the tutorial pdf, trying xhtml2pdf") 2272 2271 from xhtml2pdf import pisa 2273 2272 pisa.startViewer(path) 2274 2273 except: 2275 logg er.error(2274 logging.error( 2276 2275 "Could not open the tutorial pdf with xhtml2pdf") 2277 2276 msg = "This feature requires the Preview application\n" … … 2412 2411 else: 2413 2412 msg = "Guiframe does not have a current perspective" 2414 logg er.info(msg)2413 logging.info(msg) 2415 2414 2416 2415 def set_theory(self, state_id, theory_id=None): … … 2423 2422 except: 2424 2423 msg = "Guiframe set_theory: \n" + str(sys.exc_value) 2425 logg er.info(msg)2424 logging.info(msg) 2426 2425 wx.PostEvent(self, StatusEvent(status=msg, info="error")) 2427 2426 else: 2428 2427 msg = "Guiframe does not have a current perspective" 2429 logg er.info(msg)2428 logging.info(msg) 2430 2429 2431 2430 def plot_data(self, state_id, data_id=None, … … 2509 2508 action='remove')) 2510 2509 except: 2511 logg er.error(sys.exc_value)2510 logging.error(sys.exc_value) 2512 2511 2513 2512 def save_data1d(self, data, fname): … … 3307 3306 msg = "%s Could not load " % str(APPLICATION_NAME) 3308 3307 msg += "input file from command line.\n" 3309 logg er.error(msg)3308 logging.error(msg) 3310 3309 # Display a splash screen on top of the frame. 3311 3310 try: … … 3321 3320 msg = "Cannot display splash screen\n" 3322 3321 msg += str(sys.exc_value) 3323 logg er.error(msg)3322 logging.error(msg) 3324 3323 self.frame.Show() 3325 3324 … … 3376 3375 os.remove(file_path) 3377 3376 except: 3378 logg er.error("gui_manager.clean_plugin_models:\n %s"3377 logging.error("gui_manager.clean_plugin_models:\n %s" 3379 3378 % sys.exc_value) 3380 3379 -
src/sas/sasgui/guiframe/gui_statusbar.py
r463e7ffc r3a22ce7 12 12 from sas.sasgui.guiframe.gui_style import GUIFRAME_ICON 13 13 14 logger = logging.getLogger(__name__)15 16 14 # Number of fields on the status bar 17 15 NB_FIELDS = 4 … … 73 71 icon_type = event.info.lower() 74 72 if icon_type == "warning": 75 logg er.warning(status)73 logging.warning(status) 76 74 color = (0, 0, 255) # blue 77 75 icon_bmp = wx.ArtProvider.GetBitmap(wx.ART_WARNING, 78 76 wx.ART_TOOLBAR) 79 77 if icon_type == "error": 80 logg er.error(status)78 logging.error(status) 81 79 color = (255, 0, 0) # red 82 80 icon_bmp = wx.ArtProvider.GetBitmap(wx.ART_ERROR, -
src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py
r463e7ffc ra674d0b 7 7 import wx 8 8 import logging 9 10 logger = logging.getLogger(__name__)11 9 12 10 from sas.sascalc.dataloader.loader import Loader … … 162 160 message += "\tError: {0}\n".format(error_data) 163 161 else: 164 logg er.error("Loader returned an invalid object:\n %s" % str(item))162 logging.error("Loader returned an invalid object:\n %s" % str(item)) 165 163 data_error = True 166 164 … … 184 182 log_msg += "Please try to open that file from \"open project\"" 185 183 log_msg += "or \"open analysis\" menu." 186 logg er.info(log_msg)184 logging.info(log_msg) 187 185 file_errors[basename] = [log_msg] 188 186 continue … … 214 212 215 213 except: 216 logg er.error(sys.exc_value)214 logging.error(sys.exc_value) 217 215 218 216 error_message = "The Data file you selected could not be loaded.\n" -
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter1D.py
r463e7ffc r9a5097c 24 24 from appearanceDialog import appearanceDialog 25 25 from graphAppearance import graphAppearance 26 27 logger = logging.getLogger(__name__)28 26 29 27 DEFAULT_QMAX = 0.05 … … 244 242 wx.PostEvent(self.parent, StatusEvent(status=position)) 245 243 except: 246 logg er.error(sys.exc_value)244 logging.error(sys.exc_value) 247 245 if not event.leftdown: 248 246 # text event … … 257 255 self.canvas.draw() 258 256 except: 259 logg er.error(sys.exc_value)257 logging.error(sys.exc_value) 260 258 event.Skip() 261 259 return … … 411 409 self.q_ctrl[vl_ind].SetValue(str(pos_x)) 412 410 except: 413 logg er.error(sys.exc_value)411 logging.error(sys.exc_value) 414 412 415 413 def set_resizing(self, resizing=False): -
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter2D.py
r463e7ffc rdfa1579 30 30 from graphAppearance import graphAppearance 31 31 (InternalEvent, EVT_INTERNAL) = wx.lib.newevent.NewEvent() 32 33 logger = logging.getLogger(__name__)34 32 35 33 DEFAULT_QMAX = 0.05 … … 435 433 except: 436 434 msg = "Add Text: Error. Check your property values..." 437 logg er.error(msg)435 logging.error(msg) 438 436 if self.parent != None: 439 437 wx.PostEvent(self.parent, StatusEvent(status=msg)) -
src/sas/sasgui/guiframe/local_perspectives/plotting/binder.py
r463e7ffc rd85c194 4 4 import logging 5 5 import sys 6 7 logger = logging.getLogger(__name__)8 6 9 7 class Selection(object): … … 72 70 canvas.mpl_disconnect(canvas.scroll_pick_id) 73 71 except: 74 logg er.error(sys.exc_value)72 logging.error(sys.exc_value) 75 73 self.canvas = canvas 76 74 self.figure = figure -
src/sas/sasgui/guiframe/media/data_formats_help.rst
r76c4469 r98c44f3 86 86 87 87 - Spin echo length (z, in Angstroms) 88 - depolarization (:math:`log(P/P_0)/(lambda^2 * thickness)`, in Angstrom :sup:`-1` cm :sup:`-1`\)88 - depolarization (:math:`log(P/P_0)/(lambda^2 * thickness)`, in Angstrom^-1 cm^-1) 89 89 - depolarization error in the same unit) (measurement error) 90 90 - Spin echo length error (:math:`\Delta`\ z, in Angstroms) (experimental resolution) -
src/sas/sasgui/guiframe/proxy.py
r463e7ffc rd85c194 6 6 import logging 7 7 import re 8 9 10 logger = logging.getLogger(__name__)11 8 12 9 ''' … … 74 71 proxy_url_list = [] 75 72 for this_pac_url in pac_urls_list: 76 logg er.debug('Trying pac file (%s)...' % this_pac_url)73 logging.debug('Trying pac file (%s)...' % this_pac_url) 77 74 try: 78 75 response = urllib2.urlopen( 79 76 this_pac_url, timeout=self.timeout) 80 logg er.debug('Succeeded (%s)...' % this_pac_url)77 logging.debug('Succeeded (%s)...' % this_pac_url) 81 78 except Exception: 82 logg er.debug('Failled (%s)...' % this_pac_url)79 logging.debug('Failled (%s)...' % this_pac_url) 83 80 continue 84 81 pacStr = response.read() … … 123 120 response = None 124 121 try: 125 logg er.debug("Trying Direct connection to %s..."%self.url)122 logging.debug("Trying Direct connection to %s..."%self.url) 126 123 response = urllib2.urlopen(req, timeout=self.timeout) 127 124 except Exception, e: 128 logg er.debug("Failed!")129 logg er.debug(e)125 logging.debug("Failed!") 126 logging.debug(e) 130 127 try: 131 logg er.debug("Trying to use system proxy if it exists...")128 logging.debug("Trying to use system proxy if it exists...") 132 129 self._set_proxy() 133 130 response = urllib2.urlopen(req, timeout=self.timeout) 134 131 except Exception, e: 135 logg er.debug("Failed!")136 logg er.debug(e)132 logging.debug("Failed!") 133 logging.debug(e) 137 134 pac_urls = self._get_addresses_of_proxy_pac() 138 135 proxy_urls = self._parse_proxy_pac(pac_urls) 139 136 for proxy in proxy_urls: 140 137 try: 141 logg er.debug("Trying to use the proxy %s found in proxy.pac configuration"%proxy)138 logging.debug("Trying to use the proxy %s found in proxy.pac configuration"%proxy) 142 139 self._set_proxy(proxy) 143 140 response = urllib2.urlopen(req, timeout=self.timeout) 144 141 except Exception, e: 145 logg er.debug("Failed!")146 logg er.debug(e)142 logging.debug("Failed!") 143 logging.debug(e) 147 144 if response is not None: 148 logg er.debug("The connection to %s was successful."%self.url)145 logging.debug("The connection to %s was successful."%self.url) 149 146 else: 150 logg er.warning("Connection to %s failed..."%self.url)147 logging.warning("Connection to %s failed..."%self.url) 151 148 return response 152 149 -
src/sas/sasgui/guiframe/report_dialog.py
r463e7ffc r6dd6e32 7 7 import sys 8 8 import wx.html as html 9 10 logger = logging.getLogger(__name__)11 9 12 10 ISPDF = False … … 137 135 return pisaStatus.err 138 136 except: 139 logg er.error("Error creating pdf: %s" % sys.exc_value)137 logging.error("Error creating pdf: %s" % sys.exc_value) 140 138 return False 141 139 -
src/sas/sasgui/perspectives/calculator/calculator.py
r463e7ffc ra0c1e1d 28 28 import logging 29 29 30 logger = logging.getLogger(__name__)31 32 30 class Plugin(PluginBase): 33 31 """ … … 38 36 PluginBase.__init__(self, name="Calculator") 39 37 # Log startup 40 logg er.info("Calculator plug-in started")38 logging.info("Calculator plug-in started") 41 39 self.sub_menu = "Tool" 42 40 self.data_edit_frame = None -
src/sas/sasgui/perspectives/calculator/gen_scatter_panel.py
r463e7ffc r9a5097c 38 38 from sas.sasgui.guiframe.events import NewPlotEvent 39 39 from sas.sasgui.guiframe.documentation_window import DocumentationWindow 40 41 logger = logging.getLogger(__name__)42 40 43 41 _BOX_WIDTH = 76 … … 701 699 ax = Axes3D(panel.figure) 702 700 except: 703 logg er.error("PlotPanel could not import Axes3D")701 logging.error("PlotPanel could not import Axes3D") 704 702 raise 705 703 panel.dimension = 3 … … 1346 1344 msg = "OMF Panel: %s" % sys.exc_value 1347 1345 infor = 'Error' 1348 #logg er.error(msg)1346 #logging.error(msg) 1349 1347 if self.parent.parent != None: 1350 1348 # inform msg to wx … … 1698 1696 msg = "%s cannot write %s\n" % ('Generic Scattering', str(path)) 1699 1697 infor = 'Error' 1700 #logg er.error(msg)1698 #logging.error(msg) 1701 1699 if self.parent.parent != None: 1702 1700 # inform msg to wx -
src/sas/sasgui/perspectives/calculator/model_editor.py
r463e7ffc rddbac66 32 32 from sas.sasgui.guiframe.documentation_window import DocumentationWindow 33 33 from .pyconsole import show_model_output, check_model 34 35 logger = logging.getLogger(__name__)36 34 37 35 … … 987 985 exec "from %s import Model" % name 988 986 except: 989 logg er.error(sys.exc_value)987 logging.error(sys.exc_value) 990 988 991 989 # Prepare the messagebox -
src/sas/sasgui/perspectives/calculator/resolution_calculator_panel.py
r463e7ffc ra0c1e1d 34 34 from sas.sasgui.perspectives.calculator import calculator_widgets as widget 35 35 from sas.sasgui.guiframe.documentation_window import DocumentationWindow 36 37 logger = logging.getLogger(__name__)38 36 39 37 _BOX_WIDTH = 100 … … 1100 1098 new_string.append(value) 1101 1099 except: 1102 logg er.error(sys.exc_value)1100 logging.error(sys.exc_value) 1103 1101 1104 1102 return new_string … … 1142 1140 return out 1143 1141 except: 1144 logg er.error(sys.exc_value)1142 logging.error(sys.exc_value) 1145 1143 1146 1144 def _on_xy_coordinate(self, event=None): … … 1320 1318 except: 1321 1319 # Skip non-data lines 1322 logg er.error(sys.exc_value)1320 logging.error(sys.exc_value) 1323 1321 1324 1322 return [wavelength, intensity] -
src/sas/sasgui/perspectives/corfunc/corfunc.py
r463e7ffc r1dc8ec9 20 20 from plot_labels import * 21 21 22 logger = logging.getLogger(__name__)23 22 24 23 class Plugin(PluginBase): … … 30 29 def __init__(self): 31 30 PluginBase.__init__(self, name="Correlation Function") 32 logg er.info("Correlation function plug-in started")31 logging.info("Correlation function plug-in started") 33 32 self._always_active = True 34 33 self.state_reader = Reader(self.set_state) -
src/sas/sasgui/perspectives/corfunc/corfunc_state.py
r463e7ffc rae9b8bf 13 13 from sas.sascalc.dataloader.loader import Loader 14 14 15 logger = logging.getLogger(__name__)16 17 15 CORNODE_NAME = 'corfunc' 18 16 CANSAS_NS = 'cansas1d/1.0' … … 218 216 msg = ("CorfuncState.fromXML: Could not read timestamp", 219 217 "\n{}").format(sys.exc_value) 220 logg er.error(msg)218 logging.error(msg) 221 219 222 220 # Parse current state … … 362 360 msg = "XML document does not contain CorfuncState information\n{}" 363 361 msg.format(sys.exc_value) 364 logg er.info(msg)362 logging.info(msg) 365 363 return state -
src/sas/sasgui/perspectives/file_converter/file_converter.py
r463e7ffc rba65aff 6 6 from sas.sasgui.guiframe.plugin_base import PluginBase 7 7 from sas.sasgui.perspectives.file_converter.converter_panel import ConverterWindow 8 9 logger = logging.getLogger(__name__)10 8 11 9 class Plugin(PluginBase): … … 17 15 def __init__(self): 18 16 PluginBase.__init__(self, name="File Converter") 19 logg er.info("File Converter plug-in started")17 logging.info("File Converter plug-in started") 20 18 self._sub_menu = "Tool" 21 19 self.converter_frame = None -
src/sas/sasgui/perspectives/fitting/basepage.py
r463e7ffc r9a5097c 34 34 from sas.sasgui.guiframe.documentation_window import DocumentationWindow 35 35 36 logger = logging.getLogger(__name__)37 36 38 37 (PageInfoEvent, EVT_PAGE_INFO) = wx.lib.newevent.NewEvent() … … 783 782 except Exception: 784 783 # Skip non-data lines 785 logg er.error(traceback.format_exc())784 logging.error(traceback.format_exc()) 786 785 return np.array(angles), np.array(weights) 787 786 except: … … 1305 1304 [state.values, state.weights] 1306 1305 except Exception: 1307 logg er.error(traceback.format_exc())1306 logging.error(traceback.format_exc()) 1308 1307 selection = self._find_polyfunc_selection(disp_model) 1309 1308 for list in self.fittable_param: … … 1322 1321 list[6].Disable() 1323 1322 except Exception: 1324 logg er.error(traceback.format_exc())1323 logging.error(traceback.format_exc()) 1325 1324 # For array, disable all fixed params 1326 1325 if selection == 1: … … 1331 1330 item[2].Disable() 1332 1331 except Exception: 1333 logg er.error(traceback.format_exc())1332 logging.error(traceback.format_exc()) 1334 1333 1335 1334 def _selectDlg(self): … … 1452 1451 self.Refresh() 1453 1452 1454 # logg er.info("is_modified flag set to %g",is_modified)1453 # logging.info("is_modified flag set to %g",is_modified) 1455 1454 return is_modified 1456 1455 … … 1557 1556 self.save_current_state() 1558 1557 except Exception: 1559 logg er.error(traceback.format_exc())1558 logging.error(traceback.format_exc()) 1560 1559 1561 1560 return flag, is_modified … … 2372 2371 self.model.set_dispersion(p, disp_model) 2373 2372 except Exception: 2374 logg er.error(traceback.format_exc())2373 logging.error(traceback.format_exc()) 2375 2374 2376 2375 # save state into … … 2487 2486 self.Refresh() 2488 2487 except Exception: 2489 logg er.error(traceback.format_exc())2488 logging.error(traceback.format_exc()) 2490 2489 # Error msg 2491 2490 msg = "Error occurred:" … … 2588 2587 del self.state.model._persistency_dict[name.split('.')[0]] 2589 2588 except Exception: 2590 logg er.error(traceback.format_exc())2589 logging.error(traceback.format_exc()) 2591 2590 2592 2591 def _lay_out(self): … … 2720 2719 except Exception: 2721 2720 # Not for control panels 2722 logg er.error(traceback.format_exc())2721 logging.error(traceback.format_exc()) 2723 2722 # Make sure the resduals plot goes to the last 2724 2723 if res_item is not None: … … 3053 3052 disfunc = str(item[7].GetValue()) 3054 3053 except Exception: 3055 logg er.error(traceback.format_exc())3054 logging.error(traceback.format_exc()) 3056 3055 3057 3056 # 2D … … 3096 3095 disfunc += ' ' + str(weight) 3097 3096 except Exception: 3098 logg er.error(traceback.format_exc())3097 logging.error(traceback.format_exc()) 3099 3098 content += name + ',' + str(check) + ',' + value + disfunc + ',' + \ 3100 3099 bound_lo + ',' + bound_hi + ':' … … 3367 3366 3368 3367 except Exception: 3369 logg er.error(traceback.format_exc())3368 logging.error(traceback.format_exc()) 3370 3369 print "Error in BasePage._paste_poly_help: %s" % \ 3371 3370 sys.exc_info()[1] -
src/sas/sasgui/perspectives/fitting/fitting.py
r463e7ffc r4c5098c 48 48 49 49 from . import models 50 51 logger = logging.getLogger(__name__)52 50 53 51 MAX_NBR_DATA = 4 … … 121 119 self.page_finder = {} 122 120 # Log startup 123 logg er.info("Fitting plug-in started")121 logging.info("Fitting plug-in started") 124 122 self.batch_capable = self.get_batch_capable() 125 123 … … 348 346 page.formfactorbox.SetLabel(current_val) 349 347 except: 350 logg er.error("update_custom_combo: %s", sys.exc_value)348 logging.error("update_custom_combo: %s", sys.exc_value) 351 349 352 350 def set_edit_menu(self, owner): … … 588 586 msg = "Fitting: cannot deal with the theory received" 589 587 evt = StatusEvent(status=msg, info="error") 590 logg er.error("set_theory " + msg + "\n" + str(sys.exc_value))588 logging.error("set_theory " + msg + "\n" + str(sys.exc_value)) 591 589 wx.PostEvent(self.parent, evt) 592 590 … … 1798 1796 Handle exception from calculator by posting it as an error. 1799 1797 """ 1800 logg er.error("".join(traceback.format_exception(etype, value, tb)))1798 logging.error("".join(traceback.format_exception(etype, value, tb))) 1801 1799 msg = traceback.format_exception(etype, value, tb, limit=1) 1802 1800 evt = StatusEvent(status="".join(msg), type="stop", info="error") -
src/sas/sasgui/perspectives/fitting/models.py
r463e7ffc re92a352 18 18 from sas.sasgui.guiframe.CategoryInstaller import CategoryInstaller 19 19 from sasmodels.sasview_model import load_custom_model, load_standard_models 20 21 logger = logging.getLogger(__name__)22 20 23 21 … … 170 168 if not os.path.isdir(dir): 171 169 msg = "SasView couldn't locate Model plugin folder %r." % dir 172 logg er.warning(msg)170 logging.warning(msg) 173 171 return {} 174 172 175 173 plugin_log("looking for models in: %s" % str(dir)) 176 174 #compile_file(dir) #always recompile the folder plugin 177 logg er.info("plugin model dir: %s" % str(dir))175 logging.info("plugin model dir: %s" % str(dir)) 178 176 179 177 plugins = {} … … 190 188 msg += "\nwhile accessing model in %r" % path 191 189 plugin_log(msg) 192 logg er.warning("Failed to load plugin %r. See %s for details"190 logging.warning("Failed to load plugin %r. See %s for details" 193 191 % (path, PLUGIN_LOG)) 194 192 … … 263 261 if self.is_changed(): 264 262 return _findModels(dir) 265 logg er.info("plugin model : %s" % str(temp))263 logging.info("plugin model : %s" % str(temp)) 266 264 return temp 267 265 -
src/sas/sasgui/perspectives/fitting/pagestate.py
r463e7ffc r27109e5 33 33 from sas.sascalc.dataloader.data_info import Data2D, Collimation, Detector 34 34 from sas.sascalc.dataloader.data_info import Process, Aperture 35 36 logger = logging.getLogger(__name__)37 35 38 36 # Information to read/write state as xml … … 397 395 msg = "Save state does not have enough information to load" 398 396 msg += " the all of the data." 399 logg er.warning(msg=msg)397 logging.warning(msg=msg) 400 398 else: 401 399 self.formfactorcombobox = FIRST_FORM[self.categorycombobox] … … 622 620 except Exception: 623 621 msg = "Report string expected 'name: value' but got %r" % line 624 logg er.error(msg)622 logging.error(msg) 625 623 if name.count("State created"): 626 624 repo_time = "" + value … … 664 662 except Exception: 665 663 msg = "While parsing 'data: ...'\n" 666 logg er.error(msg + traceback.format_exc())664 logging.error(msg + traceback.format_exc()) 667 665 if name == "model name ": 668 666 try: … … 680 678 except Exception: 681 679 msg = "While parsing 'Plotting Range: ...'\n" 682 logg er.error(msg + traceback.format_exc())680 logging.error(msg + traceback.format_exc()) 683 681 paramval = "" 684 682 for lines in param_string.split(":"): … … 1039 1037 msg = "PageState.fromXML: Could not" 1040 1038 msg += " read timestamp\n %s" % sys.exc_value 1041 logg er.error(msg)1039 logging.error(msg) 1042 1040 1043 1041 if entry is not None: … … 1079 1077 except Exception: 1080 1078 base = "unable to load distribution %r for %s" 1081 logg er.error(base % (value, parameter))1079 logging.error(base % (value, parameter)) 1082 1080 continue 1083 1081 _disp_obj_dict = getattr(self, varname) … … 1101 1099 msg = ("Error reading %r from %s %s\n" 1102 1100 % (line, tagname, name)) 1103 logg er.error(msg + traceback.format_exc())1101 logging.error(msg + traceback.format_exc()) 1104 1102 dic[name] = np.array(value_list) 1105 1103 setattr(self, varname, dic) … … 1209 1207 1210 1208 except: 1211 logg er.info("XML document does not contain fitting information.\n"1209 logging.info("XML document does not contain fitting information.\n" 1212 1210 + traceback.format_exc()) 1213 1211 -
src/sas/sasgui/perspectives/invariant/invariant.py
r463e7ffc rc10d9d6c 27 27 from sas.sasgui.guiframe.plugin_base import PluginBase 28 28 29 logger = logging.getLogger(__name__)30 31 29 class Plugin(PluginBase): 32 30 """ … … 48 46 49 47 # Log startup 50 logg er.info("Invariant plug-in started")48 logging.info("Invariant plug-in started") 51 49 52 50 def get_data(self): … … 282 280 283 281 except: 284 logg er.error("invariant.set_state: %s" % sys.exc_value)282 logging.error("invariant.set_state: %s" % sys.exc_value) 285 283 286 284 def on_set_state_helper(self, event=None): -
src/sas/sasgui/perspectives/invariant/invariant_panel.py
r463e7ffc r18b7ecb9 24 24 from sas.sasgui.guiframe.panel_base import PanelBase 25 25 from sas.sasgui.guiframe.documentation_window import DocumentationWindow 26 27 logger = logging.getLogger(__name__)28 26 29 27 # The minimum q-value to be used when extrapolating … … 462 460 self._manager.plot_theory(name="Low-Q extrapolation") 463 461 except: 464 logg er.error(sys.exc_value)462 logging.error(sys.exc_value) 465 463 466 464 def get_high_qstar(self, inv, high_q=False): … … 496 494 self._manager.plot_theory(name="High-Q extrapolation") 497 495 except: 498 logg er.error(sys.exc_value)496 logging.error(sys.exc_value) 499 497 500 498 def get_qstar(self, inv): … … 847 845 attr.SetValue(value) 848 846 except: 849 logg er.error("Invariant state: %s", sys.exc_value)847 logging.error("Invariant state: %s", sys.exc_value) 850 848 851 849 def get_bookmark_by_num(self, num=None): … … 864 862 _, _, current_state, comp_state = self.state.bookmark_list[int(num)] 865 863 except: 866 logg er.error(sys.exc_value)864 logging.error(sys.exc_value) 867 865 raise ValueError, "No such bookmark exists" 868 866 … … 959 957 self.state.clone_state() 960 958 except: 961 logg er.error(sys.exc_value)959 logging.error(sys.exc_value) 962 960 963 961 self._set_undo_flag(True) … … 1003 1001 del self.state.state_list[str(i)] 1004 1002 except: 1005 logg er.error(sys.exc_value)1003 logging.error(sys.exc_value) 1006 1004 # Enable the undo button if it was not 1007 1005 self._set_undo_flag(True) … … 1068 1066 del self.state.state_list[str(i)] 1069 1067 except: 1070 logg er.error(sys.exc_value)1068 logging.error(sys.exc_value) 1071 1069 1072 1070 # try to add new state of the text changes in the state_list … … 1083 1081 self.state.state_list[str(self.state.state_num)] = self.state.clone_state() 1084 1082 except: 1085 logg er.error(sys.exc_value)1083 logging.error(sys.exc_value) 1086 1084 1087 1085 self._set_undo_flag(True) … … 1105 1103 self.state.state_list[str(self.state.state_num)] = self.state.clone_state() 1106 1104 except: 1107 logg er.error(sys.exc_value)1105 logging.error(sys.exc_value) 1108 1106 1109 1107 def _get_input_list(self): -
src/sas/sasgui/perspectives/invariant/invariant_state.py
r463e7ffc rdb5294e 16 16 from sas.sasgui.guiframe.gui_style import GUIFRAME_ID 17 17 from sas.sasgui.guiframe.dataFitting import Data1D 18 19 logger = logging.getLogger(__name__)20 18 21 19 INVNODE_NAME = 'invariant' … … 383 381 msg = "InvariantSate.fromXML: Could not read" 384 382 msg += " timestamp\n %s" % sys.exc_value 385 logg er.error(msg)383 logging.error(msg) 386 384 387 385 # Parse bookmarks … … 696 694 msg = "XML document does not contain invariant" 697 695 msg += " information.\n %s" % sys.exc_value 698 logg er.info(msg)696 logging.info(msg) 699 697 return state 700 698 -
src/sas/sasgui/perspectives/invariant/report_dialog.py
r463e7ffc rd85c194 20 20 21 21 from sas.sasgui.guiframe.report_dialog import BaseReportDialog 22 23 logger = logging.getLogger(__name__)24 22 25 23 class ReportDialog(BaseReportDialog): … … 94 92 except: 95 93 # DO not open 96 logg er.error("Could not open file: %s" % sys.exc_value)94 logging.error("Could not open file: %s" % sys.exc_value) 97 95 # delete image file 98 96 os.remove(pic_fname) -
src/sas/sasgui/perspectives/pr/explore_dialog.py
r463e7ffc r9a5097c 22 22 import logging 23 23 import sys 24 25 logger = logging.getLogger(__name__)26 24 27 25 # Avoid Matplotlib complaining about the lack of legend on the plot … … 286 284 msg += "a change in the " % str(output_type) 287 285 msg += "ExploreDialog code." 288 logg er.error(msg)286 logging.error(msg) 289 287 290 288 def __do_layout(self): … … 420 418 msg = "ExploreDialog: inversion failed " 421 419 msg += "for D_max=%s\n%s" % (str(d), sys.exc_value) 422 logg er.error(msg)420 logging.error(msg) 423 421 424 422 self.results = results -
src/sas/sasgui/perspectives/pr/inversion_panel.py
r463e7ffc r18b7ecb9 17 17 from pr_widgets import OutputTextCtrl 18 18 from sas.sasgui.guiframe.documentation_window import DocumentationWindow 19 20 logger = logging.getLogger(__name__)21 19 22 20 if sys.platform.count("win32") > 0: … … 712 710 self.alpha_ctl.SetValue(alpha) 713 711 except ValueError: 714 logg er.error("InversionControl._on_accept_alpha got a value that was not a number: %s" % alpha )712 logging.error("InversionControl._on_accept_alpha got a value that was not a number: %s" % alpha ) 715 713 except: 716 714 # No estimate or bad estimate, either do nothing 717 logg er.error("InversionControl._on_accept_alpha: %s" % sys.exc_value)715 logging.error("InversionControl._on_accept_alpha: %s" % sys.exc_value) 718 716 719 717 def _on_accept_nterms(self, evt): … … 728 726 self.nfunc_ctl.SetValue(nterms) 729 727 except ValueError: 730 logg er.error("InversionControl._on_accept_nterms got a value that was not a number: %s" % nterms )728 logging.error("InversionControl._on_accept_nterms got a value that was not a number: %s" % nterms ) 731 729 except: 732 730 # No estimate or bad estimate, either do nothing 733 logg er.error("InversionControl._on_accept_nterms: %s" % sys.exc_value)731 logging.error("InversionControl._on_accept_nterms: %s" % sys.exc_value) 734 732 735 733 def clear_panel(self): … … 949 947 except: 950 948 msg = "InversionControl._change_file: %s" % sys.exc_value 951 logg er.error(msg)949 logging.error(msg) 952 950 953 951 def on_help(self, event): -
src/sas/sasgui/perspectives/pr/inversion_state.py
r463e7ffc rd85c194 22 22 from sas.sascalc.dataloader.readers.cansas_reader import get_content 23 23 24 logger = logging.getLogger(__name__)25 26 24 PRNODE_NAME = 'pr_inversion' 27 25 CANSAS_NS = "cansas1d/1.0" … … 252 250 msg = "InversionState.fromXML: Could not read " 253 251 msg += "timestamp\n %s" % sys.exc_value 254 logg er.error(msg)252 logging.error(msg) 255 253 256 254 # Parse inversion inputs … … 308 306 err_msg += "%d %d" % (len(self.coefficients), 309 307 self.nfunc) 310 logg er.error(err_msg)308 logging.error(err_msg) 311 309 self.coefficients = None 312 310 … … 345 343 err_msg += " covariance matrix: " 346 344 err_msg += "%d %d" % (len(self.covariance), self.nfunc) 347 logg er.error(err_msg)345 logging.error(err_msg) 348 346 self.covariance = None 349 347 … … 432 430 msg = "XML document does not contain P(r) " 433 431 msg += "information.\n %s" % sys.exc_value 434 logg er.info(msg)432 logging.info(msg) 435 433 436 434 return state -
src/sas/sasgui/perspectives/pr/pr.py
r463e7ffc r9a5097c 34 34 from pr_widgets import load_error 35 35 from sas.sasgui.guiframe.plugin_base import PluginBase 36 37 logger = logging.getLogger(__name__)38 36 39 37 … … 115 113 116 114 # Log startup 117 logg er.info("Pr(r) plug-in started")115 logging.info("Pr(r) plug-in started") 118 116 119 117 def delete_data(self, data_id): … … 183 181 self.control_panel.set_state(state) 184 182 except: 185 logg er.error("prview.set_state: %s" % sys.exc_value)183 logging.error("prview.set_state: %s" % sys.exc_value) 186 184 187 185 … … 510 508 data_err = np.append(data_err, err) 511 509 except: 512 logg er.error(sys.exc_value)510 logging.error(sys.exc_value) 513 511 514 512 if not scale == None: … … 561 559 data_err = np.append(data_err, err) 562 560 except: 563 logg er.error(sys.exc_value)561 logging.error(sys.exc_value) 564 562 elif line.find("The 6 columns") >= 0: 565 563 data_started = True … … 1203 1201 dataset = panel.plots[panel.graph.selected_plottable].name 1204 1202 else: 1205 logg er.info("Prview Error: No data is available")1203 logging.info("Prview Error: No data is available") 1206 1204 return 1207 1205 … … 1213 1211 except: 1214 1212 self.control_panel.alpha = self.alpha 1215 logg er.info("Prview :Alpha Not estimate yet")1213 logging.info("Prview :Alpha Not estimate yet") 1216 1214 try: 1217 1215 estimate = int(self.control_panel.nterms_estimate) … … 1219 1217 except: 1220 1218 self.control_panel.nfunc = self.nfunc 1221 logg er.info("Prview : ntemrs Not estimate yet")1219 logging.info("Prview : ntemrs Not estimate yet") 1222 1220 1223 1221 self.current_plottable = panel.plots[panel.graph.selected_plottable] -
src/sas/sasgui/perspectives/simulation/simulation.py
r463e7ffc r9a5097c 24 24 from sas.sascalc.data_util.calcthread import CalcThread 25 25 from sas.guicomm.events import NewPlotEvent, StatusEvent 26 27 logger = logging.getLogger(__name__)28 26 29 27 class Calc1D(CalcThread): … … 95 93 self._default_save_location = os.getcwd() 96 94 # Log startup 97 logg er.info("Simulation plug-in started")95 logging.info("Simulation plug-in started") 98 96 99 97 def get_panels(self, parent): -
src/sas/sasgui/plottools/LineModel.py
rec8886e rdd5bf63 8 8 function should disappear in a future iteration (see notes in fitDialog) 9 9 10 PDB July 10, 2016 11 10 -PDB July 10, 2016 12 11 """ 13 12 … … 71 70 runXY is when the if statement is true. I however cannot see what that 72 71 function is for. It needs to be documented here or removed. 73 PDB 7/10/1672 -PDB 7/10/16 74 73 75 74 :param x: simple value … … 93 92 but the only difference between this and run is when the if 94 93 statement is true. I however cannot see what that function 95 is for. It needs to be documented here or removed. PDB 7/10/1694 is for. It needs to be documented here or removed. -PDB 7/10/16 96 95 97 96 :param x: simple value -
src/sas/sasgui/plottools/PlotPanel.py
r463e7ffc r9a5097c 33 33 from sas.sasgui.guiframe.events import StatusEvent 34 34 from .toolbar import NavigationToolBar, PlotPrintout, bind 35 36 logger = logging.getLogger(__name__)37 35 38 36 def show_tree(obj, d=0): … … 1508 1506 from mpl_toolkits.mplot3d import Axes3D 1509 1507 except: 1510 logg er.error("PlotPanel could not import Axes3D")1508 logging.error("PlotPanel could not import Axes3D") 1511 1509 self.subplot.figure.clear() 1512 1510 ax = Axes3D(self.subplot.figure) -
src/sas/sasgui/plottools/binder.py
r463e7ffc rd7bb526 4 4 import sys 5 5 import logging 6 7 logger = logging.getLogger(__name__)8 6 9 7 class Selection(object): … … 123 121 for cid in self._connections: self.canvas.mpl_disconnect(cid) 124 122 except: 125 logg er.error("Error disconnection canvas: %s" % sys.exc_value)123 logging.error("Error disconnection canvas: %s" % sys.exc_value) 126 124 self._connections = [] 127 125 -
src/sas/sasgui/plottools/canvas.py
r463e7ffc rd7bb526 11 11 from matplotlib.backends.backend_wx import RendererWx 12 12 13 logger = logging.getLogger(__name__)14 15 13 16 14 def draw_image(self, x, y, im, bbox, clippath=None, clippath_trans=None): … … 98 96 dc.DrawBitmap(self.canvas.bitmap, (0, 0)) 99 97 except: 100 logg er.error(sys.exc_value)98 logging.error(sys.exc_value) 101 99 102 100 # restore original figure resolution … … 209 207 fig.draw(self) 210 208 except ValueError: 211 logg er.error(sys.exc_value)209 logging.error(sys.exc_value) 212 210 else: 213 211 self._isRendered = False -
src/sas/sasgui/plottools/plottables.py
r463e7ffc r9a5097c 46 46 import sys 47 47 import logging 48 49 logger = logging.getLogger(__name__)50 48 51 49 if 'any' not in dir(__builtins__): … … 810 808 tempdy.append(self.dy[i]) 811 809 except: 812 logg er.error("check_data_logX: skipping point x %g", self.x[i])813 logg er.error(sys.exc_value)810 logging.error("check_data_logX: skipping point x %g", self.x[i]) 811 logging.error(sys.exc_value) 814 812 self.x = tempx 815 813 self.y = tempy … … 840 838 tempdy.append(self.dy[i]) 841 839 except: 842 logg er.error("check_data_logY: skipping point %g", self.y[i])843 logg er.error(sys.exc_value)840 logging.error("check_data_logY: skipping point %g", self.y[i]) 841 logging.error(sys.exc_value) 844 842 845 843 self.x = tempx -
src/sas/sasgui/plottools/toolbar.py
r463e7ffc rd7bb526 6 6 from matplotlib.backends.backend_wx import _load_bitmap 7 7 import logging 8 9 logger = logging.getLogger(__name__)10 8 11 9 # Event binding code changed after version 2.5 … … 96 94 self._parent.onToolContextMenu(event=event) 97 95 except: 98 logg er.error("Plot toolbar could not show menu")96 logging.error("Plot toolbar could not show menu") 99 97 100 98 def context_menu(self, event): … … 124 122 except: 125 123 import traceback 126 logg er.error(traceback.format_exc())124 logging.error(traceback.format_exc()) 127 125 128 126 def copy_figure(self, event): -
test/run_one.py
raaad4c95 r76f132a 7 7 import imp 8 8 from os.path import abspath, dirname, split as splitpath, join as joinpath 9 10 import logging11 logger = logging.getLogger(__name__)12 if not logger.root.handlers:13 import logging.config14 LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'logging.ini')15 logging.config.fileConfig(LOGGER_CONFIG_FILE, disable_existing_loggers=False)16 17 if len(sys.argv) < 2:18 logger.error("Use %s <filename to test>",sys.argv[0])19 sys.exit(-1)20 9 21 10 run_py = joinpath(dirname(dirname(abspath(__file__))), 'run.py') -
test/sasdataloader/test/isis_1_0_write_test.xml
rc155a16 rb699768 1 <?xml version='1.0' encoding='UTF-8'?>2 <?xml-stylesheet type="text/xsl" href="cansasxml-html.xsl" ?>3 <SASroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="cansas1d/1.0" version="1.0" xsi:schemaLocation="cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd">4 <SASentry>5 <Title>TK49 c10_SANS</Title>6 <Run>79680</Run>7 <SASdata>8 <Idata>9 <Q unit="Q | 1/A">0.009</Q>10 <I unit="Intensity | 1/cm">85.3333</I>11 <Idev unit="Intensity | 1/cm">0.852491</Idev>12 <Qdev unit="Q | 1/A">0.0</Qdev>13 </Idata>14 <Idata>15 <Q unit="Q | 1/A">0.011</Q>16 <I unit="Intensity | 1/cm">72.5398</I>17 <Idev unit="Intensity | 1/cm">0.639548</Idev>18 <Qdev unit="Q | 1/A">0.0</Qdev>19 </Idata>20 <Idata>21 <Q unit="Q | 1/A">0.013</Q>22 <I unit="Intensity | 1/cm">63.3582</I>23 <Idev unit="Intensity | 1/cm">0.494127</Idev>24 <Qdev unit="Q | 1/A">0.0</Qdev>25 </Idata>26 <Idata>27 <Q unit="Q | 1/A">0.015</Q>28 <I unit="Intensity | 1/cm">57.0952</I>29 <Idev unit="Intensity | 1/cm">0.414116</Idev>30 <Qdev unit="Q | 1/A">0.0</Qdev>31 </Idata>32 <Idata>33 <Q unit="Q | 1/A">0.017</Q>34 <I unit="Intensity | 1/cm">51.0139</I>35 <Idev unit="Intensity | 1/cm">0.35145</Idev>36 <Qdev unit="Q | 1/A">0.0</Qdev>37 </Idata>38 <Idata>39 <Q unit="Q | 1/A">0.019</Q>40 <I unit="Intensity | 1/cm">46.4746</I>41 <Idev unit="Intensity | 1/cm">0.308755</Idev>42 <Qdev unit="Q | 1/A">0.0</Qdev>43 </Idata>44 <Idata>45 <Q unit="Q | 1/A">0.021</Q>46 <I unit="Intensity | 1/cm">41.7191</I>47 <Idev unit="Intensity | 1/cm">0.271641</Idev>48 <Qdev unit="Q | 1/A">0.0</Qdev>49 </Idata>50 <Idata>51 <Q unit="Q | 1/A">0.023</Q>52 <I unit="Intensity | 1/cm">37.4208</I>53 <Idev unit="Intensity | 1/cm">0.244658</Idev>54 <Qdev unit="Q | 1/A">0.0</Qdev>55 </Idata>56 <Idata>57 <Q unit="Q | 1/A">0.025</Q>58 <I unit="Intensity | 1/cm">33.7352</I>59 <Idev unit="Intensity | 1/cm">0.219594</Idev>60 <Qdev unit="Q | 1/A">0.0</Qdev>61 </Idata>62 <Idata>63 <Q unit="Q | 1/A">0.027</Q>64 <I unit="Intensity | 1/cm">30.6073</I>65 <Idev unit="Intensity | 1/cm">0.203138</Idev>66 <Qdev unit="Q | 1/A">0.0</Qdev>67 </Idata>68 <Idata>69 <Q unit="Q | 1/A">0.029</Q>70 <I unit="Intensity | 1/cm">27.7309</I>71 <Idev unit="Intensity | 1/cm">0.185859</Idev>72 <Qdev unit="Q | 1/A">0.0</Qdev>73 </Idata>74 <Idata>75 <Q unit="Q | 1/A">0.031</Q>76 <I unit="Intensity | 1/cm">25.2579</I>77 <Idev unit="Intensity | 1/cm">0.171356</Idev>78 <Qdev unit="Q | 1/A">0.0</Qdev>79 </Idata>80 <Idata>81 <Q unit="Q | 1/A">0.033</Q>82 <I unit="Intensity | 1/cm">22.7712</I>83 <Idev unit="Intensity | 1/cm">0.159062</Idev>84 <Qdev unit="Q | 1/A">0.0</Qdev>85 </Idata>86 <Idata>87 <Q unit="Q | 1/A">0.035</Q>88 <I unit="Intensity | 1/cm">20.5323</I>89 <Idev unit="Intensity | 1/cm">0.146135</Idev>90 <Qdev unit="Q | 1/A">0.0</Qdev>91 </Idata>92 <Idata>93 <Q unit="Q | 1/A">0.037</Q>94 <I unit="Intensity | 1/cm">19.0744</I>95 <Idev unit="Intensity | 1/cm">0.136393</Idev>96 <Qdev unit="Q | 1/A">0.0</Qdev>97 </Idata>98 <Idata>99 <Q unit="Q | 1/A">0.039</Q>100 <I unit="Intensity | 1/cm">17.2832</I>101 <Idev unit="Intensity | 1/cm">0.127623</Idev>102 <Qdev unit="Q | 1/A">0.0</Qdev>103 </Idata>104 <Idata>105 <Q unit="Q | 1/A">0.041</Q>106 <I unit="Intensity | 1/cm">15.7399</I>107 <Idev unit="Intensity | 1/cm">0.118288</Idev>108 <Qdev unit="Q | 1/A">0.0</Qdev>109 </Idata>110 <Idata>111 <Q unit="Q | 1/A">0.043</Q>112 <I unit="Intensity | 1/cm">14.5598</I>113 <Idev unit="Intensity | 1/cm">0.111759</Idev>114 <Qdev unit="Q | 1/A">0.0</Qdev>115 </Idata>116 <Idata>117 <Q unit="Q | 1/A">0.045</Q>118 <I unit="Intensity | 1/cm">13.5906</I>119 <Idev unit="Intensity | 1/cm">0.105148</Idev>120 <Qdev unit="Q | 1/A">0.0</Qdev>121 </Idata>122 <Idata>123 <Q unit="Q | 1/A">0.047</Q>124 <I unit="Intensity | 1/cm">12.6707</I>125 <Idev unit="Intensity | 1/cm">0.0996579</Idev>126 <Qdev unit="Q | 1/A">0.0</Qdev>127 </Idata>128 <Idata>129 <Q unit="Q | 1/A">0.049</Q>130 <I unit="Intensity | 1/cm">11.5247</I>131 <Idev unit="Intensity | 1/cm">0.0929646</Idev>132 <Qdev unit="Q | 1/A">0.0</Qdev>133 </Idata>134 <Idata>135 <Q unit="Q | 1/A">0.051</Q>136 <I unit="Intensity | 1/cm">10.7089</I>137 <Idev unit="Intensity | 1/cm">0.0888575</Idev>138 <Qdev unit="Q | 1/A">0.0</Qdev>139 </Idata>140 <Idata>141 <Q unit="Q | 1/A">0.053</Q>142 <I unit="Intensity | 1/cm">10.1436</I>143 <Idev unit="Intensity | 1/cm">0.0849394</Idev>144 <Qdev unit="Q | 1/A">0.0</Qdev>145 </Idata>146 <Idata>147 <Q unit="Q | 1/A">0.055</Q>148 <I unit="Intensity | 1/cm">9.49446</I>149 <Idev unit="Intensity | 1/cm">0.0811205</Idev>150 <Qdev unit="Q | 1/A">0.0</Qdev>151 </Idata>152 <Idata>153 <Q unit="Q | 1/A">0.057</Q>154 <I unit="Intensity | 1/cm">8.80775</I>155 <Idev unit="Intensity | 1/cm">0.0773967</Idev>156 <Qdev unit="Q | 1/A">0.0</Qdev>157 </Idata>158 <Idata>159 <Q unit="Q | 1/A">0.059</Q>160 <I unit="Intensity | 1/cm">8.33366</I>161 <Idev unit="Intensity | 1/cm">0.0748147</Idev>162 <Qdev unit="Q | 1/A">0.0</Qdev>163 </Idata>164 <Idata>165 <Q unit="Q | 1/A">0.061</Q>166 <I unit="Intensity | 1/cm">7.79157</I>167 <Idev unit="Intensity | 1/cm">0.0720107</Idev>168 <Qdev unit="Q | 1/A">0.0</Qdev>169 </Idata>170 <Idata>171 <Q unit="Q | 1/A">0.063</Q>172 <I unit="Intensity | 1/cm">7.25902</I>173 <Idev unit="Intensity | 1/cm">0.0693582</Idev>174 <Qdev unit="Q | 1/A">0.0</Qdev>175 </Idata>176 <Idata>177 <Q unit="Q | 1/A">0.065</Q>178 <I unit="Intensity | 1/cm">7.04789</I>179 <Idev unit="Intensity | 1/cm">0.0677591</Idev>180 <Qdev unit="Q | 1/A">0.0</Qdev>181 </Idata>182 <Idata>183 <Q unit="Q | 1/A">0.067</Q>184 <I unit="Intensity | 1/cm">6.53311</I>185 <Idev unit="Intensity | 1/cm">0.0652207</Idev>186 <Qdev unit="Q | 1/A">0.0</Qdev>187 </Idata>188 <Idata>189 <Q unit="Q | 1/A">0.069</Q>190 <I unit="Intensity | 1/cm">6.2453</I>191 <Idev unit="Intensity | 1/cm">0.0642016</Idev>192 <Qdev unit="Q | 1/A">0.0</Qdev>193 </Idata>194 <Idata>195 <Q unit="Q | 1/A">0.071</Q>196 <I unit="Intensity | 1/cm">5.94152</I>197 <Idev unit="Intensity | 1/cm">0.0625768</Idev>198 <Qdev unit="Q | 1/A">0.0</Qdev>199 </Idata>200 <Idata>201 <Q unit="Q | 1/A">0.073</Q>202 <I unit="Intensity | 1/cm">5.70816</I>203 <Idev unit="Intensity | 1/cm">0.0612955</Idev>204 <Qdev unit="Q | 1/A">0.0</Qdev>205 </Idata>206 <Idata>207 <Q unit="Q | 1/A">0.075</Q>208 <I unit="Intensity | 1/cm">5.24449</I>209 <Idev unit="Intensity | 1/cm">0.060141</Idev>210 <Qdev unit="Q | 1/A">0.0</Qdev>211 </Idata>212 <Idata>213 <Q unit="Q | 1/A">0.077</Q>214 <I unit="Intensity | 1/cm">5.08291</I>215 <Idev unit="Intensity | 1/cm">0.0582239</Idev>216 <Qdev unit="Q | 1/A">0.0</Qdev>217 </Idata>218 <Idata>219 <Q unit="Q | 1/A">0.079</Q>220 <I unit="Intensity | 1/cm">4.88135</I>221 <Idev unit="Intensity | 1/cm">0.057969</Idev>222 <Qdev unit="Q | 1/A">0.0</Qdev>223 </Idata>224 <Idata>225 <Q unit="Q | 1/A">0.081</Q>226 <I unit="Intensity | 1/cm">4.60942</I>227 <Idev unit="Intensity | 1/cm">0.056813</Idev>228 <Qdev unit="Q | 1/A">0.0</Qdev>229 </Idata>230 <Idata>231 <Q unit="Q | 1/A">0.083</Q>232 <I unit="Intensity | 1/cm">4.46606</I>233 <Idev unit="Intensity | 1/cm">0.0569381</Idev>234 <Qdev unit="Q | 1/A">0.0</Qdev>235 </Idata>236 <Idata>237 <Q unit="Q | 1/A">0.085</Q>238 <I unit="Intensity | 1/cm">4.32473</I>239 <Idev unit="Intensity | 1/cm">0.0558766</Idev>240 <Qdev unit="Q | 1/A">0.0</Qdev>241 </Idata>242 <Idata>243 <Q unit="Q | 1/A">0.087</Q>244 <I unit="Intensity | 1/cm">4.14144</I>245 <Idev unit="Intensity | 1/cm">0.0552525</Idev>246 <Qdev unit="Q | 1/A">0.0</Qdev>247 </Idata>248 <Idata>249 <Q unit="Q | 1/A">0.089</Q>250 <I unit="Intensity | 1/cm">3.86504</I>251 <Idev unit="Intensity | 1/cm">0.0544569</Idev>252 <Qdev unit="Q | 1/A">0.0</Qdev>253 </Idata>254 <Idata>255 <Q unit="Q | 1/A">0.091</Q>256 <I unit="Intensity | 1/cm">3.74272</I>257 <Idev unit="Intensity | 1/cm">0.0529596</Idev>258 <Qdev unit="Q | 1/A">0.0</Qdev>259 </Idata>260 <Idata>261 <Q unit="Q | 1/A">0.093</Q>262 <I unit="Intensity | 1/cm">3.68281</I>263 <Idev unit="Intensity | 1/cm">0.052891</Idev>264 <Qdev unit="Q | 1/A">0.0</Qdev>265 </Idata>266 <Idata>267 <Q unit="Q | 1/A">0.095</Q>268 <I unit="Intensity | 1/cm">3.46991</I>269 <Idev unit="Intensity | 1/cm">0.0517565</Idev>270 <Qdev unit="Q | 1/A">0.0</Qdev>271 </Idata>272 <Idata>273 <Q unit="Q | 1/A">0.097</Q>274 <I unit="Intensity | 1/cm">3.37244</I>275 <Idev unit="Intensity | 1/cm">0.0509328</Idev>276 <Qdev unit="Q | 1/A">0.0</Qdev>277 </Idata>278 <Idata>279 <Q unit="Q | 1/A">0.099</Q>280 <I unit="Intensity | 1/cm">3.27074</I>281 <Idev unit="Intensity | 1/cm">0.0505183</Idev>282 <Qdev unit="Q | 1/A">0.0</Qdev>283 </Idata>284 <Idata>285 <Q unit="Q | 1/A">0.101</Q>286 <I unit="Intensity | 1/cm">3.13326</I>287 <Idev unit="Intensity | 1/cm">0.0490847</Idev>288 <Qdev unit="Q | 1/A">0.0</Qdev>289 </Idata>290 <Idata>291 <Q unit="Q | 1/A">0.103</Q>292 <I unit="Intensity | 1/cm">3.01387</I>293 <Idev unit="Intensity | 1/cm">0.0487012</Idev>294 <Qdev unit="Q | 1/A">0.0</Qdev>295 </Idata>296 <Idata>297 <Q unit="Q | 1/A">0.105</Q>298 <I unit="Intensity | 1/cm">2.87628</I>299 <Idev unit="Intensity | 1/cm">0.0484307</Idev>300 <Qdev unit="Q | 1/A">0.0</Qdev>301 </Idata>302 <Idata>303 <Q unit="Q | 1/A">0.107</Q>304 <I unit="Intensity | 1/cm">2.85043</I>305 <Idev unit="Intensity | 1/cm">0.0476786</Idev>306 <Qdev unit="Q | 1/A">0.0</Qdev>307 </Idata>308 <Idata>309 <Q unit="Q | 1/A">0.109</Q>310 <I unit="Intensity | 1/cm">2.72799</I>311 <Idev unit="Intensity | 1/cm">0.0475526</Idev>312 <Qdev unit="Q | 1/A">0.0</Qdev>313 </Idata>314 <Idata>315 <Q unit="Q | 1/A">0.111</Q>316 <I unit="Intensity | 1/cm">2.61206</I>317 <Idev unit="Intensity | 1/cm">0.0467475</Idev>318 <Qdev unit="Q | 1/A">0.0</Qdev>319 </Idata>320 <Idata>321 <Q unit="Q | 1/A">0.113</Q>322 <I unit="Intensity | 1/cm">2.58895</I>323 <Idev unit="Intensity | 1/cm">0.0469767</Idev>324 <Qdev unit="Q | 1/A">0.0</Qdev>325 </Idata>326 <Idata>327 <Q unit="Q | 1/A">0.115</Q>328 <I unit="Intensity | 1/cm">2.45987</I>329 <Idev unit="Intensity | 1/cm">0.0460139</Idev>330 <Qdev unit="Q | 1/A">0.0</Qdev>331 </Idata>332 <Idata>333 <Q unit="Q | 1/A">0.117</Q>334 <I unit="Intensity | 1/cm">2.37723</I>335 <Idev unit="Intensity | 1/cm">0.045272</Idev>336 <Qdev unit="Q | 1/A">0.0</Qdev>337 </Idata>338 <Idata>339 <Q unit="Q | 1/A">0.119</Q>340 <I unit="Intensity | 1/cm">2.34122</I>341 <Idev unit="Intensity | 1/cm">0.0453741</Idev>342 <Qdev unit="Q | 1/A">0.0</Qdev>343 </Idata>344 <Idata>345 <Q unit="Q | 1/A">0.121</Q>346 <I unit="Intensity | 1/cm">2.21745</I>347 <Idev unit="Intensity | 1/cm">0.0444485</Idev>348 <Qdev unit="Q | 1/A">0.0</Qdev>349 </Idata>350 <Idata>351 <Q unit="Q | 1/A">0.123</Q>352 <I unit="Intensity | 1/cm">2.12646</I>353 <Idev unit="Intensity | 1/cm">0.0438385</Idev>354 <Qdev unit="Q | 1/A">0.0</Qdev>355 </Idata>356 <Idata>357 <Q unit="Q | 1/A">0.125</Q>358 <I unit="Intensity | 1/cm">2.11264</I>359 <Idev unit="Intensity | 1/cm">0.0441662</Idev>360 <Qdev unit="Q | 1/A">0.0</Qdev>361 </Idata>362 <Idata>363 <Q unit="Q | 1/A">0.127</Q>364 <I unit="Intensity | 1/cm">2.07523</I>365 <Idev unit="Intensity | 1/cm">0.0438979</Idev>366 <Qdev unit="Q | 1/A">0.0</Qdev>367 </Idata>368 <Idata>369 <Q unit="Q | 1/A">0.129</Q>370 <I unit="Intensity | 1/cm">2.03548</I>371 <Idev unit="Intensity | 1/cm">0.0442422</Idev>372 <Qdev unit="Q | 1/A">0.0</Qdev>373 </Idata>374 <Idata>375 <Q unit="Q | 1/A">0.131</Q>376 <I unit="Intensity | 1/cm">1.92452</I>377 <Idev unit="Intensity | 1/cm">0.0435959</Idev>378 <Qdev unit="Q | 1/A">0.0</Qdev>379 </Idata>380 <Idata>381 <Q unit="Q | 1/A">0.133</Q>382 <I unit="Intensity | 1/cm">1.90866</I>383 <Idev unit="Intensity | 1/cm">0.0437401</Idev>384 <Qdev unit="Q | 1/A">0.0</Qdev>385 </Idata>386 <Idata>387 <Q unit="Q | 1/A">0.135</Q>388 <I unit="Intensity | 1/cm">1.91252</I>389 <Idev unit="Intensity | 1/cm">0.0443163</Idev>390 <Qdev unit="Q | 1/A">0.0</Qdev>391 </Idata>392 <Idata>393 <Q unit="Q | 1/A">0.137</Q>394 <I unit="Intensity | 1/cm">1.80405</I>395 <Idev unit="Intensity | 1/cm">0.043466</Idev>396 <Qdev unit="Q | 1/A">0.0</Qdev>397 </Idata>398 <Idata>399 <Q unit="Q | 1/A">0.139</Q>400 <I unit="Intensity | 1/cm">1.72166</I>401 <Idev unit="Intensity | 1/cm">0.0429246</Idev>402 <Qdev unit="Q | 1/A">0.0</Qdev>403 </Idata>404 <Idata>405 <Q unit="Q | 1/A">0.141</Q>406 <I unit="Intensity | 1/cm">1.67199</I>407 <Idev unit="Intensity | 1/cm">0.042469</Idev>408 <Qdev unit="Q | 1/A">0.0</Qdev>409 </Idata>410 <Idata>411 <Q unit="Q | 1/A">0.143</Q>412 <I unit="Intensity | 1/cm">1.63282</I>413 <Idev unit="Intensity | 1/cm">0.0430074</Idev>414 <Qdev unit="Q | 1/A">0.0</Qdev>415 </Idata>416 <Idata>417 <Q unit="Q | 1/A">0.145</Q>418 <I unit="Intensity | 1/cm">1.63712</I>419 <Idev unit="Intensity | 1/cm">0.0438557</Idev>420 <Qdev unit="Q | 1/A">0.0</Qdev>421 </Idata>422 <Idata>423 <Q unit="Q | 1/A">0.147</Q>424 <I unit="Intensity | 1/cm">1.5862</I>425 <Idev unit="Intensity | 1/cm">0.0434135</Idev>426 <Qdev unit="Q | 1/A">0.0</Qdev>427 </Idata>428 <Idata>429 <Q unit="Q | 1/A">0.149</Q>430 <I unit="Intensity | 1/cm">1.56121</I>431 <Idev unit="Intensity | 1/cm">0.0432591</Idev>432 <Qdev unit="Q | 1/A">0.0</Qdev>433 </Idata>434 <Idata>435 <Q unit="Q | 1/A">0.151</Q>436 <I unit="Intensity | 1/cm">1.49764</I>437 <Idev unit="Intensity | 1/cm">0.0426577</Idev>438 <Qdev unit="Q | 1/A">0.0</Qdev>439 </Idata>440 <Idata>441 <Q unit="Q | 1/A">0.153</Q>442 <I unit="Intensity | 1/cm">1.53828</I>443 <Idev unit="Intensity | 1/cm">0.0446481</Idev>444 <Qdev unit="Q | 1/A">0.0</Qdev>445 </Idata>446 <Idata>447 <Q unit="Q | 1/A">0.155</Q>448 <I unit="Intensity | 1/cm">1.47366</I>449 <Idev unit="Intensity | 1/cm">0.0441973</Idev>450 <Qdev unit="Q | 1/A">0.0</Qdev>451 </Idata>452 <Idata>453 <Q unit="Q | 1/A">0.157</Q>454 <I unit="Intensity | 1/cm">1.40582</I>455 <Idev unit="Intensity | 1/cm">0.0430461</Idev>456 <Qdev unit="Q | 1/A">0.0</Qdev>457 </Idata>458 <Idata>459 <Q unit="Q | 1/A">0.159</Q>460 <I unit="Intensity | 1/cm">1.40491</I>461 <Idev unit="Intensity | 1/cm">0.0439883</Idev>462 <Qdev unit="Q | 1/A">0.0</Qdev>463 </Idata>464 <Idata>465 <Q unit="Q | 1/A">0.161</Q>466 <I unit="Intensity | 1/cm">1.34639</I>467 <Idev unit="Intensity | 1/cm">0.044193</Idev>468 <Qdev unit="Q | 1/A">0.0</Qdev>469 </Idata>470 <Idata>471 <Q unit="Q | 1/A">0.163</Q>472 <I unit="Intensity | 1/cm">1.32238</I>473 <Idev unit="Intensity | 1/cm">0.0438008</Idev>474 <Qdev unit="Q | 1/A">0.0</Qdev>475 </Idata>476 <Idata>477 <Q unit="Q | 1/A">0.165</Q>478 <I unit="Intensity | 1/cm">1.33885</I>479 <Idev unit="Intensity | 1/cm">0.0445383</Idev>480 <Qdev unit="Q | 1/A">0.0</Qdev>481 </Idata>482 <Idata>483 <Q unit="Q | 1/A">0.167</Q>484 <I unit="Intensity | 1/cm">1.29608</I>485 <Idev unit="Intensity | 1/cm">0.0451575</Idev>486 <Qdev unit="Q | 1/A">0.0</Qdev>487 </Idata>488 <Idata>489 <Q unit="Q | 1/A">0.169</Q>490 <I unit="Intensity | 1/cm">1.30562</I>491 <Idev unit="Intensity | 1/cm">0.0460656</Idev>492 <Qdev unit="Q | 1/A">0.0</Qdev>493 </Idata>494 <Idata>495 <Q unit="Q | 1/A">0.171</Q>496 <I unit="Intensity | 1/cm">1.17147</I>497 <Idev unit="Intensity | 1/cm">0.0435717</Idev>498 <Qdev unit="Q | 1/A">0.0</Qdev>499 </Idata>500 <Idata>501 <Q unit="Q | 1/A">0.173</Q>502 <I unit="Intensity | 1/cm">1.18565</I>503 <Idev unit="Intensity | 1/cm">0.0449072</Idev>504 <Qdev unit="Q | 1/A">0.0</Qdev>505 </Idata>506 <Idata>507 <Q unit="Q | 1/A">0.175</Q>508 <I unit="Intensity | 1/cm">1.18944</I>509 <Idev unit="Intensity | 1/cm">0.0465319</Idev>510 <Qdev unit="Q | 1/A">0.0</Qdev>511 </Idata>512 <Idata>513 <Q unit="Q | 1/A">0.177</Q>514 <I unit="Intensity | 1/cm">1.17055</I>515 <Idev unit="Intensity | 1/cm">0.0456562</Idev>516 <Qdev unit="Q | 1/A">0.0</Qdev>517 </Idata>518 <Idata>519 <Q unit="Q | 1/A">0.179</Q>520 <I unit="Intensity | 1/cm">1.08571</I>521 <Idev unit="Intensity | 1/cm">0.0453852</Idev>522 <Qdev unit="Q | 1/A">0.0</Qdev>523 </Idata>524 <Idata>525 <Q unit="Q | 1/A">0.181</Q>526 <I unit="Intensity | 1/cm">1.06208</I>527 <Idev unit="Intensity | 1/cm">0.0463335</Idev>528 <Qdev unit="Q | 1/A">0.0</Qdev>529 </Idata>530 <Idata>531 <Q unit="Q | 1/A">0.183</Q>532 <I unit="Intensity | 1/cm">1.06187</I>533 <Idev unit="Intensity | 1/cm">0.0458284</Idev>534 <Qdev unit="Q | 1/A">0.0</Qdev>535 </Idata>536 <Idata>537 <Q unit="Q | 1/A">0.185</Q>538 <I unit="Intensity | 1/cm">1.02727</I>539 <Idev unit="Intensity | 1/cm">0.0472613</Idev>540 <Qdev unit="Q | 1/A">0.0</Qdev>541 </Idata>542 <Idata>543 <Q unit="Q | 1/A">0.187</Q>544 <I unit="Intensity | 1/cm">0.995169</I>545 <Idev unit="Intensity | 1/cm">0.0465526</Idev>546 <Qdev unit="Q | 1/A">0.0</Qdev>547 </Idata>548 <Idata>549 <Q unit="Q | 1/A">0.189</Q>550 <I unit="Intensity | 1/cm">1.02569</I>551 <Idev unit="Intensity | 1/cm">0.0483728</Idev>552 <Qdev unit="Q | 1/A">0.0</Qdev>553 </Idata>554 <Idata>555 <Q unit="Q | 1/A">0.191</Q>556 <I unit="Intensity | 1/cm">0.981154</I>557 <Idev unit="Intensity | 1/cm">0.0490559</Idev>558 <Qdev unit="Q | 1/A">0.0</Qdev>559 </Idata>560 <Idata>561 <Q unit="Q | 1/A">0.193</Q>562 <I unit="Intensity | 1/cm">1.01831</I>563 <Idev unit="Intensity | 1/cm">0.0502348</Idev>564 <Qdev unit="Q | 1/A">0.0</Qdev>565 </Idata>566 <Idata>567 <Q unit="Q | 1/A">0.195</Q>568 <I unit="Intensity | 1/cm">0.968102</I>569 <Idev unit="Intensity | 1/cm">0.0504426</Idev>570 <Qdev unit="Q | 1/A">0.0</Qdev>571 </Idata>572 <Idata>573 <Q unit="Q | 1/A">0.197</Q>574 <I unit="Intensity | 1/cm">0.940656</I>575 <Idev unit="Intensity | 1/cm">0.0512734</Idev>576 <Qdev unit="Q | 1/A">0.0</Qdev>577 </Idata>578 <Idata>579 <Q unit="Q | 1/A">0.199</Q>580 <I unit="Intensity | 1/cm">1.05762</I>581 <Idev unit="Intensity | 1/cm">0.0547469</Idev>582 <Qdev unit="Q | 1/A">0.0</Qdev>583 </Idata>584 <Idata>585 <Q unit="Q | 1/A">0.201</Q>586 <I unit="Intensity | 1/cm">0.949872</I>587 <Idev unit="Intensity | 1/cm">0.055229</Idev>588 <Qdev unit="Q | 1/A">0.0</Qdev>589 </Idata>590 <Idata>591 <Q unit="Q | 1/A">0.203</Q>592 <I unit="Intensity | 1/cm">0.891716</I>593 <Idev unit="Intensity | 1/cm">0.0531346</Idev>594 <Qdev unit="Q | 1/A">0.0</Qdev>595 </Idata>596 <Idata>597 <Q unit="Q | 1/A">0.205</Q>598 <I unit="Intensity | 1/cm">0.876084</I>599 <Idev unit="Intensity | 1/cm">0.0548681</Idev>600 <Qdev unit="Q | 1/A">0.0</Qdev>601 </Idata>602 <Idata>603 <Q unit="Q | 1/A">0.207</Q>604 <I unit="Intensity | 1/cm">0.932101</I>605 <Idev unit="Intensity | 1/cm">0.0576812</Idev>606 <Qdev unit="Q | 1/A">0.0</Qdev>607 </Idata>608 <Idata>609 <Q unit="Q | 1/A">0.209</Q>610 <I unit="Intensity | 1/cm">0.927755</I>611 <Idev unit="Intensity | 1/cm">0.0593404</Idev>612 <Qdev unit="Q | 1/A">0.0</Qdev>613 </Idata>614 <Idata>615 <Q unit="Q | 1/A">0.211</Q>616 <I unit="Intensity | 1/cm">0.87669</I>617 <Idev unit="Intensity | 1/cm">0.0600369</Idev>618 <Qdev unit="Q | 1/A">0.0</Qdev>619 </Idata>620 <Idata>621 <Q unit="Q | 1/A">0.213</Q>622 <I unit="Intensity | 1/cm">0.809125</I>623 <Idev unit="Intensity | 1/cm">0.0588107</Idev>624 <Qdev unit="Q | 1/A">0.0</Qdev>625 </Idata>626 <Idata>627 <Q unit="Q | 1/A">0.215</Q>628 <I unit="Intensity | 1/cm">0.941202</I>629 <Idev unit="Intensity | 1/cm">0.0659121</Idev>630 <Qdev unit="Q | 1/A">0.0</Qdev>631 </Idata>632 <Idata>633 <Q unit="Q | 1/A">0.217</Q>634 <I unit="Intensity | 1/cm">0.946175</I>635 <Idev unit="Intensity | 1/cm">0.0690784</Idev>636 <Qdev unit="Q | 1/A">0.0</Qdev>637 </Idata>638 <Idata>639 <Q unit="Q | 1/A">0.219</Q>640 <I unit="Intensity | 1/cm">0.859875</I>641 <Idev unit="Intensity | 1/cm">0.0674435</Idev>642 <Qdev unit="Q | 1/A">0.0</Qdev>643 </Idata>644 <Idata>645 <Q unit="Q | 1/A">0.221</Q>646 <I unit="Intensity | 1/cm">0.959508</I>647 <Idev unit="Intensity | 1/cm">0.0718856</Idev>648 <Qdev unit="Q | 1/A">0.0</Qdev>649 </Idata>650 <Idata>651 <Q unit="Q | 1/A">0.223</Q>652 <I unit="Intensity | 1/cm">0.763222</I>653 <Idev unit="Intensity | 1/cm">0.0702866</Idev>654 <Qdev unit="Q | 1/A">0.0</Qdev>655 </Idata>656 <Idata>657 <Q unit="Q | 1/A">0.225</Q>658 <I unit="Intensity | 1/cm">0.785467</I>659 <Idev unit="Intensity | 1/cm">0.0742144</Idev>660 <Qdev unit="Q | 1/A">0.0</Qdev>661 </Idata>662 <Idata>663 <Q unit="Q | 1/A">0.227</Q>664 <I unit="Intensity | 1/cm">0.81876</I>665 <Idev unit="Intensity | 1/cm">0.074266</Idev>666 <Qdev unit="Q | 1/A">0.0</Qdev>667 </Idata>668 <Idata>669 <Q unit="Q | 1/A">0.229</Q>670 <I unit="Intensity | 1/cm">0.678311</I>671 <Idev unit="Intensity | 1/cm">0.0722578</Idev>672 <Qdev unit="Q | 1/A">0.0</Qdev>673 </Idata>674 <Idata>675 <Q unit="Q | 1/A">0.231</Q>676 <I unit="Intensity | 1/cm">0.761442</I>677 <Idev unit="Intensity | 1/cm">0.0814516</Idev>678 <Qdev unit="Q | 1/A">0.0</Qdev>679 </Idata>680 <Idata>681 <Q unit="Q | 1/A">0.233</Q>682 <I unit="Intensity | 1/cm">0.757076</I>683 <Idev unit="Intensity | 1/cm">0.0825262</Idev>684 <Qdev unit="Q | 1/A">0.0</Qdev>685 </Idata>686 <Idata>687 <Q unit="Q | 1/A">0.235</Q>688 <I unit="Intensity | 1/cm">0.600636</I>689 <Idev unit="Intensity | 1/cm">0.075041</Idev>690 <Qdev unit="Q | 1/A">0.0</Qdev>691 </Idata>692 <Idata>693 <Q unit="Q | 1/A">0.237</Q>694 <I unit="Intensity | 1/cm">0.685635</I>695 <Idev unit="Intensity | 1/cm">0.0842392</Idev>696 <Qdev unit="Q | 1/A">0.0</Qdev>697 </Idata>698 <Idata>699 <Q unit="Q | 1/A">0.239</Q>700 <I unit="Intensity | 1/cm">0.799186</I>701 <Idev unit="Intensity | 1/cm">0.0974365</Idev>702 <Qdev unit="Q | 1/A">0.0</Qdev>703 </Idata>704 <Idata>705 <Q unit="Q | 1/A">0.241</Q>706 <I unit="Intensity | 1/cm">0.737526</I>707 <Idev unit="Intensity | 1/cm">0.0957286</Idev>708 <Qdev unit="Q | 1/A">0.0</Qdev>709 </Idata>710 <Idata>711 <Q unit="Q | 1/A">0.243</Q>712 <I unit="Intensity | 1/cm">0.716415</I>713 <Idev unit="Intensity | 1/cm">0.0970448</Idev>714 <Qdev unit="Q | 1/A">0.0</Qdev>715 </Idata>716 <Idata>717 <Q unit="Q | 1/A">0.245</Q>718 <I unit="Intensity | 1/cm">0.720413</I>719 <Idev unit="Intensity | 1/cm">0.0981996</Idev>720 <Qdev unit="Q | 1/A">0.0</Qdev>721 </Idata>722 <Idata>723 <Q unit="Q | 1/A">0.247</Q>724 <I unit="Intensity | 1/cm">0.604059</I>725 <Idev unit="Intensity | 1/cm">0.100869</Idev>726 <Qdev unit="Q | 1/A">0.0</Qdev>727 </Idata>728 <Idata>729 <Q unit="Q | 1/A">0.249</Q>730 <I unit="Intensity | 1/cm">0.649073</I>731 <Idev unit="Intensity | 1/cm">0.109281</Idev>732 <Qdev unit="Q | 1/A">0.0</Qdev>733 </Idata>734 <Idata>735 <Q unit="Q | 1/A">0.251</Q>736 <I unit="Intensity | 1/cm">0.700691</I>737 <Idev unit="Intensity | 1/cm">0.114325</Idev>738 <Qdev unit="Q | 1/A">0.0</Qdev>739 </Idata>740 <Idata>741 <Q unit="Q | 1/A">0.253</Q>742 <I unit="Intensity | 1/cm">0.586789</I>743 <Idev unit="Intensity | 1/cm">0.108324</Idev>744 <Qdev unit="Q | 1/A">0.0</Qdev>745 </Idata>746 <Idata>747 <Q unit="Q | 1/A">0.255</Q>748 <I unit="Intensity | 1/cm">0.765838</I>749 <Idev unit="Intensity | 1/cm">0.139579</Idev>750 <Qdev unit="Q | 1/A">0.0</Qdev>751 </Idata>752 <Idata>753 <Q unit="Q | 1/A">0.257</Q>754 <I unit="Intensity | 1/cm">0.828968</I>755 <Idev unit="Intensity | 1/cm">0.156723</Idev>756 <Qdev unit="Q | 1/A">0.0</Qdev>757 </Idata>758 <Idata>759 <Q unit="Q | 1/A">0.259</Q>760 <I unit="Intensity | 1/cm">0.616499</I>761 <Idev unit="Intensity | 1/cm">0.137866</Idev>762 <Qdev unit="Q | 1/A">0.0</Qdev>763 </Idata>764 <Idata>765 <Q unit="Q | 1/A">0.261</Q>766 <I unit="Intensity | 1/cm">0.526011</I>767 <Idev unit="Intensity | 1/cm">0.126209</Idev>768 <Qdev unit="Q | 1/A">0.0</Qdev>769 </Idata>770 <Idata>771 <Q unit="Q | 1/A">0.263</Q>772 <I unit="Intensity | 1/cm">0.51277</I>773 <Idev unit="Intensity | 1/cm">0.126339</Idev>774 <Qdev unit="Q | 1/A">0.0</Qdev>775 </Idata>776 <Idata>777 <Q unit="Q | 1/A">0.265</Q>778 <I unit="Intensity | 1/cm">0.604189</I>779 <Idev unit="Intensity | 1/cm">0.166393</Idev>780 <Qdev unit="Q | 1/A">0.0</Qdev>781 </Idata>782 <Idata>783 <Q unit="Q | 1/A">0.267</Q>784 <I unit="Intensity | 1/cm">0.738765</I>785 <Idev unit="Intensity | 1/cm">0.194006</Idev>786 <Qdev unit="Q | 1/A">0.0</Qdev>787 </Idata>788 <Idata>789 <Q unit="Q | 1/A">0.269</Q>790 <I unit="Intensity | 1/cm">0.462803</I>791 <Idev unit="Intensity | 1/cm">0.155354</Idev>792 <Qdev unit="Q | 1/A">0.0</Qdev>793 </Idata>794 <Idata>795 <Q unit="Q | 1/A">0.271</Q>796 <I unit="Intensity | 1/cm">0.478694</I>797 <Idev unit="Intensity | 1/cm">0.171676</Idev>798 <Qdev unit="Q | 1/A">0.0</Qdev>799 </Idata>800 <Idata>801 <Q unit="Q | 1/A">0.273</Q>802 <I unit="Intensity | 1/cm">0.711983</I>803 <Idev unit="Intensity | 1/cm">0.255539</Idev>804 <Qdev unit="Q | 1/A">0.0</Qdev>805 </Idata>806 <Idata>807 <Q unit="Q | 1/A">0.275</Q>808 <I unit="Intensity | 1/cm">0.473304</I>809 <Idev unit="Intensity | 1/cm">0.230752</Idev>810 <Qdev unit="Q | 1/A">0.0</Qdev>811 </Idata>812 <Idata>813 <Q unit="Q | 1/A">0.277</Q>814 <I unit="Intensity | 1/cm">0.536817</I>815 <Idev unit="Intensity | 1/cm">0.262627</Idev>816 <Qdev unit="Q | 1/A">0.0</Qdev>817 </Idata>818 <Idata>819 <Q unit="Q | 1/A">0.279</Q>820 <I unit="Intensity | 1/cm">0.660654</I>821 <Idev unit="Intensity | 1/cm">0.297519</Idev>822 <Qdev unit="Q | 1/A">0.0</Qdev>823 </Idata>824 <Idata>825 <Q unit="Q | 1/A">0.281</Q>826 <I unit="Intensity | 1/cm">0.408902</I>827 <Idev unit="Intensity | 1/cm">0.24585</Idev>828 <Qdev unit="Q | 1/A">0.0</Qdev>829 </Idata>830 <Idata>831 <Q unit="Q | 1/A">0.283</Q>832 <I unit="Intensity | 1/cm">0.0</I>833 <Idev unit="Intensity | 1/cm">0.0</Idev>834 <Qdev unit="Q | 1/A">0.0</Qdev>835 </Idata>836 </SASdata>837 <SASsample name="">838 <ID>TK49 c10_SANS</ID>839 </SASsample>840 <SASinstrument>841 <name>LOQ</name>842 <SASsource>843 <radiation>neutron</radiation>844 </SASsource>845 <SAScollimation/>846 <SASdetector>847 <name>HAB</name>848 <SDD unit="mm">575.0</SDD>849 </SASdetector>850 <SASdetector>851 <name>main-detector-bank</name>852 <SDD unit="mm">4145.02</SDD>853 </SASdetector>854 </SASinstrument>855 <SASprocess>856 <name>Mantid generated CanSAS1D XML</name>857 <date>02-Aug-2013 16:54:14</date>858 <description></description>859 <term unit="" name="svn">2.5.3</term>860 <term unit="" name="user_file">K:/masks/MASKLOQ_MAN_132E_Lu_Banjo_12mm.txt</term>861 <SASprocessnote></SASprocessnote>862 </SASprocess>863 <SASnote></SASnote>864 </SASentry>865 </SASroot> -
test/sasdataloader/test/isis_1_1_write_test.xml
rc155a16 rb699768 1 <?xml version='1.0' encoding='UTF-8'?>2 <?xml-stylesheet type="text/xsl" href="cansas1d.xsl" ?>3 <SASroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:cansas1d:1.1" version="1.1" xsi:schemaLocation="urn:cansas1d:1.1 http://www.cansas.org/formats/1.1/cansas1d.xsd">4 <SASentry>5 <Title>TK49 c10_SANS</Title>6 <Run>79680</Run>7 <SASdata>8 <Idata>9 <Q unit="Q | 1/A">0.009</Q>10 <I unit="Intensity | 1/cm">85.3333</I>11 <Idev unit="Intensity | 1/cm">0.852491</Idev>12 <Qdev unit="Q | 1/A">0.0</Qdev>13 </Idata>14 <Idata>15 <Q unit="Q | 1/A">0.011</Q>16 <I unit="Intensity | 1/cm">72.5398</I>17 <Idev unit="Intensity | 1/cm">0.639548</Idev>18 <Qdev unit="Q | 1/A">0.0</Qdev>19 </Idata>20 <Idata>21 <Q unit="Q | 1/A">0.013</Q>22 <I unit="Intensity | 1/cm">63.3582</I>23 <Idev unit="Intensity | 1/cm">0.494127</Idev>24 <Qdev unit="Q | 1/A">0.0</Qdev>25 </Idata>26 <Idata>27 <Q unit="Q | 1/A">0.015</Q>28 <I unit="Intensity | 1/cm">57.0952</I>29 <Idev unit="Intensity | 1/cm">0.414116</Idev>30 <Qdev unit="Q | 1/A">0.0</Qdev>31 </Idata>32 <Idata>33 <Q unit="Q | 1/A">0.017</Q>34 <I unit="Intensity | 1/cm">51.0139</I>35 <Idev unit="Intensity | 1/cm">0.35145</Idev>36 <Qdev unit="Q | 1/A">0.0</Qdev>37 </Idata>38 <Idata>39 <Q unit="Q | 1/A">0.019</Q>40 <I unit="Intensity | 1/cm">46.4746</I>41 <Idev unit="Intensity | 1/cm">0.308755</Idev>42 <Qdev unit="Q | 1/A">0.0</Qdev>43 </Idata>44 <Idata>45 <Q unit="Q | 1/A">0.021</Q>46 <I unit="Intensity | 1/cm">41.7191</I>47 <Idev unit="Intensity | 1/cm">0.271641</Idev>48 <Qdev unit="Q | 1/A">0.0</Qdev>49 </Idata>50 <Idata>51 <Q unit="Q | 1/A">0.023</Q>52 <I unit="Intensity | 1/cm">37.4208</I>53 <Idev unit="Intensity | 1/cm">0.244658</Idev>54 <Qdev unit="Q | 1/A">0.0</Qdev>55 </Idata>56 <Idata>57 <Q unit="Q | 1/A">0.025</Q>58 <I unit="Intensity | 1/cm">33.7352</I>59 <Idev unit="Intensity | 1/cm">0.219594</Idev>60 <Qdev unit="Q | 1/A">0.0</Qdev>61 </Idata>62 <Idata>63 <Q unit="Q | 1/A">0.027</Q>64 <I unit="Intensity | 1/cm">30.6073</I>65 <Idev unit="Intensity | 1/cm">0.203138</Idev>66 <Qdev unit="Q | 1/A">0.0</Qdev>67 </Idata>68 <Idata>69 <Q unit="Q | 1/A">0.029</Q>70 <I unit="Intensity | 1/cm">27.7309</I>71 <Idev unit="Intensity | 1/cm">0.185859</Idev>72 <Qdev unit="Q | 1/A">0.0</Qdev>73 </Idata>74 <Idata>75 <Q unit="Q | 1/A">0.031</Q>76 <I unit="Intensity | 1/cm">25.2579</I>77 <Idev unit="Intensity | 1/cm">0.171356</Idev>78 <Qdev unit="Q | 1/A">0.0</Qdev>79 </Idata>80 <Idata>81 <Q unit="Q | 1/A">0.033</Q>82 <I unit="Intensity | 1/cm">22.7712</I>83 <Idev unit="Intensity | 1/cm">0.159062</Idev>84 <Qdev unit="Q | 1/A">0.0</Qdev>85 </Idata>86 <Idata>87 <Q unit="Q | 1/A">0.035</Q>88 <I unit="Intensity | 1/cm">20.5323</I>89 <Idev unit="Intensity | 1/cm">0.146135</Idev>90 <Qdev unit="Q | 1/A">0.0</Qdev>91 </Idata>92 <Idata>93 <Q unit="Q | 1/A">0.037</Q>94 <I unit="Intensity | 1/cm">19.0744</I>95 <Idev unit="Intensity | 1/cm">0.136393</Idev>96 <Qdev unit="Q | 1/A">0.0</Qdev>97 </Idata>98 <Idata>99 <Q unit="Q | 1/A">0.039</Q>100 <I unit="Intensity | 1/cm">17.2832</I>101 <Idev unit="Intensity | 1/cm">0.127623</Idev>102 <Qdev unit="Q | 1/A">0.0</Qdev>103 </Idata>104 <Idata>105 <Q unit="Q | 1/A">0.041</Q>106 <I unit="Intensity | 1/cm">15.7399</I>107 <Idev unit="Intensity | 1/cm">0.118288</Idev>108 <Qdev unit="Q | 1/A">0.0</Qdev>109 </Idata>110 <Idata>111 <Q unit="Q | 1/A">0.043</Q>112 <I unit="Intensity | 1/cm">14.5598</I>113 <Idev unit="Intensity | 1/cm">0.111759</Idev>114 <Qdev unit="Q | 1/A">0.0</Qdev>115 </Idata>116 <Idata>117 <Q unit="Q | 1/A">0.045</Q>118 <I unit="Intensity | 1/cm">13.5906</I>119 <Idev unit="Intensity | 1/cm">0.105148</Idev>120 <Qdev unit="Q | 1/A">0.0</Qdev>121 </Idata>122 <Idata>123 <Q unit="Q | 1/A">0.047</Q>124 <I unit="Intensity | 1/cm">12.6707</I>125 <Idev unit="Intensity | 1/cm">0.0996579</Idev>126 <Qdev unit="Q | 1/A">0.0</Qdev>127 </Idata>128 <Idata>129 <Q unit="Q | 1/A">0.049</Q>130 <I unit="Intensity | 1/cm">11.5247</I>131 <Idev unit="Intensity | 1/cm">0.0929646</Idev>132 <Qdev unit="Q | 1/A">0.0</Qdev>133 </Idata>134 <Idata>135 <Q unit="Q | 1/A">0.051</Q>136 <I unit="Intensity | 1/cm">10.7089</I>137 <Idev unit="Intensity | 1/cm">0.0888575</Idev>138 <Qdev unit="Q | 1/A">0.0</Qdev>139 </Idata>140 <Idata>141 <Q unit="Q | 1/A">0.053</Q>142 <I unit="Intensity | 1/cm">10.1436</I>143 <Idev unit="Intensity | 1/cm">0.0849394</Idev>144 <Qdev unit="Q | 1/A">0.0</Qdev>145 </Idata>146 <Idata>147 <Q unit="Q | 1/A">0.055</Q>148 <I unit="Intensity | 1/cm">9.49446</I>149 <Idev unit="Intensity | 1/cm">0.0811205</Idev>150 <Qdev unit="Q | 1/A">0.0</Qdev>151 </Idata>152 <Idata>153 <Q unit="Q | 1/A">0.057</Q>154 <I unit="Intensity | 1/cm">8.80775</I>155 <Idev unit="Intensity | 1/cm">0.0773967</Idev>156 <Qdev unit="Q | 1/A">0.0</Qdev>157 </Idata>158 <Idata>159 <Q unit="Q | 1/A">0.059</Q>160 <I unit="Intensity | 1/cm">8.33366</I>161 <Idev unit="Intensity | 1/cm">0.0748147</Idev>162 <Qdev unit="Q | 1/A">0.0</Qdev>163 </Idata>164 <Idata>165 <Q unit="Q | 1/A">0.061</Q>166 <I unit="Intensity | 1/cm">7.79157</I>167 <Idev unit="Intensity | 1/cm">0.0720107</Idev>168 <Qdev unit="Q | 1/A">0.0</Qdev>169 </Idata>170 <Idata>171 <Q unit="Q | 1/A">0.063</Q>172 <I unit="Intensity | 1/cm">7.25902</I>173 <Idev unit="Intensity | 1/cm">0.0693582</Idev>174 <Qdev unit="Q | 1/A">0.0</Qdev>175 </Idata>176 <Idata>177 <Q unit="Q | 1/A">0.065</Q>178 <I unit="Intensity | 1/cm">7.04789</I>179 <Idev unit="Intensity | 1/cm">0.0677591</Idev>180 <Qdev unit="Q | 1/A">0.0</Qdev>181 </Idata>182 <Idata>183 <Q unit="Q | 1/A">0.067</Q>184 <I unit="Intensity | 1/cm">6.53311</I>185 <Idev unit="Intensity | 1/cm">0.0652207</Idev>186 <Qdev unit="Q | 1/A">0.0</Qdev>187 </Idata>188 <Idata>189 <Q unit="Q | 1/A">0.069</Q>190 <I unit="Intensity | 1/cm">6.2453</I>191 <Idev unit="Intensity | 1/cm">0.0642016</Idev>192 <Qdev unit="Q | 1/A">0.0</Qdev>193 </Idata>194 <Idata>195 <Q unit="Q | 1/A">0.071</Q>196 <I unit="Intensity | 1/cm">5.94152</I>197 <Idev unit="Intensity | 1/cm">0.0625768</Idev>198 <Qdev unit="Q | 1/A">0.0</Qdev>199 </Idata>200 <Idata>201 <Q unit="Q | 1/A">0.073</Q>202 <I unit="Intensity | 1/cm">5.70816</I>203 <Idev unit="Intensity | 1/cm">0.0612955</Idev>204 <Qdev unit="Q | 1/A">0.0</Qdev>205 </Idata>206 <Idata>207 <Q unit="Q | 1/A">0.075</Q>208 <I unit="Intensity | 1/cm">5.24449</I>209 <Idev unit="Intensity | 1/cm">0.060141</Idev>210 <Qdev unit="Q | 1/A">0.0</Qdev>211 </Idata>212 <Idata>213 <Q unit="Q | 1/A">0.077</Q>214 <I unit="Intensity | 1/cm">5.08291</I>215 <Idev unit="Intensity | 1/cm">0.0582239</Idev>216 <Qdev unit="Q | 1/A">0.0</Qdev>217 </Idata>218 <Idata>219 <Q unit="Q | 1/A">0.079</Q>220 <I unit="Intensity | 1/cm">4.88135</I>221 <Idev unit="Intensity | 1/cm">0.057969</Idev>222 <Qdev unit="Q | 1/A">0.0</Qdev>223 </Idata>224 <Idata>225 <Q unit="Q | 1/A">0.081</Q>226 <I unit="Intensity | 1/cm">4.60942</I>227 <Idev unit="Intensity | 1/cm">0.056813</Idev>228 <Qdev unit="Q | 1/A">0.0</Qdev>229 </Idata>230 <Idata>231 <Q unit="Q | 1/A">0.083</Q>232 <I unit="Intensity | 1/cm">4.46606</I>233 <Idev unit="Intensity | 1/cm">0.0569381</Idev>234 <Qdev unit="Q | 1/A">0.0</Qdev>235 </Idata>236 <Idata>237 <Q unit="Q | 1/A">0.085</Q>238 <I unit="Intensity | 1/cm">4.32473</I>239 <Idev unit="Intensity | 1/cm">0.0558766</Idev>240 <Qdev unit="Q | 1/A">0.0</Qdev>241 </Idata>242 <Idata>243 <Q unit="Q | 1/A">0.087</Q>244 <I unit="Intensity | 1/cm">4.14144</I>245 <Idev unit="Intensity | 1/cm">0.0552525</Idev>246 <Qdev unit="Q | 1/A">0.0</Qdev>247 </Idata>248 <Idata>249 <Q unit="Q | 1/A">0.089</Q>250 <I unit="Intensity | 1/cm">3.86504</I>251 <Idev unit="Intensity | 1/cm">0.0544569</Idev>252 <Qdev unit="Q | 1/A">0.0</Qdev>253 </Idata>254 <Idata>255 <Q unit="Q | 1/A">0.091</Q>256 <I unit="Intensity | 1/cm">3.74272</I>257 <Idev unit="Intensity | 1/cm">0.0529596</Idev>258 <Qdev unit="Q | 1/A">0.0</Qdev>259 </Idata>260 <Idata>261 <Q unit="Q | 1/A">0.093</Q>262 <I unit="Intensity | 1/cm">3.68281</I>263 <Idev unit="Intensity | 1/cm">0.052891</Idev>264 <Qdev unit="Q | 1/A">0.0</Qdev>265 </Idata>266 <Idata>267 <Q unit="Q | 1/A">0.095</Q>268 <I unit="Intensity | 1/cm">3.46991</I>269 <Idev unit="Intensity | 1/cm">0.0517565</Idev>270 <Qdev unit="Q | 1/A">0.0</Qdev>271 </Idata>272 <Idata>273 <Q unit="Q | 1/A">0.097</Q>274 <I unit="Intensity | 1/cm">3.37244</I>275 <Idev unit="Intensity | 1/cm">0.0509328</Idev>276 <Qdev unit="Q | 1/A">0.0</Qdev>277 </Idata>278 <Idata>279 <Q unit="Q | 1/A">0.099</Q>280 <I unit="Intensity | 1/cm">3.27074</I>281 <Idev unit="Intensity | 1/cm">0.0505183</Idev>282 <Qdev unit="Q | 1/A">0.0</Qdev>283 </Idata>284 <Idata>285 <Q unit="Q | 1/A">0.101</Q>286 <I unit="Intensity | 1/cm">3.13326</I>287 <Idev unit="Intensity | 1/cm">0.0490847</Idev>288 <Qdev unit="Q | 1/A">0.0</Qdev>289 </Idata>290 <Idata>291 <Q unit="Q | 1/A">0.103</Q>292 <I unit="Intensity | 1/cm">3.01387</I>293 <Idev unit="Intensity | 1/cm">0.0487012</Idev>294 <Qdev unit="Q | 1/A">0.0</Qdev>295 </Idata>296 <Idata>297 <Q unit="Q | 1/A">0.105</Q>298 <I unit="Intensity | 1/cm">2.87628</I>299 <Idev unit="Intensity | 1/cm">0.0484307</Idev>300 <Qdev unit="Q | 1/A">0.0</Qdev>301 </Idata>302 <Idata>303 <Q unit="Q | 1/A">0.107</Q>304 <I unit="Intensity | 1/cm">2.85043</I>305 <Idev unit="Intensity | 1/cm">0.0476786</Idev>306 <Qdev unit="Q | 1/A">0.0</Qdev>307 </Idata>308 <Idata>309 <Q unit="Q | 1/A">0.109</Q>310 <I unit="Intensity | 1/cm">2.72799</I>311 <Idev unit="Intensity | 1/cm">0.0475526</Idev>312 <Qdev unit="Q | 1/A">0.0</Qdev>313 </Idata>314 <Idata>315 <Q unit="Q | 1/A">0.111</Q>316 <I unit="Intensity | 1/cm">2.61206</I>317 <Idev unit="Intensity | 1/cm">0.0467475</Idev>318 <Qdev unit="Q | 1/A">0.0</Qdev>319 </Idata>320 <Idata>321 <Q unit="Q | 1/A">0.113</Q>322 <I unit="Intensity | 1/cm">2.58895</I>323 <Idev unit="Intensity | 1/cm">0.0469767</Idev>324 <Qdev unit="Q | 1/A">0.0</Qdev>325 </Idata>326 <Idata>327 <Q unit="Q | 1/A">0.115</Q>328 <I unit="Intensity | 1/cm">2.45987</I>329 <Idev unit="Intensity | 1/cm">0.0460139</Idev>330 <Qdev unit="Q | 1/A">0.0</Qdev>331 </Idata>332 <Idata>333 <Q unit="Q | 1/A">0.117</Q>334 <I unit="Intensity | 1/cm">2.37723</I>335 <Idev unit="Intensity | 1/cm">0.045272</Idev>336 <Qdev unit="Q | 1/A">0.0</Qdev>337 </Idata>338 <Idata>339 <Q unit="Q | 1/A">0.119</Q>340 <I unit="Intensity | 1/cm">2.34122</I>341 <Idev unit="Intensity | 1/cm">0.0453741</Idev>342 <Qdev unit="Q | 1/A">0.0</Qdev>343 </Idata>344 <Idata>345 <Q unit="Q | 1/A">0.121</Q>346 <I unit="Intensity | 1/cm">2.21745</I>347 <Idev unit="Intensity | 1/cm">0.0444485</Idev>348 <Qdev unit="Q | 1/A">0.0</Qdev>349 </Idata>350 <Idata>351 <Q unit="Q | 1/A">0.123</Q>352 <I unit="Intensity | 1/cm">2.12646</I>353 <Idev unit="Intensity | 1/cm">0.0438385</Idev>354 <Qdev unit="Q | 1/A">0.0</Qdev>355 </Idata>356 <Idata>357 <Q unit="Q | 1/A">0.125</Q>358 <I unit="Intensity | 1/cm">2.11264</I>359 <Idev unit="Intensity | 1/cm">0.0441662</Idev>360 <Qdev unit="Q | 1/A">0.0</Qdev>361 </Idata>362 <Idata>363 <Q unit="Q | 1/A">0.127</Q>364 <I unit="Intensity | 1/cm">2.07523</I>365 <Idev unit="Intensity | 1/cm">0.0438979</Idev>366 <Qdev unit="Q | 1/A">0.0</Qdev>367 </Idata>368 <Idata>369 <Q unit="Q | 1/A">0.129</Q>370 <I unit="Intensity | 1/cm">2.03548</I>371 <Idev unit="Intensity | 1/cm">0.0442422</Idev>372 <Qdev unit="Q | 1/A">0.0</Qdev>373 </Idata>374 <Idata>375 <Q unit="Q | 1/A">0.131</Q>376 <I unit="Intensity | 1/cm">1.92452</I>377 <Idev unit="Intensity | 1/cm">0.0435959</Idev>378 <Qdev unit="Q | 1/A">0.0</Qdev>379 </Idata>380 <Idata>381 <Q unit="Q | 1/A">0.133</Q>382 <I unit="Intensity | 1/cm">1.90866</I>383 <Idev unit="Intensity | 1/cm">0.0437401</Idev>384 <Qdev unit="Q | 1/A">0.0</Qdev>385 </Idata>386 <Idata>387 <Q unit="Q | 1/A">0.135</Q>388 <I unit="Intensity | 1/cm">1.91252</I>389 <Idev unit="Intensity | 1/cm">0.0443163</Idev>390 <Qdev unit="Q | 1/A">0.0</Qdev>391 </Idata>392 <Idata>393 <Q unit="Q | 1/A">0.137</Q>394 <I unit="Intensity | 1/cm">1.80405</I>395 <Idev unit="Intensity | 1/cm">0.043466</Idev>396 <Qdev unit="Q | 1/A">0.0</Qdev>397 </Idata>398 <Idata>399 <Q unit="Q | 1/A">0.139</Q>400 <I unit="Intensity | 1/cm">1.72166</I>401 <Idev unit="Intensity | 1/cm">0.0429246</Idev>402 <Qdev unit="Q | 1/A">0.0</Qdev>403 </Idata>404 <Idata>405 <Q unit="Q | 1/A">0.141</Q>406 <I unit="Intensity | 1/cm">1.67199</I>407 <Idev unit="Intensity | 1/cm">0.042469</Idev>408 <Qdev unit="Q | 1/A">0.0</Qdev>409 </Idata>410 <Idata>411 <Q unit="Q | 1/A">0.143</Q>412 <I unit="Intensity | 1/cm">1.63282</I>413 <Idev unit="Intensity | 1/cm">0.0430074</Idev>414 <Qdev unit="Q | 1/A">0.0</Qdev>415 </Idata>416 <Idata>417 <Q unit="Q | 1/A">0.145</Q>418 <I unit="Intensity | 1/cm">1.63712</I>419 <Idev unit="Intensity | 1/cm">0.0438557</Idev>420 <Qdev unit="Q | 1/A">0.0</Qdev>421 </Idata>422 <Idata>423 <Q unit="Q | 1/A">0.147</Q>424 <I unit="Intensity | 1/cm">1.5862</I>425 <Idev unit="Intensity | 1/cm">0.0434135</Idev>426 <Qdev unit="Q | 1/A">0.0</Qdev>427 </Idata>428 <Idata>429 <Q unit="Q | 1/A">0.149</Q>430 <I unit="Intensity | 1/cm">1.56121</I>431 <Idev unit="Intensity | 1/cm">0.0432591</Idev>432 <Qdev unit="Q | 1/A">0.0</Qdev>433 </Idata>434 <Idata>435 <Q unit="Q | 1/A">0.151</Q>436 <I unit="Intensity | 1/cm">1.49764</I>437 <Idev unit="Intensity | 1/cm">0.0426577</Idev>438 <Qdev unit="Q | 1/A">0.0</Qdev>439 </Idata>440 <Idata>441 <Q unit="Q | 1/A">0.153</Q>442 <I unit="Intensity | 1/cm">1.53828</I>443 <Idev unit="Intensity | 1/cm">0.0446481</Idev>444 <Qdev unit="Q | 1/A">0.0</Qdev>445 </Idata>446 <Idata>447 <Q unit="Q | 1/A">0.155</Q>448 <I unit="Intensity | 1/cm">1.47366</I>449 <Idev unit="Intensity | 1/cm">0.0441973</Idev>450 <Qdev unit="Q | 1/A">0.0</Qdev>451 </Idata>452 <Idata>453 <Q unit="Q | 1/A">0.157</Q>454 <I unit="Intensity | 1/cm">1.40582</I>455 <Idev unit="Intensity | 1/cm">0.0430461</Idev>456 <Qdev unit="Q | 1/A">0.0</Qdev>457 </Idata>458 <Idata>459 <Q unit="Q | 1/A">0.159</Q>460 <I unit="Intensity | 1/cm">1.40491</I>461 <Idev unit="Intensity | 1/cm">0.0439883</Idev>462 <Qdev unit="Q | 1/A">0.0</Qdev>463 </Idata>464 <Idata>465 <Q unit="Q | 1/A">0.161</Q>466 <I unit="Intensity | 1/cm">1.34639</I>467 <Idev unit="Intensity | 1/cm">0.044193</Idev>468 <Qdev unit="Q | 1/A">0.0</Qdev>469 </Idata>470 <Idata>471 <Q unit="Q | 1/A">0.163</Q>472 <I unit="Intensity | 1/cm">1.32238</I>473 <Idev unit="Intensity | 1/cm">0.0438008</Idev>474 <Qdev unit="Q | 1/A">0.0</Qdev>475 </Idata>476 <Idata>477 <Q unit="Q | 1/A">0.165</Q>478 <I unit="Intensity | 1/cm">1.33885</I>479 <Idev unit="Intensity | 1/cm">0.0445383</Idev>480 <Qdev unit="Q | 1/A">0.0</Qdev>481 </Idata>482 <Idata>483 <Q unit="Q | 1/A">0.167</Q>484 <I unit="Intensity | 1/cm">1.29608</I>485 <Idev unit="Intensity | 1/cm">0.0451575</Idev>486 <Qdev unit="Q | 1/A">0.0</Qdev>487 </Idata>488 <Idata>489 <Q unit="Q | 1/A">0.169</Q>490 <I unit="Intensity | 1/cm">1.30562</I>491 <Idev unit="Intensity | 1/cm">0.0460656</Idev>492 <Qdev unit="Q | 1/A">0.0</Qdev>493 </Idata>494 <Idata>495 <Q unit="Q | 1/A">0.171</Q>496 <I unit="Intensity | 1/cm">1.17147</I>497 <Idev unit="Intensity | 1/cm">0.0435717</Idev>498 <Qdev unit="Q | 1/A">0.0</Qdev>499 </Idata>500 <Idata>501 <Q unit="Q | 1/A">0.173</Q>502 <I unit="Intensity | 1/cm">1.18565</I>503 <Idev unit="Intensity | 1/cm">0.0449072</Idev>504 <Qdev unit="Q | 1/A">0.0</Qdev>505 </Idata>506 <Idata>507 <Q unit="Q | 1/A">0.175</Q>508 <I unit="Intensity | 1/cm">1.18944</I>509 <Idev unit="Intensity | 1/cm">0.0465319</Idev>510 <Qdev unit="Q | 1/A">0.0</Qdev>511 </Idata>512 <Idata>513 <Q unit="Q | 1/A">0.177</Q>514 <I unit="Intensity | 1/cm">1.17055</I>515 <Idev unit="Intensity | 1/cm">0.0456562</Idev>516 <Qdev unit="Q | 1/A">0.0</Qdev>517 </Idata>518 <Idata>519 <Q unit="Q | 1/A">0.179</Q>520 <I unit="Intensity | 1/cm">1.08571</I>521 <Idev unit="Intensity | 1/cm">0.0453852</Idev>522 <Qdev unit="Q | 1/A">0.0</Qdev>523 </Idata>524 <Idata>525 <Q unit="Q | 1/A">0.181</Q>526 <I unit="Intensity | 1/cm">1.06208</I>527 <Idev unit="Intensity | 1/cm">0.0463335</Idev>528 <Qdev unit="Q | 1/A">0.0</Qdev>529 </Idata>530 <Idata>531 <Q unit="Q | 1/A">0.183</Q>532 <I unit="Intensity | 1/cm">1.06187</I>533 <Idev unit="Intensity | 1/cm">0.0458284</Idev>534 <Qdev unit="Q | 1/A">0.0</Qdev>535 </Idata>536 <Idata>537 <Q unit="Q | 1/A">0.185</Q>538 <I unit="Intensity | 1/cm">1.02727</I>539 <Idev unit="Intensity | 1/cm">0.0472613</Idev>540 <Qdev unit="Q | 1/A">0.0</Qdev>541 </Idata>542 <Idata>543 <Q unit="Q | 1/A">0.187</Q>544 <I unit="Intensity | 1/cm">0.995169</I>545 <Idev unit="Intensity | 1/cm">0.0465526</Idev>546 <Qdev unit="Q | 1/A">0.0</Qdev>547 </Idata>548 <Idata>549 <Q unit="Q | 1/A">0.189</Q>550 <I unit="Intensity | 1/cm">1.02569</I>551 <Idev unit="Intensity | 1/cm">0.0483728</Idev>552 <Qdev unit="Q | 1/A">0.0</Qdev>553 </Idata>554 <Idata>555 <Q unit="Q | 1/A">0.191</Q>556 <I unit="Intensity | 1/cm">0.981154</I>557 <Idev unit="Intensity | 1/cm">0.0490559</Idev>558 <Qdev unit="Q | 1/A">0.0</Qdev>559 </Idata>560 <Idata>561 <Q unit="Q | 1/A">0.193</Q>562 <I unit="Intensity | 1/cm">1.01831</I>563 <Idev unit="Intensity | 1/cm">0.0502348</Idev>564 <Qdev unit="Q | 1/A">0.0</Qdev>565 </Idata>566 <Idata>567 <Q unit="Q | 1/A">0.195</Q>568 <I unit="Intensity | 1/cm">0.968102</I>569 <Idev unit="Intensity | 1/cm">0.0504426</Idev>570 <Qdev unit="Q | 1/A">0.0</Qdev>571 </Idata>572 <Idata>573 <Q unit="Q | 1/A">0.197</Q>574 <I unit="Intensity | 1/cm">0.940656</I>575 <Idev unit="Intensity | 1/cm">0.0512734</Idev>576 <Qdev unit="Q | 1/A">0.0</Qdev>577 </Idata>578 <Idata>579 <Q unit="Q | 1/A">0.199</Q>580 <I unit="Intensity | 1/cm">1.05762</I>581 <Idev unit="Intensity | 1/cm">0.0547469</Idev>582 <Qdev unit="Q | 1/A">0.0</Qdev>583 </Idata>584 <Idata>585 <Q unit="Q | 1/A">0.201</Q>586 <I unit="Intensity | 1/cm">0.949872</I>587 <Idev unit="Intensity | 1/cm">0.055229</Idev>588 <Qdev unit="Q | 1/A">0.0</Qdev>589 </Idata>590 <Idata>591 <Q unit="Q | 1/A">0.203</Q>592 <I unit="Intensity | 1/cm">0.891716</I>593 <Idev unit="Intensity | 1/cm">0.0531346</Idev>594 <Qdev unit="Q | 1/A">0.0</Qdev>595 </Idata>596 <Idata>597 <Q unit="Q | 1/A">0.205</Q>598 <I unit="Intensity | 1/cm">0.876084</I>599 <Idev unit="Intensity | 1/cm">0.0548681</Idev>600 <Qdev unit="Q | 1/A">0.0</Qdev>601 </Idata>602 <Idata>603 <Q unit="Q | 1/A">0.207</Q>604 <I unit="Intensity | 1/cm">0.932101</I>605 <Idev unit="Intensity | 1/cm">0.0576812</Idev>606 <Qdev unit="Q | 1/A">0.0</Qdev>607 </Idata>608 <Idata>609 <Q unit="Q | 1/A">0.209</Q>610 <I unit="Intensity | 1/cm">0.927755</I>611 <Idev unit="Intensity | 1/cm">0.0593404</Idev>612 <Qdev unit="Q | 1/A">0.0</Qdev>613 </Idata>614 <Idata>615 <Q unit="Q | 1/A">0.211</Q>616 <I unit="Intensity | 1/cm">0.87669</I>617 <Idev unit="Intensity | 1/cm">0.0600369</Idev>618 <Qdev unit="Q | 1/A">0.0</Qdev>619 </Idata>620 <Idata>621 <Q unit="Q | 1/A">0.213</Q>622 <I unit="Intensity | 1/cm">0.809125</I>623 <Idev unit="Intensity | 1/cm">0.0588107</Idev>624 <Qdev unit="Q | 1/A">0.0</Qdev>625 </Idata>626 <Idata>627 <Q unit="Q | 1/A">0.215</Q>628 <I unit="Intensity | 1/cm">0.941202</I>629 <Idev unit="Intensity | 1/cm">0.0659121</Idev>630 <Qdev unit="Q | 1/A">0.0</Qdev>631 </Idata>632 <Idata>633 <Q unit="Q | 1/A">0.217</Q>634 <I unit="Intensity | 1/cm">0.946175</I>635 <Idev unit="Intensity | 1/cm">0.0690784</Idev>636 <Qdev unit="Q | 1/A">0.0</Qdev>637 </Idata>638 <Idata>639 <Q unit="Q | 1/A">0.219</Q>640 <I unit="Intensity | 1/cm">0.859875</I>641 <Idev unit="Intensity | 1/cm">0.0674435</Idev>642 <Qdev unit="Q | 1/A">0.0</Qdev>643 </Idata>644 <Idata>645 <Q unit="Q | 1/A">0.221</Q>646 <I unit="Intensity | 1/cm">0.959508</I>647 <Idev unit="Intensity | 1/cm">0.0718856</Idev>648 <Qdev unit="Q | 1/A">0.0</Qdev>649 </Idata>650 <Idata>651 <Q unit="Q | 1/A">0.223</Q>652 <I unit="Intensity | 1/cm">0.763222</I>653 <Idev unit="Intensity | 1/cm">0.0702866</Idev>654 <Qdev unit="Q | 1/A">0.0</Qdev>655 </Idata>656 <Idata>657 <Q unit="Q | 1/A">0.225</Q>658 <I unit="Intensity | 1/cm">0.785467</I>659 <Idev unit="Intensity | 1/cm">0.0742144</Idev>660 <Qdev unit="Q | 1/A">0.0</Qdev>661 </Idata>662 <Idata>663 <Q unit="Q | 1/A">0.227</Q>664 <I unit="Intensity | 1/cm">0.81876</I>665 <Idev unit="Intensity | 1/cm">0.074266</Idev>666 <Qdev unit="Q | 1/A">0.0</Qdev>667 </Idata>668 <Idata>669 <Q unit="Q | 1/A">0.229</Q>670 <I unit="Intensity | 1/cm">0.678311</I>671 <Idev unit="Intensity | 1/cm">0.0722578</Idev>672 <Qdev unit="Q | 1/A">0.0</Qdev>673 </Idata>674 <Idata>675 <Q unit="Q | 1/A">0.231</Q>676 <I unit="Intensity | 1/cm">0.761442</I>677 <Idev unit="Intensity | 1/cm">0.0814516</Idev>678 <Qdev unit="Q | 1/A">0.0</Qdev>679 </Idata>680 <Idata>681 <Q unit="Q | 1/A">0.233</Q>682 <I unit="Intensity | 1/cm">0.757076</I>683 <Idev unit="Intensity | 1/cm">0.0825262</Idev>684 <Qdev unit="Q | 1/A">0.0</Qdev>685 </Idata>686 <Idata>687 <Q unit="Q | 1/A">0.235</Q>688 <I unit="Intensity | 1/cm">0.600636</I>689 <Idev unit="Intensity | 1/cm">0.075041</Idev>690 <Qdev unit="Q | 1/A">0.0</Qdev>691 </Idata>692 <Idata>693 <Q unit="Q | 1/A">0.237</Q>694 <I unit="Intensity | 1/cm">0.685635</I>695 <Idev unit="Intensity | 1/cm">0.0842392</Idev>696 <Qdev unit="Q | 1/A">0.0</Qdev>697 </Idata>698 <Idata>699 <Q unit="Q | 1/A">0.239</Q>700 <I unit="Intensity | 1/cm">0.799186</I>701 <Idev unit="Intensity | 1/cm">0.0974365</Idev>702 <Qdev unit="Q | 1/A">0.0</Qdev>703 </Idata>704 <Idata>705 <Q unit="Q | 1/A">0.241</Q>706 <I unit="Intensity | 1/cm">0.737526</I>707 <Idev unit="Intensity | 1/cm">0.0957286</Idev>708 <Qdev unit="Q | 1/A">0.0</Qdev>709 </Idata>710 <Idata>711 <Q unit="Q | 1/A">0.243</Q>712 <I unit="Intensity | 1/cm">0.716415</I>713 <Idev unit="Intensity | 1/cm">0.0970448</Idev>714 <Qdev unit="Q | 1/A">0.0</Qdev>715 </Idata>716 <Idata>717 <Q unit="Q | 1/A">0.245</Q>718 <I unit="Intensity | 1/cm">0.720413</I>719 <Idev unit="Intensity | 1/cm">0.0981996</Idev>720 <Qdev unit="Q | 1/A">0.0</Qdev>721 </Idata>722 <Idata>723 <Q unit="Q | 1/A">0.247</Q>724 <I unit="Intensity | 1/cm">0.604059</I>725 <Idev unit="Intensity | 1/cm">0.100869</Idev>726 <Qdev unit="Q | 1/A">0.0</Qdev>727 </Idata>728 <Idata>729 <Q unit="Q | 1/A">0.249</Q>730 <I unit="Intensity | 1/cm">0.649073</I>731 <Idev unit="Intensity | 1/cm">0.109281</Idev>732 <Qdev unit="Q | 1/A">0.0</Qdev>733 </Idata>734 <Idata>735 <Q unit="Q | 1/A">0.251</Q>736 <I unit="Intensity | 1/cm">0.700691</I>737 <Idev unit="Intensity | 1/cm">0.114325</Idev>738 <Qdev unit="Q | 1/A">0.0</Qdev>739 </Idata>740 <Idata>741 <Q unit="Q | 1/A">0.253</Q>742 <I unit="Intensity | 1/cm">0.586789</I>743 <Idev unit="Intensity | 1/cm">0.108324</Idev>744 <Qdev unit="Q | 1/A">0.0</Qdev>745 </Idata>746 <Idata>747 <Q unit="Q | 1/A">0.255</Q>748 <I unit="Intensity | 1/cm">0.765838</I>749 <Idev unit="Intensity | 1/cm">0.139579</Idev>750 <Qdev unit="Q | 1/A">0.0</Qdev>751 </Idata>752 <Idata>753 <Q unit="Q | 1/A">0.257</Q>754 <I unit="Intensity | 1/cm">0.828968</I>755 <Idev unit="Intensity | 1/cm">0.156723</Idev>756 <Qdev unit="Q | 1/A">0.0</Qdev>757 </Idata>758 <Idata>759 <Q unit="Q | 1/A">0.259</Q>760 <I unit="Intensity | 1/cm">0.616499</I>761 <Idev unit="Intensity | 1/cm">0.137866</Idev>762 <Qdev unit="Q | 1/A">0.0</Qdev>763 </Idata>764 <Idata>765 <Q unit="Q | 1/A">0.261</Q>766 <I unit="Intensity | 1/cm">0.526011</I>767 <Idev unit="Intensity | 1/cm">0.126209</Idev>768 <Qdev unit="Q | 1/A">0.0</Qdev>769 </Idata>770 <Idata>771 <Q unit="Q | 1/A">0.263</Q>772 <I unit="Intensity | 1/cm">0.51277</I>773 <Idev unit="Intensity | 1/cm">0.126339</Idev>774 <Qdev unit="Q | 1/A">0.0</Qdev>775 </Idata>776 <Idata>777 <Q unit="Q | 1/A">0.265</Q>778 <I unit="Intensity | 1/cm">0.604189</I>779 <Idev unit="Intensity | 1/cm">0.166393</Idev>780 <Qdev unit="Q | 1/A">0.0</Qdev>781 </Idata>782 <Idata>783 <Q unit="Q | 1/A">0.267</Q>784 <I unit="Intensity | 1/cm">0.738765</I>785 <Idev unit="Intensity | 1/cm">0.194006</Idev>786 <Qdev unit="Q | 1/A">0.0</Qdev>787 </Idata>788 <Idata>789 <Q unit="Q | 1/A">0.269</Q>790 <I unit="Intensity | 1/cm">0.462803</I>791 <Idev unit="Intensity | 1/cm">0.155354</Idev>792 <Qdev unit="Q | 1/A">0.0</Qdev>793 </Idata>794 <Idata>795 <Q unit="Q | 1/A">0.271</Q>796 <I unit="Intensity | 1/cm">0.478694</I>797 <Idev unit="Intensity | 1/cm">0.171676</Idev>798 <Qdev unit="Q | 1/A">0.0</Qdev>799 </Idata>800 <Idata>801 <Q unit="Q | 1/A">0.273</Q>802 <I unit="Intensity | 1/cm">0.711983</I>803 <Idev unit="Intensity | 1/cm">0.255539</Idev>804 <Qdev unit="Q | 1/A">0.0</Qdev>805 </Idata>806 <Idata>807 <Q unit="Q | 1/A">0.275</Q>808 <I unit="Intensity | 1/cm">0.473304</I>809 <Idev unit="Intensity | 1/cm">0.230752</Idev>810 <Qdev unit="Q | 1/A">0.0</Qdev>811 </Idata>812 <Idata>813 <Q unit="Q | 1/A">0.277</Q>814 <I unit="Intensity | 1/cm">0.536817</I>815 <Idev unit="Intensity | 1/cm">0.262627</Idev>816 <Qdev unit="Q | 1/A">0.0</Qdev>817 </Idata>818 <Idata>819 <Q unit="Q | 1/A">0.279</Q>820 <I unit="Intensity | 1/cm">0.660654</I>821 <Idev unit="Intensity | 1/cm">0.297519</Idev>822 <Qdev unit="Q | 1/A">0.0</Qdev>823 </Idata>824 <Idata>825 <Q unit="Q | 1/A">0.281</Q>826 <I unit="Intensity | 1/cm">0.408902</I>827 <Idev unit="Intensity | 1/cm">0.24585</Idev>828 <Qdev unit="Q | 1/A">0.0</Qdev>829 </Idata>830 <Idata>831 <Q unit="Q | 1/A">0.283</Q>832 <I unit="Intensity | 1/cm">0.0</I>833 <Idev unit="Intensity | 1/cm">0.0</Idev>834 <Qdev unit="Q | 1/A">0.0</Qdev>835 </Idata>836 </SASdata>837 <SASsample name="">838 <ID>TK49 c10_SANS</ID>839 </SASsample>840 <SASinstrument>841 <name>LOQ</name>842 <SASsource>843 <radiation>neutron</radiation>844 </SASsource>845 <SAScollimation/>846 <SASdetector>847 <name>HAB</name>848 <SDD unit="mm">575.0</SDD>849 </SASdetector>850 <SASdetector>851 <name>main-detector-bank</name>852 <SDD unit="mm">4145.02</SDD>853 </SASdetector>854 </SASinstrument>855 <SASprocess>856 <name>Mantid generated CanSAS1D XML</name>857 <date>02-Aug-2013 16:53:56</date>858 <description></description>859 <term unit="" name="svn">2.5.3</term>860 <term unit="" name="user_file">K:/masks/MASKLOQ_MAN_132E_Lu_Banjo_12mm.txt</term>861 <SASprocessnote></SASprocessnote>862 </SASprocess>863 <SASnote></SASnote>864 </SASentry>865 </SASroot> -
test/sasdataloader/test/testLoad.py
raaad4c95 rb699768 4 4 It is create in the folder where test is runned 5 5 """ 6 import logging 7 logging.basicConfig(level=logging.DEBUG, 8 format='%(asctime)s %(levelname)s %(message)s', 9 filename='test_log.txt', 10 filemode='w') 11 12 6 13 7 14 import unittest … … 9 16 import sas.sascalc.dataloader 10 17 from sas.sascalc.dataloader.loader import Loader 11 12 import logging13 logger = logging.getLogger(__name__)14 18 15 19 # Check whether we should test image loading on this system … … 19 23 HAS_IMAGE = True 20 24 except: 21 logger.info("IMAGE TESTS WILL NOT BE PERFORMED: MISSING PIL MODULE")25 print "IMAGE TESTS WILL NOT BE PERFORMED: MISSING PIL MODULE" 22 26 23 27 import os.path … … 38 42 39 43 class testLoader(unittest.TestCase): 40 logg er.debug("Inside testLoad module")44 logging.debug("Inside testLoad module") 41 45 42 46 """ test fitting """ … … 114 118 try:self.L.load('AR07232_rest.ASC') 115 119 except ValueError,msg: 116 #logg er.log(10,str(msg))117 logg er.error(str(msg))120 #logging.log(10,str(msg)) 121 logging.error(str(msg)) 118 122 119 123 def testload3_lowercase(self): … … 129 133 try:self.L.load('AR07232_rest.ASC') 130 134 except ValueError,msg: 131 #logg er.log(10,str(msg))132 logg er.error(str(msg))135 #logging.log(10,str(msg)) 136 logging.error(str(msg)) 133 137 def testload4(self): 134 138 """ Testing loading danse file""" … … 141 145 try: self.L.load('P_New.sans') 142 146 except ValueError,msg: 143 #logg er.log(40,str(msg))144 logg er.error(str(msg))147 #logging.log(40,str(msg)) 148 logging.error(str(msg)) 145 149 #else: raise ValueError,"No error raised for missing extension" 146 150 -
test/sasdataloader/test/utest_cansas.py
r463e7ffc r9a5097c 21 21 from lxml import etree 22 22 from xml.dom import minidom 23 24 logger = logging.getLogger(__name__)25 23 26 24 warnings.simplefilter("ignore") … … 59 57 def test_invalid_xml(self): 60 58 """ 61 Should fail gracefully and send a message to logg er.info()59 Should fail gracefully and send a message to logging.info() 62 60 """ 63 61 invalid = StringIO.StringIO('<a><c></b></a>') -
test/sasdataloader/test/write_test.xml
rc155a16 rb699768 1 <?xml version='1.0' encoding='UTF-8'?>2 <SASroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="cansas1d/1.0" version="1.0" xsi:schemaLocation="cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd">3 <SASentry>4 <Title>Test title</Title>5 <Run name="run name">1234</Run>6 <SASdata>7 <Idata>8 <Q unit="Q | 1/A">0.02</Q>9 <I unit="Intensity | 1/cm">1000.0</I>10 <Idev unit="Intensity | 1/cm">3.0</Idev>11 <Qdev unit="Q | 1/A">0.01</Qdev>12 </Idata>13 <Idata>14 <Q unit="Q | 1/A">0.03</Q>15 <I unit="Intensity | 1/cm">1001.0</I>16 <Idev unit="Intensity | 1/cm">4.0</Idev>17 <Qdev unit="Q | 1/A">0.02</Qdev>18 </Idata>19 </SASdata>20 <SASsample name="my sample">21 <ID>SI600-new-long</ID>22 <thickness unit="mm">1.03</thickness>23 <transmission>0.327</transmission>24 <temperature unit="C">0.0</temperature>25 <position>26 <x unit="mm">10.0</x>27 <y unit="mm">0.0</y>28 </position>29 <orientation>30 <roll unit="degree">22.5</roll>31 <pitch unit="degree">0.02</pitch>32 </orientation>33 <details>http://chemtools.chem.soton.ac.uk/projects/blog/blogs.php/bit_id/2720</details>34 <details>Some text here</details>35 </SASsample>36 <SASinstrument>37 <name>canSAS instrument</name>38 <SASsource>39 <radiation>neutron</radiation>40 <beam_size name="bm">41 <x unit="mm">12.0</x>42 <y unit="mm">13.0</y>43 </beam_size>44 <beam_shape>disc</beam_shape>45 <wavelength unit="A">6.0</wavelength>46 <wavelength_min unit="nm">0.22</wavelength_min>47 <wavelength_max unit="nm">1.0</wavelength_max>48 <wavelength_spread unit="percent">14.3</wavelength_spread>49 </SASsource>50 <SAScollimation name="test coll name">51 <length unit="mm">123.0</length>52 <aperture name="source" type="radius">53 <size>54 <x unit="mm">50.0</x>55 </size>56 <distance unit="mm">11000.0</distance>57 </aperture>58 <aperture name="sample" type="radius">59 <size>60 <x unit="mm">1.0</x>61 </size>62 </aperture>63 </SAScollimation>64 <SASdetector>65 <name>fictional hybrid</name>66 <SDD unit="mm">4150.0</SDD>67 <offset>68 <x unit="m">0.001</x>69 <y unit="m">0.002</y>70 </offset>71 <orientation>72 <roll unit="degree">1.0</roll>73 <pitch unit="degree">0.0</pitch>74 <yaw unit="degree">0.0</yaw>75 </orientation>76 <beam_center>77 <x unit="mm">322.64</x>78 <y unit="mm">327.68</y>79 </beam_center>80 <pixel_size>81 <x unit="mm">5.0</x>82 <y unit="mm">5.0</y>83 </pixel_size>84 </SASdetector>85 </SASinstrument>86 <SASprocess>87 <name>spol</name>88 <date>04-Sep-2007 18:35:02</date>89 <description></description>90 <term unit="mm" name="radialstep">10.000</term>91 <term unit="degree" name="sector_width">180.0</term>92 <term unit="degree" name="sector_orient">0.0</term>93 <term unit="" name="MASK_file">USER:MASK.COM</term>94 <SASprocessnote>AvA1 0.0000E+00 AsA2 1.0000E+00 XvA3 1.0526E+03 XsA4 5.2200E-02 XfA5 0.0000E+00</SASprocessnote>95 <SASprocessnote>S... 13597 0 2.26E+02 2A 5mM 0%D2O Sbak 13594 0 1.13E+02 H2O Buffer</SASprocessnote>96 <SASprocessnote>V... 13552 3 1.00E+00 H2O5m</SASprocessnote>97 </SASprocess>98 <SASprocess>99 <name>NCNR-IGOR</name>100 <date>03-SEP-2006 11:42:47</date>101 <description></description>102 <term unit="" name="average_type">Circular</term>103 <term unit="" name="SAM_file">SEP06064.SA3_AJJ_L205</term>104 <term unit="" name="BKD_file">SEP06064.SA3_AJJ_L205</term>105 <term unit="" name="EMP_file">SEP06064.SA3_AJJ_L205</term>106 <term unit="" name="DIV_file">SEP06064.SA3_AJJ_L205</term>107 <term unit="" name="MASK_file">SEP06064.SA3_AJJ_L205</term>108 <term unit="" name="ABS:TSTAND">1</term>109 <term unit="mm" name="ABS:DSTAND">1</term>110 <term unit="" name="ABS:IZERO">230.09</term>111 <term unit="mm" name="ABS:XSECT">1</term>112 <SASprocessnote>No Information</SASprocessnote>113 </SASprocess>114 <SASnote></SASnote>115 </SASentry>116 </SASroot> -
test/utest_sasview.py
raaad4c95 r35ec279 4 4 import re 5 5 import sys 6 7 import logging8 import logging.config9 LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'logging.ini')10 logging.config.fileConfig(LOGGER_CONFIG_FILE)11 logger = logging.getLogger(__name__)12 13 6 try: 14 7 import xmlrunner 15 8 except: 16 logger.error("xmlrunner needs to be installed to run these tests")17 logger.error("Try easy_install unittest-xml-reporting")9 print "xmlrunner needs to be installed to run these tests" 10 print "Try easy_install unittest-xml-reporting" 18 11 sys.exit(1) 19 12 … … 49 42 continue 50 43 51 52 44 # Go through modules looking for unit tests 53 45 module_dir = os.path.join(test_root, d, "test")
Note: See TracChangeset
for help on using the changeset viewer.