Ignore:
Timestamp:
Feb 19, 2016 10:07:22 AM (8 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
d7bb526
Parents:
792e6be
Message:

Initial commit of the refactored SasCalc? module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/sasdataloader/test/write_test.xml

    r400155b rb699768  
    1 <?xml version='1.0' encoding='UTF-8'?> 
    2 <SASroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="cansas1d/1.0" version="1.0" xsi:schemaLocation="cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd"> 
    3   <SASentry> 
    4     <Title>Test title</Title> 
    5     <Run name="run name">1234</Run> 
    6     <SASdata> 
    7       <Idata> 
    8         <Q unit="1/A">0.02</Q> 
    9         <I unit="1/cm">1000.0</I> 
    10         <Idev unit="1/cm">3.0</Idev> 
    11         <Qdev unit="1/A">0.01</Qdev> 
    12       </Idata> 
    13       <Idata> 
    14         <Q unit="1/A">0.03</Q> 
    15         <I unit="1/cm">1001.0</I> 
    16         <Idev unit="1/cm">4.0</Idev> 
    17         <Qdev unit="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 name="source name"> 
    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 name="radialstep" unit="mm">10.000</term> 
    91       <term name="sector_width" unit="degree">180.0</term> 
    92       <term name="sector_orient" unit="degree">0.0</term> 
    93       <term name="MASK_file">USER:MASK.COM</term> 
    94       <SASprocessnote></SASprocessnote> 
    95     </SASprocess> 
    96     <SASprocess> 
    97       <name>NCNR-IGOR</name> 
    98       <date>03-SEP-2006 11:42:47</date> 
    99       <description></description> 
    100       <term name="average_type">Circular</term> 
    101       <term name="SAM_file">SEP06064.SA3_AJJ_L205</term> 
    102       <term name="BKD_file">SEP06064.SA3_AJJ_L205</term> 
    103       <term name="EMP_file">SEP06064.SA3_AJJ_L205</term> 
    104       <term name="DIV_file">SEP06064.SA3_AJJ_L205</term> 
    105       <term name="MASK_file">SEP06064.SA3_AJJ_L205</term> 
    106       <term name="ABS:TSTAND">1</term> 
    107       <term name="ABS:DSTAND" unit="mm">1</term> 
    108       <term name="ABS:IZERO">230.09</term> 
    109       <term name="ABS:XSECT" unit="mm">1</term> 
    110       <SASprocessnote></SASprocessnote> 
    111     </SASprocess> 
    112     <SASnote/> 
    113   </SASentry> 
    114 </SASroot> 
Note: See TracChangeset for help on using the changeset viewer.