source: sasview/test/sansdataloader/test/write_test.xml @ ea67541

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 ea67541 was ea67541, checked in by Jeff Krzywon <jeffery.krzywon@…>, 10 years ago

Fix for ticket #204 - processing instructions were not being set properly when saving as cansas data file.

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<?xml version="1.0" ?>
2<?xml-stylesheet type="text/xsl" href="example.xsl" ?>
3<SASroot version="1.0" xmlns="cansas1d/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd">
4        <SASentry>
5                <Title>
6                        Test title
7                </Title>
8                <Run name="run name">
9                        1234
10                </Run>
11                <SASdata>
12                        <Idata>
13                                <Q unit="1/A">
14                                        0.02
15                                </Q>
16                                <I unit="1/cm">
17                                        1000.0
18                                </I>
19                                <Idev unit="1/cm">
20                                        3.0
21                                </Idev>
22                                <Qdev unit="1/A">
23                                        0.01
24                                </Qdev>
25                        </Idata>
26                        <Idata>
27                                <Q unit="1/A">
28                                        0.03
29                                </Q>
30                                <I unit="1/cm">
31                                        1001.0
32                                </I>
33                                <Idev unit="1/cm">
34                                        4.0
35                                </Idev>
36                                <Qdev unit="1/A">
37                                        0.02
38                                </Qdev>
39                        </Idata>
40                </SASdata>
41                <SASsample name="my sample">
42                        <ID>
43                                SI600-new-long
44                        </ID>
45                        <thickness unit="mm">
46                                1.03
47                        </thickness>
48                        <transmission>
49                                0.327
50                        </transmission>
51                        <temperature unit="C">
52                                0.0
53                        </temperature>
54                        <position>
55                                <x unit="mm">
56                                        10.0
57                                </x>
58                                <y unit="mm">
59                                        0.0
60                                </y>
61                        </position>
62                        <orientation>
63                                <roll unit="degree">
64                                        22.5
65                                </roll>
66                                <pitch unit="degree">
67                                        0.02
68                                </pitch>
69                        </orientation>
70                        <details>
71                                http://chemtools.chem.soton.ac.uk/projects/blog/blogs.php/bit_id/2720
72                        </details>
73                        <details>
74                                Some text here
75                        </details>
76                </SASsample>
77                <SASinstrument>
78                        <name>
79                                canSAS instrument
80                        </name>
81                        <SASsource name="source name">
82                                <radiation>
83                                        neutron
84                                </radiation>
85                                <beam_size name="bm">
86                                        <x unit="mm">
87                                                12.0
88                                        </x>
89                                        <y unit="mm">
90                                                13.0
91                                        </y>
92                                </beam_size>
93                                <beam_shape>
94                                        disc
95                                </beam_shape>
96                                <wavelength unit="A">
97                                        6.0
98                                </wavelength>
99                                <wavelength_min unit="nm">
100                                        0.22
101                                </wavelength_min>
102                                <wavelength_max unit="nm">
103                                        1.0
104                                </wavelength_max>
105                                <wavelength_spread unit="percent">
106                                        14.3
107                                </wavelength_spread>
108                        </SASsource>
109                        <SAScollimation name="test coll name">
110                                <length unit="mm">
111                                        123.0
112                                </length>
113                                <aperture name="source" type="radius">
114                                        <size>
115                                                <x unit="mm">
116                                                        50.0
117                                                </x>
118                                        </size>
119                                        <distance unit="mm">
120                                                11000.0
121                                        </distance>
122                                </aperture>
123                                <aperture name="sample" type="radius">
124                                        <size>
125                                                <x unit="mm">
126                                                        1.0
127                                                </x>
128                                        </size>
129                                </aperture>
130                        </SAScollimation>
131                        <SASdetector>
132                                <name>
133                                        fictional hybrid
134                                </name>
135                                <SDD unit="mm">
136                                        4150.0
137                                </SDD>
138                                <offset>
139                                        <x unit="m">
140                                                0.001
141                                        </x>
142                                        <y unit="m">
143                                                0.002
144                                        </y>
145                                </offset>
146                                <orientation>
147                                        <roll unit="degree">
148                                                1.0
149                                        </roll>
150                                        <pitch unit="degree">
151                                                0.0
152                                        </pitch>
153                                        <yaw unit="degree">
154                                                0.0
155                                        </yaw>
156                                </orientation>
157                                <beam_center>
158                                        <x unit="mm">
159                                                322.64
160                                        </x>
161                                        <y unit="mm">
162                                                327.68
163                                        </y>
164                                </beam_center>
165                                <pixel_size>
166                                        <x unit="mm">
167                                                5.0
168                                        </x>
169                                        <y unit="mm">
170                                                5.0
171                                        </y>
172                                </pixel_size>
173                        </SASdetector>
174                </SASinstrument>
175                <SASprocess>
176                        <name>
177                                spol
178                        </name>
179                        <date>
180                                04-Sep-2007 18:35:02
181                        </date>
182                        <description>
183                               
184                        </description>
185                        <term name="radialstep" unit="mm">
186                                10.000
187                        </term>
188                        <term name="sector_width" unit="degree">
189                                180.0
190                        </term>
191                        <term name="sector_orient" unit="degree">
192                                0.0
193                        </term>
194                        <term name="MASK_file">
195                                USER:MASK.COM
196                        </term>
197                        <SASprocessnote>
198                               
199                        </SASprocessnote>
200                </SASprocess>
201                <SASprocess>
202                        <name>
203                                NCNR-IGOR
204                        </name>
205                        <date>
206                                03-SEP-2006 11:42:47
207                        </date>
208                        <description>
209                               
210                        </description>
211                        <term name="average_type">
212                                Circular
213                        </term>
214                        <term name="SAM_file">
215                                SEP06064.SA3_AJJ_L205
216                        </term>
217                        <term name="BKD_file">
218                                SEP06064.SA3_AJJ_L205
219                        </term>
220                        <term name="EMP_file">
221                                SEP06064.SA3_AJJ_L205
222                        </term>
223                        <term name="DIV_file">
224                                SEP06064.SA3_AJJ_L205
225                        </term>
226                        <term name="MASK_file">
227                                SEP06064.SA3_AJJ_L205
228                        </term>
229                        <term name="ABS:TSTAND">
230                                1
231                        </term>
232                        <term name="ABS:DSTAND" unit="mm">
233                                1
234                        </term>
235                        <term name="ABS:IZERO">
236                                230.09
237                        </term>
238                        <term name="ABS:XSECT" unit="mm">
239                                1
240                        </term>
241                        <SASprocessnote>
242                               
243                        </SASprocessnote>
244                </SASprocess>
245                <SASnote/>
246        </SASentry>
247</SASroot>
Note: See TracBrowser for help on using the repository browser.