source: sasview/test/sasdataloader/test/cansas1d_notitle.xml @ 83b6408

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 83b6408 was 83b6408, checked in by krzywon, 8 years ago

Modified Cansas XML reader to attempt to load data that doesn't fully meet the cansas format.

  • Property mode set to 100644
File size: 4.2 KB
Line 
1<?xml version="1.0"?>
2<?xml-stylesheet type="text/xsl" href="example.xsl" ?>
3<SASroot version="1.0"
4    xmlns="cansas1d/1.0"
5    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6    xsi:schemaLocation="cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd"
7    >
8        <SASentry>
9                <Run name='run name'>1234</Run>
10                <SASdata>
11                        <Idata>
12                                <Q unit="1/A">0.02</Q>
13                                <I unit="1/cm">1000</I>
14                                <Idev unit="1/cm">3</Idev>
15                                <Qdev unit="1/A">0.01</Qdev>
16                                <Qmean unit="1/A"><!-- Qmean is optional --></Qmean>
17                                <Shadowfactor><!-- Shadowfactor is optional --></Shadowfactor>
18                        </Idata>
19                        <Idata>
20                                <Q unit="1/A">0.03</Q>
21                                <I unit="1/cm">1001</I>
22                                <Idev unit="1/cm">4</Idev>
23                                <Qdev unit="1/A">0.02</Qdev>
24                                <Qmean unit="1/A"><!-- Qmean is optional --></Qmean>
25                                <Shadowfactor><!-- Shadowfactor is optional --></Shadowfactor>
26                        </Idata>
27                </SASdata>
28                <SASsample name='my sample'>
29                        <ID>SI600-new-long</ID>
30                        <thickness unit="mm">1.03</thickness>
31                        <transmission>0.327</transmission>
32                        <temperature unit="C">0.0000</temperature>
33                        <position>
34                                <x unit="mm">10.00</x>
35                                <y unit="mm">0.00</y>
36                        </position>
37                        <orientation>
38                                <roll unit="degree">22.5<!-- was: sample_orientation --></roll>
39                                <pitch unit="degree">0.020<!-- was: sample_offset_angle --></pitch>
40                        </orientation>
41                        <details>
42                                <!-- was: sample_prep -->
43                                http://chemtools.chem.soton.ac.uk/projects/blog/blogs.php/bit_id/2720
44                        </details>
45                        <details>
46                                Some text here
47                        </details>
48                       
49                </SASsample>
50                <SASinstrument>
51                        <name>canSAS instrument</name>
52                        <SASsource name="source name">
53                                <radiation>neutron</radiation>
54                                <beam_size name='bm'>
55                                        <x unit="mm">12.00</x>
56                                        <y unit="mm">13.00</y>
57                                </beam_size>
58                                <beam_shape>disc</beam_shape>
59                                <wavelength unit="A">6.00</wavelength>
60                                <wavelength_min unit="nm">0.22</wavelength_min>
61                                <wavelength_max unit="nm">1.00</wavelength_max>
62                                <wavelength_spread unit="percent">
63                                        14.3
64                                </wavelength_spread>
65                        </SASsource>
66                        <SAScollimation name="test coll name">
67                                <length unit='mm'> 123.0</length>
68                                <aperture name="source" type="radius">
69                                        <size>
70                                                <x unit="mm">50</x>
71                                        </size>
72                                        <distance unit="m">11.000<!-- was: distance_coll --></distance>
73                                </aperture>
74                                <aperture name="sample" type="radius">
75                                        <size name='size name'>
76                                                <x unit="mm">1</x>
77                                        </size>
78                                </aperture>
79                        </SAScollimation>
80                        <SASdetector>
81                                <name>fictional hybrid</name>
82                                <SDD unit="m">
83                                        <!-- sample-to-detector distance -->
84                                        4.150
85                                </SDD>
86                                <offset>
87                    <x unit="mm">1</x>
88                    <y unit="mm">2</y>
89                </offset>
90                <orientation>
91                                        <roll unit="degree">1.00</roll>
92                                        <pitch unit="degree">0.00</pitch>
93                                        <yaw unit="degree">0.00</yaw>
94                                </orientation>
95                                <beam_center>
96                                        <x unit="mm">322.64</x>
97                                        <y unit="mm">327.68</y>
98                                </beam_center>
99                                <pixel_size>
100                                        <x unit="mm">5.00</x>
101                                        <y unit="mm">5.00</y>
102                                </pixel_size>
103                        </SASdetector>
104                </SASinstrument>
105                <SASprocess>
106                        <name>spol</name>
107                        <date>04-Sep-2007 18:35:02</date>
108                        <term name="radialstep" unit="mm">10.000</term>
109                        <term name="sector_width" unit="degree">180.0</term>
110                        <term name="sector_orient" unit="degree">0.0</term>
111                        <term name="MASK_file">USER:MASK.COM</term>
112                        <SASprocessnote>
113                                AvA1 0.0000E+00 AsA2 1.0000E+00 XvA3 1.0526E+03 XsA4
114                                5.2200E-02 XfA5 0.0000E+00
115                        </SASprocessnote>
116                        <SASprocessnote>
117                                S... 13597 0 2.26E+02 2A 5mM 0%D2O Sbak 13594 0 1.13E+02
118                                H2O Buffer
119                        </SASprocessnote>
120                        <SASprocessnote>V... 13552 3 1.00E+00 H2O5m</SASprocessnote>
121                </SASprocess>
122                <SASprocess>
123                        <name>NCNR-IGOR</name>
124                        <date>03-SEP-2006 11:42:47</date>
125                        <description />
126                        <term name="average_type">Circular</term>
127                        <term name="SAM_file">SEP06064.SA3_AJJ_L205</term>
128                        <term name="BKD_file">SEP06064.SA3_AJJ_L205</term>
129                        <term name="EMP_file">SEP06064.SA3_AJJ_L205</term>
130                        <term name="DIV_file">SEP06064.SA3_AJJ_L205</term>
131                        <term name="MASK_file">SEP06064.SA3_AJJ_L205</term>
132                        <term name="ABS:TSTAND">1</term>
133                        <term name="ABS:DSTAND" unit="mm">1</term>
134                        <term name="ABS:IZERO">230.09</term>
135                        <term name="ABS:XSECT" unit="mm">1</term>
136                        <SASprocessnote>No Information</SASprocessnote>
137                </SASprocess>
138                <SASnote />
139        </SASentry>
140</SASroot>
Note: See TracBrowser for help on using the repository browser.