Changes in / [54557b5:2df1bd1] in sasview
- Files:
-
- 2 added
- 66 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r51f1c347 raaad4c95 10 10 # Feel free to add more stuff to this as and when it becomes an issue. 11 11 12 .DS_Store 12 13 .project 13 14 .pydevproject … … 57 58 /test/sasdataloader/test/isis_1_1_write_test.xml 58 59 /test/sasdataloader/test/write_test.xml 60 test*log 59 61 60 62 # autogenerated scripts 61 63 /sasview/installer.iss 64 65 # Editor files 66 .vscode/ 67 -
run.py
r05a9d29 r64ca561 17 17 import sys 18 18 import imp 19 import logging 20 import logging.config 21 19 22 from contextlib import contextmanager 20 23 from os.path import abspath, dirname, join as joinpath 21 24 22 class TeeStream:23 def __init__(self, filename):24 self.logfile = open(filename, 'a')25 self.console = sys.stderr26 def write(self, buf):27 self.logfile.write(buf)28 self.console.write(buf)29 25 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) 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__) 36 29 30 def update_all_logs_to_debug(logger): 31 ''' 32 This updates all loggers and respective handlers to DEBUG 33 ''' 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 37 39 def addpath(path): 38 40 """ … … 152 154 153 155 if __name__ == "__main__": 156 update_all_logs_to_debug(logger) 154 157 prepare() 155 tee_logging()156 158 from sas.sasview.sasview import run 157 159 run() 160 -
sasview/__init__.py
r220b1e7 r463e7ffc 1 1 __version__ = "4.1" 2 2 __build__ = "GIT_COMMIT" 3 4 import logging 5 logger = logging.getLogger(__name__) 6 3 7 try: 4 import logging5 8 import subprocess 6 9 import os … … 16 19 __build__ = str(git_revision).strip() 17 20 except subprocess.CalledProcessError as cpe: 18 logg ing.warning("Error while determining build number\n Using command:\n %s \n Output:\n %s"% (cpe.cmd,cpe.output))21 logger.warning("Error while determining build number\n Using command:\n %s \n Output:\n %s"% (cpe.cmd,cpe.output)) -
sasview/local_config.py
r1779e72 r463e7ffc 7 7 import sas.sasview 8 8 import logging 9 10 logger = logging.getLogger(__name__) 9 11 10 12 # Version of the application … … 57 59 58 60 icon_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "images")) 59 logg ing.info("icon path: %s" % icon_path)61 logger.info("icon path: %s" % icon_path) 60 62 media_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "media")) 61 63 test_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "test")) -
sasview/sasview.py
rcde6e52 r3608cd1 14 14 import sys 15 15 import logging 16 import logging.config 16 17 import traceback 17 18 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 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) 45 24 46 25 # Log the start of the session 47 logging.info(" --- SasView session started ---") 48 26 logger.info(" --- SasView session started ---") 49 27 # Log the python version 50 logg ing.info("Python: %s" % sys.version)28 logger.info("Python: %s" % sys.version) 51 29 52 30 # Allow the dynamic selection of wxPython via an environment variable, when devs … … 57 35 WX_ENV_VAR = "SASVIEW_WX_VERSION" 58 36 if WX_ENV_VAR in os.environ: 59 logg ing.info("You have set the %s environment variable to %s." % \37 logger.info("You have set the %s environment variable to %s." % \ 60 38 (WX_ENV_VAR, os.environ[WX_ENV_VAR])) 61 39 import wxversion 62 40 if wxversion.checkInstalled(os.environ[WX_ENV_VAR]): 63 logg ing.info("Version %s of wxPython is installed, so using that version." % os.environ[WX_ENV_VAR])41 logger.info("Version %s of wxPython is installed, so using that version." % os.environ[WX_ENV_VAR]) 64 42 wxversion.select(os.environ[WX_ENV_VAR]) 65 43 else: 66 logg ing.error("Version %s of wxPython is not installed, so using default version." % os.environ[WX_ENV_VAR])44 logger.error("Version %s of wxPython is not installed, so using default version." % os.environ[WX_ENV_VAR]) 67 45 else: 68 logg ing.info("You have not set the %s environment variable, so using default version of wxPython." % WX_ENV_VAR)46 logger.info("You have not set the %s environment variable, so using default version of wxPython." % WX_ENV_VAR) 69 47 70 48 import wx 71 49 72 50 try: 73 logg ing.info("Wx version: %s" % wx.__version__)51 logger.info("Wx version: %s" % wx.__version__) 74 52 except: 75 logg ing.error("Wx version: error reading version")53 logger.error("Wx version: error reading version") 76 54 77 55 import wxcruft … … 126 104 self.gui.add_perspective(fitting_plug) 127 105 except Exception: 128 logg ing.error("%s: could not find Fitting plug-in module"% APP_NAME)129 logg ing.error(traceback.format_exc())106 logger.error("%s: could not find Fitting plug-in module"% APP_NAME) 107 logger.error(traceback.format_exc()) 130 108 131 109 # P(r) perspective … … 135 113 self.gui.add_perspective(pr_plug) 136 114 except: 137 logg ing.error("%s: could not find P(r) plug-in module"% APP_NAME)138 logg ing.error(traceback.format_exc())115 logger.error("%s: could not find P(r) plug-in module"% APP_NAME) 116 logger.error(traceback.format_exc()) 139 117 140 118 #Invariant perspective … … 144 122 self.gui.add_perspective(invariant_plug) 145 123 except Exception as e : 146 logg ing.error("%s: could not find Invariant plug-in module"% \124 logger.error("%s: could not find Invariant plug-in module"% \ 147 125 APP_NAME) 148 logg ing.error(traceback.format_exc())126 logger.error(traceback.format_exc()) 149 127 150 128 # Corfunc perspective … … 154 132 self.gui.add_perspective(corfunc_plug) 155 133 except: 156 logg ing.error("Unable to load corfunc module")134 logger.error("Unable to load corfunc module") 157 135 158 136 #Calculator perspective … … 162 140 self.gui.add_perspective(calculator_plug) 163 141 except: 164 logg ing.error("%s: could not find Calculator plug-in module"% \142 logger.error("%s: could not find Calculator plug-in module"% \ 165 143 APP_NAME) 166 logg ing.error(traceback.format_exc())144 logger.error(traceback.format_exc()) 167 145 168 146 # File converter tool … … 172 150 self.gui.add_perspective(converter_plug) 173 151 except: 174 logg ing.error("%s: could not find File Converter plug-in module"% \152 logger.error("%s: could not find File Converter plug-in module"% \ 175 153 APP_NAME) 176 logg ing.error(traceback.format_exc())154 logger.error(traceback.format_exc()) 177 155 178 156 -
src/sas/sascalc/calculator/resolution_calculator.py
r9a5097c r463e7ffc 15 15 import sys 16 16 import logging 17 18 logger = logging.getLogger(__name__) 17 19 18 20 #Plank's constant in cgs unit … … 1006 1008 detector_offset = self.sample2detector_distance[1] 1007 1009 except: 1008 logg ing.error(sys.exc_value)1010 logger.error(sys.exc_value) 1009 1011 1010 1012 # detector size in [no of pix_x,no of pix_y] … … 1093 1095 output.qy_data = qy_value 1094 1096 except: 1095 logg ing.error(sys.exc_value)1097 logger.error(sys.exc_value) 1096 1098 1097 1099 return output -
src/sas/sascalc/calculator/sas_gen.py
r9a5097c r463e7ffc 12 12 import sys 13 13 import logging 14 15 logger = logging.getLogger(__name__) 14 16 15 17 MFACTOR_AM = 2.853E-12 … … 285 287 mask = (x_dir2 + y_dir2 + z_dir2) <= 1.0 286 288 except: 287 logg ing.error(sys.exc_value)289 logger.error(sys.exc_value) 288 290 self.output = MagSLD(self.pos_x[mask], self.pos_y[mask], 289 291 self.pos_z[mask], self.sld_n[mask], … … 394 396 except: 395 397 # Skip non-data lines 396 logg ing.error(sys.exc_value)398 logger.error(sys.exc_value) 397 399 #Reading Header; Segment count ignored 398 400 s_line = line.split(":", 1) … … 589 591 z_lines.append(z_line) 590 592 except: 591 logg ing.error(sys.exc_value)593 logger.error(sys.exc_value) 592 594 593 595 output = MagSLD(pos_x, pos_y, pos_z, sld_n, sld_mx, sld_my, sld_mz) … … 683 685 except: 684 686 # Skip non-data lines 685 logg ing.error(sys.exc_value)687 logger.error(sys.exc_value) 686 688 output = MagSLD(pos_x, pos_y, pos_z, sld_n, 687 689 sld_mx, sld_my, sld_mz) -
src/sas/sascalc/data_util/calcthread.py
r0de74af r64ca561 8 8 import traceback 9 9 import sys 10 import logging 10 11 11 12 if sys.platform.count("darwin") > 0: … … 21 22 from time import clock 22 23 from time import sleep 24 25 logger = logging.getLogger(__name__) 23 26 24 27 … … 243 246 except Exception: 244 247 pass 245 import logging 246 logging.error(traceback.format_exc()) 248 logger.error(traceback.format_exc()) 247 249 #print 'CalcThread exception', 248 250 -
src/sas/sascalc/dataloader/data_info.py
r9a5097c rc44baf97 353 353 details = None 354 354 ## SESANS zacceptance 355 zacceptance = None 355 zacceptance = (0,"") 356 yacceptance = (0,"") 356 357 357 358 def __init__(self): -
src/sas/sascalc/dataloader/loader.py
rb699768 r463e7ffc 32 32 from readers import cansas_reader 33 33 34 logger = logging.getLogger(__name__) 35 34 36 class Registry(ExtensionRegistry): 35 37 """ … … 99 101 msg = "DataLoader couldn't locate DataLoader plugin folder." 100 102 msg += """ "%s" does not exist""" % dir 101 logg ing.warning(msg)103 logger.warning(msg) 102 104 return readers_found 103 105 … … 117 119 msg = "Loader: Error importing " 118 120 msg += "%s\n %s" % (item, sys.exc_value) 119 logg ing.error(msg)121 logger.error(msg) 120 122 121 123 # Process zip files … … 139 141 msg = "Loader: Error importing" 140 142 msg += " %s\n %s" % (mfile, sys.exc_value) 141 logg ing.error(msg)143 logger.error(msg) 142 144 143 145 except: 144 146 msg = "Loader: Error importing " 145 147 msg += " %s\n %s" % (item, sys.exc_value) 146 logg ing.error(msg)148 logger.error(msg) 147 149 148 150 return readers_found … … 190 192 msg = "Loader: Error accessing" 191 193 msg += " Reader in %s\n %s" % (module.__name__, sys.exc_value) 192 logg ing.error(msg)194 logger.error(msg) 193 195 return reader_found 194 196 … … 223 225 msg = "Loader: Error accessing Reader " 224 226 msg += "in %s\n %s" % (loader.__name__, sys.exc_value) 225 logg ing.error(msg)227 logger.error(msg) 226 228 return reader_found 227 229 … … 268 270 msg = "Loader: Error accessing Reader" 269 271 msg += " in %s\n %s" % (module.__name__, sys.exc_value) 270 logg ing.error(msg)272 logger.error(msg) 271 273 return reader_found 272 274 -
src/sas/sascalc/dataloader/readers/associations.py
re5c09cf r463e7ffc 18 18 import logging 19 19 import json 20 21 logger = logging.getLogger(__name__) 20 22 21 23 FILE_NAME = 'defaults.json' … … 67 69 msg = "read_associations: skipping association" 68 70 msg += " for %s\n %s" % (ext.lower(), sys.exc_value) 69 logg ing.error(msg)71 logger.error(msg) 70 72 else: 71 73 print "Could not find reader association settings\n %s [%s]" % (__file__, os.getcwd()) … … 81 83 :param registry_function: function to be called to register each reader 82 84 """ 83 logg ing.info("register_readers is now obsolete: use read_associations()")85 logger.info("register_readers is now obsolete: use read_associations()") 84 86 import abs_reader 85 87 import ascii_reader -
src/sas/sascalc/dataloader/readers/cansas_constants.py
rad4632c r63d773c 135 135 "Sesans": {"storeas": "content"}, 136 136 "zacceptance": {"storeas": "float"}, 137 "yacceptance": {"storeas": "float"}, 137 138 "<any>" : ANY 138 139 } -
src/sas/sascalc/dataloader/readers/cansas_reader.py
r8434365 r63d773c 33 33 import xml.dom.minidom 34 34 from xml.dom.minidom import parseString 35 36 logger = logging.getLogger(__name__) 35 37 36 38 PREPROCESS = "xmlpreprocess" … … 290 292 elif tagname == 'Sesans': 291 293 self.current_datainfo.isSesans = bool(data_point) 294 elif tagname == 'yacceptance': 295 self.current_datainfo.sample.yacceptance = (data_point, unit) 292 296 elif tagname == 'zacceptance': 293 297 self.current_datainfo.sample.zacceptance = (data_point, unit) … … 1055 1059 sesans.text = str(datainfo.isSesans) 1056 1060 node.append(sesans) 1061 self.write_node(node, "yacceptance", datainfo.sample.yacceptance[0], 1062 {'unit': datainfo.sample.yacceptance[1]}) 1057 1063 self.write_node(node, "zacceptance", datainfo.sample.zacceptance[0], 1058 1064 {'unit': datainfo.sample.zacceptance[1]}) … … 1471 1477 self.errors.add(err_mess) 1472 1478 if optional: 1473 logg ing.info(err_mess)1479 logger.info(err_mess) 1474 1480 else: 1475 1481 raise ValueError, err_mess … … 1480 1486 self.errors.add(err_mess) 1481 1487 if optional: 1482 logg ing.info(err_mess)1488 logger.info(err_mess) 1483 1489 else: 1484 1490 raise ValueError, err_mess -
src/sas/sascalc/dataloader/readers/danse_reader.py
r9a5097c r463e7ffc 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__) 21 23 22 24 # Look for unit converter … … 142 144 error.append(err) 143 145 except: 144 logg ing.info("Skipping line:%s,%s" %(data_str,146 logger.info("Skipping line:%s,%s" %(data_str, 145 147 sys.exc_value)) 146 148 … … 196 198 msg = "Skipping entry (v1.0):%s,%s" % (str(data[i_pt]), 197 199 sys.exc_value) 198 logg ing.info(msg)200 logger.info(msg) 199 201 200 202 # Get bin number … … 271 273 raise ValueError, msg 272 274 else: 273 logg ing.info("Danse_reader Reading %s \n" % filename)275 logger.info("Danse_reader Reading %s \n" % filename) 274 276 275 277 # Store loading process information -
src/sas/sascalc/dataloader/readers/tiff_reader.py
r9a5097c r463e7ffc 16 16 from sas.sascalc.dataloader.data_info import Data2D 17 17 from sas.sascalc.dataloader.manipulations import reader2D_converter 18 18 19 logger = logging.getLogger(__name__) 20 19 21 class Reader: 20 22 """ … … 76 78 value = float(val) 77 79 except: 78 logg ing.error("tiff_reader: had to skip a non-float point")80 logger.error("tiff_reader: had to skip a non-float point") 79 81 continue 80 82 -
src/sas/sascalc/dataloader/readers/xml_reader.py
ra235f715 r463e7ffc 18 18 from lxml import etree 19 19 from lxml.builder import E 20 21 logger = logging.getLogger(__name__) 20 22 21 23 PARSER = etree.ETCompatXMLParser(remove_comments=True, remove_pis=False) … … 71 73 self.xmlroot = self.xmldoc.getroot() 72 74 except etree.XMLSyntaxError as xml_error: 73 logg ing.info(xml_error)75 logger.info(xml_error) 74 76 except Exception: 75 77 self.xml = None … … 88 90 self.xmlroot = etree.fromstring(tag_soup) 89 91 except etree.XMLSyntaxError as xml_error: 90 logg ing.info(xml_error)92 logger.info(xml_error) 91 93 except Exception: 92 94 self.xml = None … … 102 104 self.schemadoc = etree.parse(self.schema, parser=PARSER) 103 105 except etree.XMLSyntaxError as xml_error: 104 logg ing.info(xml_error)106 logger.info(xml_error) 105 107 except Exception: 106 108 self.schema = None -
src/sas/sascalc/pr/invertor.py
r9a5097c r463e7ffc 18 18 from scipy import optimize 19 19 from sas.sascalc.pr.core.pr_inversion import Cinvertor 20 21 logger = logging.getLogger(__name__) 20 22 21 23 def help(): … … 495 497 # We were not able to estimate the errors 496 498 # Return an empty error matrix 497 logg ing.error(sys.exc_value)499 logger.error(sys.exc_value) 498 500 499 501 # Keep a copy of the last output … … 541 543 # number of terms 542 544 best_alpha, _, _ = self.estimate_alpha(self.nfunc) 543 logg ing.warning("Invertor.estimate_numterms: %s" % sys.exc_value)545 logger.warning("Invertor.estimate_numterms: %s" % sys.exc_value) 544 546 return self.nfunc, best_alpha, "Could not estimate number of terms" 545 547 -
src/sas/sascalc/pr/num_term.py
r9a5097c r463e7ffc 5 5 import logging 6 6 from sas.sascalc.pr.invertor import Invertor 7 8 logger = logging.getLogger(__name__) 7 9 8 10 class NTermEstimator(object): … … 180 182 data_err = np.append(data_err, err) 181 183 except: 182 logg ing.error(sys.exc_value)184 logger.error(sys.exc_value) 183 185 184 186 return data_x, data_y, data_err -
src/sas/sasgui/guiframe/CategoryInstaller.py
rddbac66 r463e7ffc 16 16 17 17 USER_FILE = 'categories.json' 18 19 logger = logging.getLogger(__name__) 18 20 19 21 class CategoryInstaller: … … 114 116 @staticmethod 115 117 def get_default_file(): 116 logg ing.warning("CategoryInstaller.get_default_file is deprecated.")118 logger.warning("CategoryInstaller.get_default_file is deprecated.") 117 119 118 120 @staticmethod … … 153 155 model_enabled_dict.pop(model_name) 154 156 except: 155 logg ing.error("CategoryInstaller: %s", sys.exc_value)157 logger.error("CategoryInstaller: %s", sys.exc_value) 156 158 else: 157 159 add_list.remove(model_name) -
src/sas/sasgui/guiframe/CategoryManager.py
r212bfc2 r463e7ffc 20 20 from sas.sasgui.guiframe.CategoryInstaller import CategoryInstaller 21 21 IS_MAC = (sys.platform == 'darwin') 22 23 logger = logging.getLogger(__name__) 22 24 23 25 """ Notes … … 373 375 self.master_category_dict = json.load(f) 374 376 except IOError: 375 logg ing.error('Problem reading in category file.')377 logger.error('Problem reading in category file.') 376 378 377 379 self._regenerate_model_dict() -
src/sas/sasgui/guiframe/config.py
r1779e72 r64ca561 7 7 import sas.sasview 8 8 import logging 9 10 11 logger = logging.getLogger(__name__) 9 12 10 13 # Version of the application … … 57 60 58 61 icon_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "images")) 59 logg ing.info("icon path: %s" % icon_path)62 logger.info("icon path: %s" % icon_path) 60 63 media_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "media")) 61 64 test_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "test")) -
src/sas/sasgui/guiframe/data_manager.py
r2ffe241 r463e7ffc 25 25 from sas.sasgui.guiframe.dataFitting import Data2D 26 26 import time 27 28 logger = logging.getLogger(__name__) 27 29 28 30 class DataManager(object): … … 136 138 msg = "Data manager already stores %s" % str(data.name) 137 139 msg += "" 138 logg ing.info(msg)140 logger.info(msg) 139 141 data_state = self.stored_data[id] 140 142 data_state.data = data -
src/sas/sasgui/guiframe/documentation_window.py
rd85c194 r463e7ffc 20 20 import urllib 21 21 import sys 22 23 logger = logging.getLogger(__name__) 22 24 23 25 SPHINX_DOC_ENV = "SASVIEW_DOC_PATH" … … 71 73 72 74 if not os.path.exists(file_path): 73 logg ing.error("Could not find Sphinx documentation at %s \75 logger.error("Could not find Sphinx documentation at %s \ 74 76 -- has it been built?", file_path) 75 77 elif WX_SUPPORTS_HTML2: … … 79 81 self.Show() 80 82 else: 81 logg ing.error("No html2 support, popping up a web browser")83 logger.error("No html2 support, popping up a web browser") 82 84 #For cases that do not build against current version dependency 83 85 # Wx 3.0 we provide a webbrowser call - this is particularly for -
src/sas/sasgui/guiframe/gui_manager.py
r73cbeec r64ca561 48 48 from matplotlib import _pylab_helpers 49 49 50 logger = logging.getLogger(__name__) 51 50 52 warnings.simplefilter("ignore") 51 52 53 53 54 def get_app_dir(): … … 64 65 if os.path.isfile(os.path.join(app_path, "custom_config.py")): 65 66 app_path = os.path.abspath(app_path) 66 logg ing.info("Using application path: %s", app_path)67 logger.info("Using application path: %s", app_path) 67 68 return app_path 68 69 69 70 # Next, try the current working directory 70 71 if os.path.isfile(os.path.join(os.getcwd(), "custom_config.py")): 71 logg ing.info("Using application path: %s", os.getcwd())72 logger.info("Using application path: %s", os.getcwd()) 72 73 return os.path.abspath(os.getcwd()) 73 74 … … 76 77 # clean all these module variables and put them into a config class 77 78 # that can be passed by sasview.py. 78 logg ing.info(sys.executable)79 logg ing.info(str(sys.argv))79 logger.info(sys.executable) 80 logger.info(str(sys.argv)) 80 81 from sas import sasview as sasview 81 82 app_path = os.path.dirname(sasview.__file__) 82 logg ing.info("Using application path: %s", app_path)83 logger.info("Using application path: %s", app_path) 83 84 return app_path 84 85 … … 104 105 config_module = imp.load_module(file, fObj, path_config, descr) 105 106 except: 106 logg ing.error("Error loading %s/%s: %s" % (path, file, sys.exc_value))107 logger.error("Error loading %s/%s: %s" % (path, file, sys.exc_value)) 107 108 finally: 108 109 if fObj is not None: 109 110 fObj.close() 110 logg ing.info("GuiManager loaded %s/%s" % (path, file))111 logger.info("GuiManager loaded %s/%s" % (path, file)) 111 112 return config_module 112 113 … … 125 126 # Didn't find local config, load the default 126 127 import sas.sasgui.guiframe.config as config 127 logg ing.info("using default local_config")128 logger.info("using default local_config") 128 129 else: 129 logg ing.info("found local_config in %s" % os.getcwd())130 logger.info("found local_config in %s" % os.getcwd()) 130 131 else: 131 logg ing.info("found local_config in %s" % PATH_APP)132 logger.info("found local_config in %s" % PATH_APP) 132 133 133 134 from sas.sasgui.guiframe.customdir import SetupCustom … … 138 139 if custom_config is None: 139 140 msgConfig = "Custom_config file was not imported" 140 logg ing.info(msgConfig)141 logger.info(msgConfig) 141 142 else: 142 logg ing.info("using custom_config in %s" % os.getcwd())143 logger.info("using custom_config in %s" % os.getcwd()) 143 144 else: 144 logg ing.info("using custom_config from %s" % c_conf_dir)145 logger.info("using custom_config from %s" % c_conf_dir) 145 146 146 147 # read some constants from config … … 374 375 frame.SetIcon(icon) 375 376 except: 376 logg ing.error("ViewerFrame.put_icon: could not set icon")377 logger.error("ViewerFrame.put_icon: could not set icon") 377 378 378 379 def get_client_size(self): … … 803 804 str(self._input_file)) 804 805 msg += str(sys.exc_value) + '\n' 805 logg ing.error(msg)806 logger.error(msg) 806 807 if self._data_panel is not None and len(self.plugins) > 0: 807 808 self._data_panel.fill_cbox_analysis(self.plugins) … … 869 870 if plugin.__class__ == item.__class__: 870 871 msg = "Plugin %s already loaded" % plugin.sub_menu 871 logg ing.info(msg)872 logger.info(msg) 872 873 is_loaded = True 873 874 if not is_loaded: 874 875 self.plugins.append(plugin) 875 876 msg = "Plugin %s appended" % plugin.sub_menu 876 logg ing.info(msg)877 logger.info(msg) 877 878 878 879 def _get_local_plugins(self): … … 894 895 msg = "ViewerFrame._get_local_plugins:" 895 896 msg += "cannot import dataloader plugin.\n %s" % sys.exc_value 896 logg ing.error(msg)897 logger.error(msg) 897 898 if style2 == GUIFRAME.PLOTTING_ON: 898 899 try: … … 904 905 msg = "ViewerFrame._get_local_plugins:" 905 906 msg += "cannot import plotting plugin.\n %s" % sys.exc_value 906 logg ing.error(msg)907 logger.error(msg) 907 908 908 909 return plugins … … 949 950 plugins.append(module.Plugin()) 950 951 msg = "Found plug-in: %s" % module.PLUGIN_ID 951 logg ing.info(msg)952 logger.info(msg) 952 953 except: 953 954 msg = "Error accessing PluginPanel" … … 956 957 except: 957 958 msg = "ViewerFrame._find_plugins: %s" % sys.exc_value 958 logg ing.error(msg)959 logger.error(msg) 959 960 finally: 960 961 if file is not None: … … 963 964 # Should raise and catch at a higher level and 964 965 # display error on status bar 965 logg ing.error(sys.exc_value)966 logger.error(sys.exc_value) 966 967 967 968 return plugins … … 1385 1386 1386 1387 if config._do_aboutbox: 1387 logg ing.info("Doing help menu")1388 logger.info("Doing help menu") 1388 1389 wx_id = wx.NewId() 1389 1390 self._help_menu.Append(wx_id, '&About', 'Software information') … … 1746 1747 del self.panels[ID] 1747 1748 else: 1748 logg ing.error("delete_panel: No such plot id as %s" % ID)1749 logger.error("delete_panel: No such plot id as %s" % ID) 1749 1750 1750 1751 def create_gui_data(self, data, path=None): … … 1763 1764 log_msg += "load: %s\n" % str(basename) 1764 1765 log_msg += "Try Data opening...." 1765 logg ing.error(log_msg)1766 logger.error(log_msg) 1766 1767 return 1767 1768 … … 1843 1844 log_msg += "load: %s\n" % str(path) 1844 1845 log_msg += "Try File opening ...." 1845 logg ing.error(log_msg)1846 logger.error(log_msg) 1846 1847 return 1847 1848 log_msg = '' … … 1849 1850 error_message = "" 1850 1851 try: 1851 logg ing.info("Loading Data...:\n" + str(path) + "\n")1852 logger.info("Loading Data...:\n" + str(path) + "\n") 1852 1853 temp = self.loader.load(path) 1853 1854 if temp.__class__.__name__ == "list": … … 1864 1865 error_message += " Data from cmd:\n %s\n" % str(path) 1865 1866 error_message += str(sys.exc_value) + "\n" 1866 logg ing.error(error_message)1867 logger.error(error_message) 1867 1868 1868 1869 def load_folder(self, path): … … 1885 1886 error_message += " Data folder from cmd:\n %s\n" % str(path) 1886 1887 error_message += str(sys.exc_value) + "\n" 1887 logg ing.error(error_message)1888 logger.error(error_message) 1888 1889 1889 1890 def _on_open_state_application(self, event): … … 2044 2045 msg += "and model selected. " 2045 2046 msg += "No project was saved to %s" % (str(path)) 2046 logg ing.warning(msg)2047 logger.warning(msg) 2047 2048 wx.PostEvent(self, StatusEvent(status=msg, info="error")) 2048 2049 except Exception: … … 2111 2112 #IF SAS_OPENCL is set, settings are stored in the custom config file 2112 2113 self._write_opencl_config_file() 2113 logg ing.info(" --- SasView session was closed --- \n")2114 logger.info(" --- SasView session was closed --- \n") 2114 2115 wx.Exit() 2115 2116 sys.exit() … … 2140 2141 new_config_file.close() 2141 2142 else: 2142 logg ing.info("Failed to save OPENCL settings in custom config file")2143 logger.info("Failed to save OPENCL settings in custom config file") 2143 2144 2144 2145 … … 2157 2158 # 2158 2159 content = response.read().strip() 2159 logg ing.info("Connected to www.sasview.org. Latest version: %s"2160 logger.info("Connected to www.sasview.org. Latest version: %s" 2160 2161 % (content)) 2161 2162 version_info = json.loads(content) 2162 2163 except: 2163 logg ing.info("Failed to connect to www.sasview.org")2164 logger.info("Failed to connect to www.sasview.org") 2164 2165 self._process_version(version_info, standalone=event is None) 2165 2166 … … 2201 2202 msg = "guiframe: could not get latest application" 2202 2203 msg += " version number\n %s" % sys.exc_value 2203 logg ing.error(msg)2204 logger.error(msg) 2204 2205 if not standalone: 2205 2206 msg = "Could not connect to the application server." … … 2248 2249 dialog.Show(True) 2249 2250 except: 2250 logg ing.error("Error in _onTutorial: %s" % sys.exc_value)2251 logger.error("Error in _onTutorial: %s" % sys.exc_value) 2251 2252 try: 2252 2253 # Try an alternate method 2253 logg ing.error(2254 logger.error( 2254 2255 "Could not open the tutorial pdf, trying xhtml2pdf") 2255 2256 from xhtml2pdf import pisa 2256 2257 pisa.startViewer(path) 2257 2258 except: 2258 logg ing.error(2259 logger.error( 2259 2260 "Could not open the tutorial pdf with xhtml2pdf") 2260 2261 msg = "This feature requires 'PDF Viewer'\n" … … 2267 2268 try: 2268 2269 # Try an alternate method 2269 logg ing.error(2270 logger.error( 2270 2271 "Could not open the tutorial pdf, trying xhtml2pdf") 2271 2272 from xhtml2pdf import pisa 2272 2273 pisa.startViewer(path) 2273 2274 except: 2274 logg ing.error(2275 logger.error( 2275 2276 "Could not open the tutorial pdf with xhtml2pdf") 2276 2277 msg = "This feature requires the Preview application\n" … … 2411 2412 else: 2412 2413 msg = "Guiframe does not have a current perspective" 2413 logg ing.info(msg)2414 logger.info(msg) 2414 2415 2415 2416 def set_theory(self, state_id, theory_id=None): … … 2422 2423 except: 2423 2424 msg = "Guiframe set_theory: \n" + str(sys.exc_value) 2424 logg ing.info(msg)2425 logger.info(msg) 2425 2426 wx.PostEvent(self, StatusEvent(status=msg, info="error")) 2426 2427 else: 2427 2428 msg = "Guiframe does not have a current perspective" 2428 logg ing.info(msg)2429 logger.info(msg) 2429 2430 2430 2431 def plot_data(self, state_id, data_id=None, … … 2508 2509 action='remove')) 2509 2510 except: 2510 logg ing.error(sys.exc_value)2511 logger.error(sys.exc_value) 2511 2512 2512 2513 def save_data1d(self, data, fname): … … 3306 3307 msg = "%s Could not load " % str(APPLICATION_NAME) 3307 3308 msg += "input file from command line.\n" 3308 logg ing.error(msg)3309 logger.error(msg) 3309 3310 # Display a splash screen on top of the frame. 3310 3311 try: … … 3320 3321 msg = "Cannot display splash screen\n" 3321 3322 msg += str(sys.exc_value) 3322 logg ing.error(msg)3323 logger.error(msg) 3323 3324 self.frame.Show() 3324 3325 … … 3375 3376 os.remove(file_path) 3376 3377 except: 3377 logg ing.error("gui_manager.clean_plugin_models:\n %s"3378 logger.error("gui_manager.clean_plugin_models:\n %s" 3378 3379 % sys.exc_value) 3379 3380 -
src/sas/sasgui/guiframe/gui_statusbar.py
r3a22ce7 r463e7ffc 12 12 from sas.sasgui.guiframe.gui_style import GUIFRAME_ICON 13 13 14 logger = logging.getLogger(__name__) 15 14 16 # Number of fields on the status bar 15 17 NB_FIELDS = 4 … … 71 73 icon_type = event.info.lower() 72 74 if icon_type == "warning": 73 logg ing.warning(status)75 logger.warning(status) 74 76 color = (0, 0, 255) # blue 75 77 icon_bmp = wx.ArtProvider.GetBitmap(wx.ART_WARNING, 76 78 wx.ART_TOOLBAR) 77 79 if icon_type == "error": 78 logg ing.error(status)80 logger.error(status) 79 81 color = (255, 0, 0) # red 80 82 icon_bmp = wx.ArtProvider.GetBitmap(wx.ART_ERROR, -
src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py
ra674d0b r463e7ffc 7 7 import wx 8 8 import logging 9 10 logger = logging.getLogger(__name__) 9 11 10 12 from sas.sascalc.dataloader.loader import Loader … … 160 162 message += "\tError: {0}\n".format(error_data) 161 163 else: 162 logg ing.error("Loader returned an invalid object:\n %s" % str(item))164 logger.error("Loader returned an invalid object:\n %s" % str(item)) 163 165 data_error = True 164 166 … … 182 184 log_msg += "Please try to open that file from \"open project\"" 183 185 log_msg += "or \"open analysis\" menu." 184 logg ing.info(log_msg)186 logger.info(log_msg) 185 187 file_errors[basename] = [log_msg] 186 188 continue … … 212 214 213 215 except: 214 logg ing.error(sys.exc_value)216 logger.error(sys.exc_value) 215 217 216 218 error_message = "The Data file you selected could not be loaded.\n" -
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter1D.py
r9a5097c r463e7ffc 24 24 from appearanceDialog import appearanceDialog 25 25 from graphAppearance import graphAppearance 26 27 logger = logging.getLogger(__name__) 26 28 27 29 DEFAULT_QMAX = 0.05 … … 242 244 wx.PostEvent(self.parent, StatusEvent(status=position)) 243 245 except: 244 logg ing.error(sys.exc_value)246 logger.error(sys.exc_value) 245 247 if not event.leftdown: 246 248 # text event … … 255 257 self.canvas.draw() 256 258 except: 257 logg ing.error(sys.exc_value)259 logger.error(sys.exc_value) 258 260 event.Skip() 259 261 return … … 409 411 self.q_ctrl[vl_ind].SetValue(str(pos_x)) 410 412 except: 411 logg ing.error(sys.exc_value)413 logger.error(sys.exc_value) 412 414 413 415 def set_resizing(self, resizing=False): -
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter2D.py
rdfa1579 r463e7ffc 30 30 from graphAppearance import graphAppearance 31 31 (InternalEvent, EVT_INTERNAL) = wx.lib.newevent.NewEvent() 32 33 logger = logging.getLogger(__name__) 32 34 33 35 DEFAULT_QMAX = 0.05 … … 433 435 except: 434 436 msg = "Add Text: Error. Check your property values..." 435 logg ing.error(msg)437 logger.error(msg) 436 438 if self.parent != None: 437 439 wx.PostEvent(self.parent, StatusEvent(status=msg)) -
src/sas/sasgui/guiframe/local_perspectives/plotting/binder.py
rd85c194 r463e7ffc 4 4 import logging 5 5 import sys 6 7 logger = logging.getLogger(__name__) 6 8 7 9 class Selection(object): … … 70 72 canvas.mpl_disconnect(canvas.scroll_pick_id) 71 73 except: 72 logg ing.error(sys.exc_value)74 logger.error(sys.exc_value) 73 75 self.canvas = canvas 74 76 self.figure = figure -
src/sas/sasgui/guiframe/media/data_formats_help.rst
r98c44f3 r76c4469 86 86 87 87 - Spin echo length (z, in Angstroms) 88 - depolarization (:math:`log(P/P_0)/(lambda^2 * thickness)`, in Angstrom ^-1 cm^-1)88 - depolarization (:math:`log(P/P_0)/(lambda^2 * thickness)`, in Angstrom :sup:`-1` cm :sup:`-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
rd85c194 r463e7ffc 6 6 import logging 7 7 import re 8 9 10 logger = logging.getLogger(__name__) 8 11 9 12 ''' … … 71 74 proxy_url_list = [] 72 75 for this_pac_url in pac_urls_list: 73 logg ing.debug('Trying pac file (%s)...' % this_pac_url)76 logger.debug('Trying pac file (%s)...' % this_pac_url) 74 77 try: 75 78 response = urllib2.urlopen( 76 79 this_pac_url, timeout=self.timeout) 77 logg ing.debug('Succeeded (%s)...' % this_pac_url)80 logger.debug('Succeeded (%s)...' % this_pac_url) 78 81 except Exception: 79 logg ing.debug('Failled (%s)...' % this_pac_url)82 logger.debug('Failled (%s)...' % this_pac_url) 80 83 continue 81 84 pacStr = response.read() … … 120 123 response = None 121 124 try: 122 logg ing.debug("Trying Direct connection to %s..."%self.url)125 logger.debug("Trying Direct connection to %s..."%self.url) 123 126 response = urllib2.urlopen(req, timeout=self.timeout) 124 127 except Exception, e: 125 logg ing.debug("Failed!")126 logg ing.debug(e)128 logger.debug("Failed!") 129 logger.debug(e) 127 130 try: 128 logg ing.debug("Trying to use system proxy if it exists...")131 logger.debug("Trying to use system proxy if it exists...") 129 132 self._set_proxy() 130 133 response = urllib2.urlopen(req, timeout=self.timeout) 131 134 except Exception, e: 132 logg ing.debug("Failed!")133 logg ing.debug(e)135 logger.debug("Failed!") 136 logger.debug(e) 134 137 pac_urls = self._get_addresses_of_proxy_pac() 135 138 proxy_urls = self._parse_proxy_pac(pac_urls) 136 139 for proxy in proxy_urls: 137 140 try: 138 logg ing.debug("Trying to use the proxy %s found in proxy.pac configuration"%proxy)141 logger.debug("Trying to use the proxy %s found in proxy.pac configuration"%proxy) 139 142 self._set_proxy(proxy) 140 143 response = urllib2.urlopen(req, timeout=self.timeout) 141 144 except Exception, e: 142 logg ing.debug("Failed!")143 logg ing.debug(e)145 logger.debug("Failed!") 146 logger.debug(e) 144 147 if response is not None: 145 logg ing.debug("The connection to %s was successful."%self.url)148 logger.debug("The connection to %s was successful."%self.url) 146 149 else: 147 logg ing.warning("Connection to %s failed..."%self.url)150 logger.warning("Connection to %s failed..."%self.url) 148 151 return response 149 152 -
src/sas/sasgui/guiframe/report_dialog.py
r6dd6e32 r463e7ffc 7 7 import sys 8 8 import wx.html as html 9 10 logger = logging.getLogger(__name__) 9 11 10 12 ISPDF = False … … 135 137 return pisaStatus.err 136 138 except: 137 logg ing.error("Error creating pdf: %s" % sys.exc_value)139 logger.error("Error creating pdf: %s" % sys.exc_value) 138 140 return False 139 141 -
src/sas/sasgui/perspectives/calculator/calculator.py
ra0c1e1d r463e7ffc 28 28 import logging 29 29 30 logger = logging.getLogger(__name__) 31 30 32 class Plugin(PluginBase): 31 33 """ … … 36 38 PluginBase.__init__(self, name="Calculator") 37 39 # Log startup 38 logg ing.info("Calculator plug-in started")40 logger.info("Calculator plug-in started") 39 41 self.sub_menu = "Tool" 40 42 self.data_edit_frame = None -
src/sas/sasgui/perspectives/calculator/gen_scatter_panel.py
r9a5097c r463e7ffc 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__) 40 42 41 43 _BOX_WIDTH = 76 … … 699 701 ax = Axes3D(panel.figure) 700 702 except: 701 logg ing.error("PlotPanel could not import Axes3D")703 logger.error("PlotPanel could not import Axes3D") 702 704 raise 703 705 panel.dimension = 3 … … 1344 1346 msg = "OMF Panel: %s" % sys.exc_value 1345 1347 infor = 'Error' 1346 #logg ing.error(msg)1348 #logger.error(msg) 1347 1349 if self.parent.parent != None: 1348 1350 # inform msg to wx … … 1696 1698 msg = "%s cannot write %s\n" % ('Generic Scattering', str(path)) 1697 1699 infor = 'Error' 1698 #logg ing.error(msg)1700 #logger.error(msg) 1699 1701 if self.parent.parent != None: 1700 1702 # inform msg to wx -
src/sas/sasgui/perspectives/calculator/model_editor.py
rddbac66 r463e7ffc 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__) 34 36 35 37 … … 985 987 exec "from %s import Model" % name 986 988 except: 987 logg ing.error(sys.exc_value)989 logger.error(sys.exc_value) 988 990 989 991 # Prepare the messagebox -
src/sas/sasgui/perspectives/calculator/resolution_calculator_panel.py
ra0c1e1d r463e7ffc 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__) 36 38 37 39 _BOX_WIDTH = 100 … … 1098 1100 new_string.append(value) 1099 1101 except: 1100 logg ing.error(sys.exc_value)1102 logger.error(sys.exc_value) 1101 1103 1102 1104 return new_string … … 1140 1142 return out 1141 1143 except: 1142 logg ing.error(sys.exc_value)1144 logger.error(sys.exc_value) 1143 1145 1144 1146 def _on_xy_coordinate(self, event=None): … … 1318 1320 except: 1319 1321 # Skip non-data lines 1320 logg ing.error(sys.exc_value)1322 logger.error(sys.exc_value) 1321 1323 1322 1324 return [wavelength, intensity] -
src/sas/sasgui/perspectives/corfunc/corfunc.py
r1dc8ec9 r463e7ffc 20 20 from plot_labels import * 21 21 22 logger = logging.getLogger(__name__) 22 23 23 24 class Plugin(PluginBase): … … 29 30 def __init__(self): 30 31 PluginBase.__init__(self, name="Correlation Function") 31 logg ing.info("Correlation function plug-in started")32 logger.info("Correlation function plug-in started") 32 33 self._always_active = True 33 34 self.state_reader = Reader(self.set_state) -
src/sas/sasgui/perspectives/corfunc/corfunc_state.py
rae9b8bf r463e7ffc 13 13 from sas.sascalc.dataloader.loader import Loader 14 14 15 logger = logging.getLogger(__name__) 16 15 17 CORNODE_NAME = 'corfunc' 16 18 CANSAS_NS = 'cansas1d/1.0' … … 216 218 msg = ("CorfuncState.fromXML: Could not read timestamp", 217 219 "\n{}").format(sys.exc_value) 218 logg ing.error(msg)220 logger.error(msg) 219 221 220 222 # Parse current state … … 360 362 msg = "XML document does not contain CorfuncState information\n{}" 361 363 msg.format(sys.exc_value) 362 logg ing.info(msg)364 logger.info(msg) 363 365 return state -
src/sas/sasgui/perspectives/file_converter/file_converter.py
rba65aff r463e7ffc 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__) 8 10 9 11 class Plugin(PluginBase): … … 15 17 def __init__(self): 16 18 PluginBase.__init__(self, name="File Converter") 17 logg ing.info("File Converter plug-in started")19 logger.info("File Converter plug-in started") 18 20 self._sub_menu = "Tool" 19 21 self.converter_frame = None -
src/sas/sasgui/perspectives/fitting/basepage.py
r9a5097c r463e7ffc 34 34 from sas.sasgui.guiframe.documentation_window import DocumentationWindow 35 35 36 logger = logging.getLogger(__name__) 36 37 37 38 (PageInfoEvent, EVT_PAGE_INFO) = wx.lib.newevent.NewEvent() … … 782 783 except Exception: 783 784 # Skip non-data lines 784 logg ing.error(traceback.format_exc())785 logger.error(traceback.format_exc()) 785 786 return np.array(angles), np.array(weights) 786 787 except: … … 1304 1305 [state.values, state.weights] 1305 1306 except Exception: 1306 logg ing.error(traceback.format_exc())1307 logger.error(traceback.format_exc()) 1307 1308 selection = self._find_polyfunc_selection(disp_model) 1308 1309 for list in self.fittable_param: … … 1321 1322 list[6].Disable() 1322 1323 except Exception: 1323 logg ing.error(traceback.format_exc())1324 logger.error(traceback.format_exc()) 1324 1325 # For array, disable all fixed params 1325 1326 if selection == 1: … … 1330 1331 item[2].Disable() 1331 1332 except Exception: 1332 logg ing.error(traceback.format_exc())1333 logger.error(traceback.format_exc()) 1333 1334 1334 1335 def _selectDlg(self): … … 1451 1452 self.Refresh() 1452 1453 1453 # logg ing.info("is_modified flag set to %g",is_modified)1454 # logger.info("is_modified flag set to %g",is_modified) 1454 1455 return is_modified 1455 1456 … … 1556 1557 self.save_current_state() 1557 1558 except Exception: 1558 logg ing.error(traceback.format_exc())1559 logger.error(traceback.format_exc()) 1559 1560 1560 1561 return flag, is_modified … … 2371 2372 self.model.set_dispersion(p, disp_model) 2372 2373 except Exception: 2373 logg ing.error(traceback.format_exc())2374 logger.error(traceback.format_exc()) 2374 2375 2375 2376 # save state into … … 2486 2487 self.Refresh() 2487 2488 except Exception: 2488 logg ing.error(traceback.format_exc())2489 logger.error(traceback.format_exc()) 2489 2490 # Error msg 2490 2491 msg = "Error occurred:" … … 2587 2588 del self.state.model._persistency_dict[name.split('.')[0]] 2588 2589 except Exception: 2589 logg ing.error(traceback.format_exc())2590 logger.error(traceback.format_exc()) 2590 2591 2591 2592 def _lay_out(self): … … 2719 2720 except Exception: 2720 2721 # Not for control panels 2721 logg ing.error(traceback.format_exc())2722 logger.error(traceback.format_exc()) 2722 2723 # Make sure the resduals plot goes to the last 2723 2724 if res_item is not None: … … 3052 3053 disfunc = str(item[7].GetValue()) 3053 3054 except Exception: 3054 logg ing.error(traceback.format_exc())3055 logger.error(traceback.format_exc()) 3055 3056 3056 3057 # 2D … … 3095 3096 disfunc += ' ' + str(weight) 3096 3097 except Exception: 3097 logg ing.error(traceback.format_exc())3098 logger.error(traceback.format_exc()) 3098 3099 content += name + ',' + str(check) + ',' + value + disfunc + ',' + \ 3099 3100 bound_lo + ',' + bound_hi + ':' … … 3366 3367 3367 3368 except Exception: 3368 logg ing.error(traceback.format_exc())3369 logger.error(traceback.format_exc()) 3369 3370 print "Error in BasePage._paste_poly_help: %s" % \ 3370 3371 sys.exc_info()[1] -
src/sas/sasgui/perspectives/fitting/fitting.py
r4c5098c r463e7ffc 48 48 49 49 from . import models 50 51 logger = logging.getLogger(__name__) 50 52 51 53 MAX_NBR_DATA = 4 … … 119 121 self.page_finder = {} 120 122 # Log startup 121 logg ing.info("Fitting plug-in started")123 logger.info("Fitting plug-in started") 122 124 self.batch_capable = self.get_batch_capable() 123 125 … … 346 348 page.formfactorbox.SetLabel(current_val) 347 349 except: 348 logg ing.error("update_custom_combo: %s", sys.exc_value)350 logger.error("update_custom_combo: %s", sys.exc_value) 349 351 350 352 def set_edit_menu(self, owner): … … 586 588 msg = "Fitting: cannot deal with the theory received" 587 589 evt = StatusEvent(status=msg, info="error") 588 logg ing.error("set_theory " + msg + "\n" + str(sys.exc_value))590 logger.error("set_theory " + msg + "\n" + str(sys.exc_value)) 589 591 wx.PostEvent(self.parent, evt) 590 592 … … 1796 1798 Handle exception from calculator by posting it as an error. 1797 1799 """ 1798 logg ing.error("".join(traceback.format_exception(etype, value, tb)))1800 logger.error("".join(traceback.format_exception(etype, value, tb))) 1799 1801 msg = traceback.format_exception(etype, value, tb, limit=1) 1800 1802 evt = StatusEvent(status="".join(msg), type="stop", info="error") -
src/sas/sasgui/perspectives/fitting/models.py
re92a352 r463e7ffc 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__) 20 22 21 23 … … 168 170 if not os.path.isdir(dir): 169 171 msg = "SasView couldn't locate Model plugin folder %r." % dir 170 logg ing.warning(msg)172 logger.warning(msg) 171 173 return {} 172 174 173 175 plugin_log("looking for models in: %s" % str(dir)) 174 176 #compile_file(dir) #always recompile the folder plugin 175 logg ing.info("plugin model dir: %s" % str(dir))177 logger.info("plugin model dir: %s" % str(dir)) 176 178 177 179 plugins = {} … … 188 190 msg += "\nwhile accessing model in %r" % path 189 191 plugin_log(msg) 190 logg ing.warning("Failed to load plugin %r. See %s for details"192 logger.warning("Failed to load plugin %r. See %s for details" 191 193 % (path, PLUGIN_LOG)) 192 194 … … 261 263 if self.is_changed(): 262 264 return _findModels(dir) 263 logg ing.info("plugin model : %s" % str(temp))265 logger.info("plugin model : %s" % str(temp)) 264 266 return temp 265 267 -
src/sas/sasgui/perspectives/fitting/pagestate.py
r27109e5 r463e7ffc 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__) 35 37 36 38 # Information to read/write state as xml … … 395 397 msg = "Save state does not have enough information to load" 396 398 msg += " the all of the data." 397 logg ing.warning(msg=msg)399 logger.warning(msg=msg) 398 400 else: 399 401 self.formfactorcombobox = FIRST_FORM[self.categorycombobox] … … 620 622 except Exception: 621 623 msg = "Report string expected 'name: value' but got %r" % line 622 logg ing.error(msg)624 logger.error(msg) 623 625 if name.count("State created"): 624 626 repo_time = "" + value … … 662 664 except Exception: 663 665 msg = "While parsing 'data: ...'\n" 664 logg ing.error(msg + traceback.format_exc())666 logger.error(msg + traceback.format_exc()) 665 667 if name == "model name ": 666 668 try: … … 678 680 except Exception: 679 681 msg = "While parsing 'Plotting Range: ...'\n" 680 logg ing.error(msg + traceback.format_exc())682 logger.error(msg + traceback.format_exc()) 681 683 paramval = "" 682 684 for lines in param_string.split(":"): … … 1037 1039 msg = "PageState.fromXML: Could not" 1038 1040 msg += " read timestamp\n %s" % sys.exc_value 1039 logg ing.error(msg)1041 logger.error(msg) 1040 1042 1041 1043 if entry is not None: … … 1077 1079 except Exception: 1078 1080 base = "unable to load distribution %r for %s" 1079 logg ing.error(base % (value, parameter))1081 logger.error(base % (value, parameter)) 1080 1082 continue 1081 1083 _disp_obj_dict = getattr(self, varname) … … 1099 1101 msg = ("Error reading %r from %s %s\n" 1100 1102 % (line, tagname, name)) 1101 logg ing.error(msg + traceback.format_exc())1103 logger.error(msg + traceback.format_exc()) 1102 1104 dic[name] = np.array(value_list) 1103 1105 setattr(self, varname, dic) … … 1207 1209 1208 1210 except: 1209 logg ing.info("XML document does not contain fitting information.\n"1211 logger.info("XML document does not contain fitting information.\n" 1210 1212 + traceback.format_exc()) 1211 1213 -
src/sas/sasgui/perspectives/invariant/invariant.py
rc10d9d6c r463e7ffc 27 27 from sas.sasgui.guiframe.plugin_base import PluginBase 28 28 29 logger = logging.getLogger(__name__) 30 29 31 class Plugin(PluginBase): 30 32 """ … … 46 48 47 49 # Log startup 48 logg ing.info("Invariant plug-in started")50 logger.info("Invariant plug-in started") 49 51 50 52 def get_data(self): … … 280 282 281 283 except: 282 logg ing.error("invariant.set_state: %s" % sys.exc_value)284 logger.error("invariant.set_state: %s" % sys.exc_value) 283 285 284 286 def on_set_state_helper(self, event=None): -
src/sas/sasgui/perspectives/invariant/invariant_panel.py
r18b7ecb9 r463e7ffc 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__) 26 28 27 29 # The minimum q-value to be used when extrapolating … … 460 462 self._manager.plot_theory(name="Low-Q extrapolation") 461 463 except: 462 logg ing.error(sys.exc_value)464 logger.error(sys.exc_value) 463 465 464 466 def get_high_qstar(self, inv, high_q=False): … … 494 496 self._manager.plot_theory(name="High-Q extrapolation") 495 497 except: 496 logg ing.error(sys.exc_value)498 logger.error(sys.exc_value) 497 499 498 500 def get_qstar(self, inv): … … 845 847 attr.SetValue(value) 846 848 except: 847 logg ing.error("Invariant state: %s", sys.exc_value)849 logger.error("Invariant state: %s", sys.exc_value) 848 850 849 851 def get_bookmark_by_num(self, num=None): … … 862 864 _, _, current_state, comp_state = self.state.bookmark_list[int(num)] 863 865 except: 864 logg ing.error(sys.exc_value)866 logger.error(sys.exc_value) 865 867 raise ValueError, "No such bookmark exists" 866 868 … … 957 959 self.state.clone_state() 958 960 except: 959 logg ing.error(sys.exc_value)961 logger.error(sys.exc_value) 960 962 961 963 self._set_undo_flag(True) … … 1001 1003 del self.state.state_list[str(i)] 1002 1004 except: 1003 logg ing.error(sys.exc_value)1005 logger.error(sys.exc_value) 1004 1006 # Enable the undo button if it was not 1005 1007 self._set_undo_flag(True) … … 1066 1068 del self.state.state_list[str(i)] 1067 1069 except: 1068 logg ing.error(sys.exc_value)1070 logger.error(sys.exc_value) 1069 1071 1070 1072 # try to add new state of the text changes in the state_list … … 1081 1083 self.state.state_list[str(self.state.state_num)] = self.state.clone_state() 1082 1084 except: 1083 logg ing.error(sys.exc_value)1085 logger.error(sys.exc_value) 1084 1086 1085 1087 self._set_undo_flag(True) … … 1103 1105 self.state.state_list[str(self.state.state_num)] = self.state.clone_state() 1104 1106 except: 1105 logg ing.error(sys.exc_value)1107 logger.error(sys.exc_value) 1106 1108 1107 1109 def _get_input_list(self): -
src/sas/sasgui/perspectives/invariant/invariant_state.py
rdb5294e r463e7ffc 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__) 18 20 19 21 INVNODE_NAME = 'invariant' … … 381 383 msg = "InvariantSate.fromXML: Could not read" 382 384 msg += " timestamp\n %s" % sys.exc_value 383 logg ing.error(msg)385 logger.error(msg) 384 386 385 387 # Parse bookmarks … … 694 696 msg = "XML document does not contain invariant" 695 697 msg += " information.\n %s" % sys.exc_value 696 logg ing.info(msg)698 logger.info(msg) 697 699 return state 698 700 -
src/sas/sasgui/perspectives/invariant/report_dialog.py
rd85c194 r463e7ffc 20 20 21 21 from sas.sasgui.guiframe.report_dialog import BaseReportDialog 22 23 logger = logging.getLogger(__name__) 22 24 23 25 class ReportDialog(BaseReportDialog): … … 92 94 except: 93 95 # DO not open 94 logg ing.error("Could not open file: %s" % sys.exc_value)96 logger.error("Could not open file: %s" % sys.exc_value) 95 97 # delete image file 96 98 os.remove(pic_fname) -
src/sas/sasgui/perspectives/pr/explore_dialog.py
r9a5097c r463e7ffc 22 22 import logging 23 23 import sys 24 25 logger = logging.getLogger(__name__) 24 26 25 27 # Avoid Matplotlib complaining about the lack of legend on the plot … … 284 286 msg += "a change in the " % str(output_type) 285 287 msg += "ExploreDialog code." 286 logg ing.error(msg)288 logger.error(msg) 287 289 288 290 def __do_layout(self): … … 418 420 msg = "ExploreDialog: inversion failed " 419 421 msg += "for D_max=%s\n%s" % (str(d), sys.exc_value) 420 logg ing.error(msg)422 logger.error(msg) 421 423 422 424 self.results = results -
src/sas/sasgui/perspectives/pr/inversion_panel.py
r18b7ecb9 r463e7ffc 17 17 from pr_widgets import OutputTextCtrl 18 18 from sas.sasgui.guiframe.documentation_window import DocumentationWindow 19 20 logger = logging.getLogger(__name__) 19 21 20 22 if sys.platform.count("win32") > 0: … … 710 712 self.alpha_ctl.SetValue(alpha) 711 713 except ValueError: 712 logg ing.error("InversionControl._on_accept_alpha got a value that was not a number: %s" % alpha )714 logger.error("InversionControl._on_accept_alpha got a value that was not a number: %s" % alpha ) 713 715 except: 714 716 # No estimate or bad estimate, either do nothing 715 logg ing.error("InversionControl._on_accept_alpha: %s" % sys.exc_value)717 logger.error("InversionControl._on_accept_alpha: %s" % sys.exc_value) 716 718 717 719 def _on_accept_nterms(self, evt): … … 726 728 self.nfunc_ctl.SetValue(nterms) 727 729 except ValueError: 728 logg ing.error("InversionControl._on_accept_nterms got a value that was not a number: %s" % nterms )730 logger.error("InversionControl._on_accept_nterms got a value that was not a number: %s" % nterms ) 729 731 except: 730 732 # No estimate or bad estimate, either do nothing 731 logg ing.error("InversionControl._on_accept_nterms: %s" % sys.exc_value)733 logger.error("InversionControl._on_accept_nterms: %s" % sys.exc_value) 732 734 733 735 def clear_panel(self): … … 947 949 except: 948 950 msg = "InversionControl._change_file: %s" % sys.exc_value 949 logg ing.error(msg)951 logger.error(msg) 950 952 951 953 def on_help(self, event): -
src/sas/sasgui/perspectives/pr/inversion_state.py
rd85c194 r463e7ffc 22 22 from sas.sascalc.dataloader.readers.cansas_reader import get_content 23 23 24 logger = logging.getLogger(__name__) 25 24 26 PRNODE_NAME = 'pr_inversion' 25 27 CANSAS_NS = "cansas1d/1.0" … … 250 252 msg = "InversionState.fromXML: Could not read " 251 253 msg += "timestamp\n %s" % sys.exc_value 252 logg ing.error(msg)254 logger.error(msg) 253 255 254 256 # Parse inversion inputs … … 306 308 err_msg += "%d %d" % (len(self.coefficients), 307 309 self.nfunc) 308 logg ing.error(err_msg)310 logger.error(err_msg) 309 311 self.coefficients = None 310 312 … … 343 345 err_msg += " covariance matrix: " 344 346 err_msg += "%d %d" % (len(self.covariance), self.nfunc) 345 logg ing.error(err_msg)347 logger.error(err_msg) 346 348 self.covariance = None 347 349 … … 430 432 msg = "XML document does not contain P(r) " 431 433 msg += "information.\n %s" % sys.exc_value 432 logg ing.info(msg)434 logger.info(msg) 433 435 434 436 return state -
src/sas/sasgui/perspectives/pr/pr.py
r9a5097c r463e7ffc 34 34 from pr_widgets import load_error 35 35 from sas.sasgui.guiframe.plugin_base import PluginBase 36 37 logger = logging.getLogger(__name__) 36 38 37 39 … … 113 115 114 116 # Log startup 115 logg ing.info("Pr(r) plug-in started")117 logger.info("Pr(r) plug-in started") 116 118 117 119 def delete_data(self, data_id): … … 181 183 self.control_panel.set_state(state) 182 184 except: 183 logg ing.error("prview.set_state: %s" % sys.exc_value)185 logger.error("prview.set_state: %s" % sys.exc_value) 184 186 185 187 … … 508 510 data_err = np.append(data_err, err) 509 511 except: 510 logg ing.error(sys.exc_value)512 logger.error(sys.exc_value) 511 513 512 514 if not scale == None: … … 559 561 data_err = np.append(data_err, err) 560 562 except: 561 logg ing.error(sys.exc_value)563 logger.error(sys.exc_value) 562 564 elif line.find("The 6 columns") >= 0: 563 565 data_started = True … … 1201 1203 dataset = panel.plots[panel.graph.selected_plottable].name 1202 1204 else: 1203 logg ing.info("Prview Error: No data is available")1205 logger.info("Prview Error: No data is available") 1204 1206 return 1205 1207 … … 1211 1213 except: 1212 1214 self.control_panel.alpha = self.alpha 1213 logg ing.info("Prview :Alpha Not estimate yet")1215 logger.info("Prview :Alpha Not estimate yet") 1214 1216 try: 1215 1217 estimate = int(self.control_panel.nterms_estimate) … … 1217 1219 except: 1218 1220 self.control_panel.nfunc = self.nfunc 1219 logg ing.info("Prview : ntemrs Not estimate yet")1221 logger.info("Prview : ntemrs Not estimate yet") 1220 1222 1221 1223 self.current_plottable = panel.plots[panel.graph.selected_plottable] -
src/sas/sasgui/perspectives/simulation/simulation.py
r9a5097c r463e7ffc 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__) 26 28 27 29 class Calc1D(CalcThread): … … 93 95 self._default_save_location = os.getcwd() 94 96 # Log startup 95 logg ing.info("Simulation plug-in started")97 logger.info("Simulation plug-in started") 96 98 97 99 def get_panels(self, parent): -
src/sas/sasgui/plottools/LineModel.py
rdd5bf63 rec8886e 8 8 function should disappear in a future iteration (see notes in fitDialog) 9 9 10 -PDB July 10, 2016 10 PDB July 10, 2016 11 11 12 """ 12 13 … … 70 71 runXY is when the if statement is true. I however cannot see what that 71 72 function is for. It needs to be documented here or removed. 72 -PDB 7/10/1673 PDB 7/10/16 73 74 74 75 :param x: simple value … … 92 93 but the only difference between this and run is when the if 93 94 statement is true. I however cannot see what that function 94 is for. It needs to be documented here or removed. -PDB 7/10/1695 is for. It needs to be documented here or removed. PDB 7/10/16 95 96 96 97 :param x: simple value -
src/sas/sasgui/plottools/PlotPanel.py
r9a5097c r463e7ffc 33 33 from sas.sasgui.guiframe.events import StatusEvent 34 34 from .toolbar import NavigationToolBar, PlotPrintout, bind 35 36 logger = logging.getLogger(__name__) 35 37 36 38 def show_tree(obj, d=0): … … 1506 1508 from mpl_toolkits.mplot3d import Axes3D 1507 1509 except: 1508 logg ing.error("PlotPanel could not import Axes3D")1510 logger.error("PlotPanel could not import Axes3D") 1509 1511 self.subplot.figure.clear() 1510 1512 ax = Axes3D(self.subplot.figure) -
src/sas/sasgui/plottools/binder.py
rd7bb526 r463e7ffc 4 4 import sys 5 5 import logging 6 7 logger = logging.getLogger(__name__) 6 8 7 9 class Selection(object): … … 121 123 for cid in self._connections: self.canvas.mpl_disconnect(cid) 122 124 except: 123 logg ing.error("Error disconnection canvas: %s" % sys.exc_value)125 logger.error("Error disconnection canvas: %s" % sys.exc_value) 124 126 self._connections = [] 125 127 -
src/sas/sasgui/plottools/canvas.py
rd7bb526 r463e7ffc 11 11 from matplotlib.backends.backend_wx import RendererWx 12 12 13 logger = logging.getLogger(__name__) 14 13 15 14 16 def draw_image(self, x, y, im, bbox, clippath=None, clippath_trans=None): … … 96 98 dc.DrawBitmap(self.canvas.bitmap, (0, 0)) 97 99 except: 98 logg ing.error(sys.exc_value)100 logger.error(sys.exc_value) 99 101 100 102 # restore original figure resolution … … 207 209 fig.draw(self) 208 210 except ValueError: 209 logg ing.error(sys.exc_value)211 logger.error(sys.exc_value) 210 212 else: 211 213 self._isRendered = False -
src/sas/sasgui/plottools/plottables.py
r9a5097c r463e7ffc 46 46 import sys 47 47 import logging 48 49 logger = logging.getLogger(__name__) 48 50 49 51 if 'any' not in dir(__builtins__): … … 808 810 tempdy.append(self.dy[i]) 809 811 except: 810 logg ing.error("check_data_logX: skipping point x %g", self.x[i])811 logg ing.error(sys.exc_value)812 logger.error("check_data_logX: skipping point x %g", self.x[i]) 813 logger.error(sys.exc_value) 812 814 self.x = tempx 813 815 self.y = tempy … … 838 840 tempdy.append(self.dy[i]) 839 841 except: 840 logg ing.error("check_data_logY: skipping point %g", self.y[i])841 logg ing.error(sys.exc_value)842 logger.error("check_data_logY: skipping point %g", self.y[i]) 843 logger.error(sys.exc_value) 842 844 843 845 self.x = tempx -
src/sas/sasgui/plottools/toolbar.py
rd7bb526 r463e7ffc 6 6 from matplotlib.backends.backend_wx import _load_bitmap 7 7 import logging 8 9 logger = logging.getLogger(__name__) 8 10 9 11 # Event binding code changed after version 2.5 … … 94 96 self._parent.onToolContextMenu(event=event) 95 97 except: 96 logg ing.error("Plot toolbar could not show menu")98 logger.error("Plot toolbar could not show menu") 97 99 98 100 def context_menu(self, event): … … 122 124 except: 123 125 import traceback 124 logg ing.error(traceback.format_exc())126 logger.error(traceback.format_exc()) 125 127 126 128 def copy_figure(self, event): -
test/run_one.py
r76f132a raaad4c95 7 7 import imp 8 8 from os.path import abspath, dirname, split as splitpath, join as joinpath 9 10 import logging 11 logger = logging.getLogger(__name__) 12 if not logger.root.handlers: 13 import logging.config 14 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) 9 20 10 21 run_py = joinpath(dirname(dirname(abspath(__file__))), 'run.py') -
test/sasdataloader/test/isis_1_0_write_test.xml
rb699768 rc155a16 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
rb699768 rc155a16 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
rb699768 raaad4c95 4 4 It is create in the folder where test is runned 5 5 """ 6 import logging7 logging.basicConfig(level=logging.DEBUG,8 format='%(asctime)s %(levelname)s %(message)s',9 filename='test_log.txt',10 filemode='w')11 12 13 6 14 7 import unittest … … 16 9 import sas.sascalc.dataloader 17 10 from sas.sascalc.dataloader.loader import Loader 11 12 import logging 13 logger = logging.getLogger(__name__) 18 14 19 15 # Check whether we should test image loading on this system … … 23 19 HAS_IMAGE = True 24 20 except: 25 print "IMAGE TESTS WILL NOT BE PERFORMED: MISSING PIL MODULE"21 logger.info("IMAGE TESTS WILL NOT BE PERFORMED: MISSING PIL MODULE") 26 22 27 23 import os.path … … 42 38 43 39 class testLoader(unittest.TestCase): 44 logg ing.debug("Inside testLoad module")40 logger.debug("Inside testLoad module") 45 41 46 42 """ test fitting """ … … 118 114 try:self.L.load('AR07232_rest.ASC') 119 115 except ValueError,msg: 120 #logg ing.log(10,str(msg))121 logg ing.error(str(msg))116 #logger.log(10,str(msg)) 117 logger.error(str(msg)) 122 118 123 119 def testload3_lowercase(self): … … 133 129 try:self.L.load('AR07232_rest.ASC') 134 130 except ValueError,msg: 135 #logg ing.log(10,str(msg))136 logg ing.error(str(msg))131 #logger.log(10,str(msg)) 132 logger.error(str(msg)) 137 133 def testload4(self): 138 134 """ Testing loading danse file""" … … 145 141 try: self.L.load('P_New.sans') 146 142 except ValueError,msg: 147 #logg ing.log(40,str(msg))148 logg ing.error(str(msg))143 #logger.log(40,str(msg)) 144 logger.error(str(msg)) 149 145 #else: raise ValueError,"No error raised for missing extension" 150 146 -
test/sasdataloader/test/utest_cansas.py
r9a5097c r463e7ffc 21 21 from lxml import etree 22 22 from xml.dom import minidom 23 24 logger = logging.getLogger(__name__) 23 25 24 26 warnings.simplefilter("ignore") … … 57 59 def test_invalid_xml(self): 58 60 """ 59 Should fail gracefully and send a message to logg ing.info()61 Should fail gracefully and send a message to logger.info() 60 62 """ 61 63 invalid = StringIO.StringIO('<a><c></b></a>') -
test/sasdataloader/test/write_test.xml
rb699768 rc155a16 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
r35ec279 raaad4c95 4 4 import re 5 5 import sys 6 7 import logging 8 import logging.config 9 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 6 13 try: 7 14 import xmlrunner 8 15 except: 9 print "xmlrunner needs to be installed to run these tests"10 print "Try easy_install unittest-xml-reporting"16 logger.error("xmlrunner needs to be installed to run these tests") 17 logger.error("Try easy_install unittest-xml-reporting") 11 18 sys.exit(1) 12 19 … … 42 49 continue 43 50 51 44 52 # Go through modules looking for unit tests 45 53 module_dir = os.path.join(test_root, d, "test")
Note: See TracChangeset
for help on using the changeset viewer.