1 | #pragma rtGlobals=3 // Use modern global access method and strict wave access. |
---|
2 | |
---|
3 | |
---|
4 | // |
---|
5 | // this is a test of the "new"V SANS file structure that is supposed to be |
---|
6 | // NeXus compliant. It doesn't have the NICE logs, but has everything that I |
---|
7 | // can think of here. |
---|
8 | // |
---|
9 | |
---|
10 | // |
---|
11 | // To properly generate a Nexus file with attributes, using Pete Jemain's procedures: |
---|
12 | // |
---|
13 | // Generating the "current" Igor macros: |
---|
14 | // - From the outlines, make a copy of the outline, and export some of the selected |
---|
15 | // columns to be able to: |
---|
16 | // 1) Make all of the waves and folders |
---|
17 | // 2) Add attributes (only) to the existing tree |
---|
18 | // 3) Fill the tree with simulation values |
---|
19 | // (still don't know here how to not lose the "=VCALC_getWavelength" statements |
---|
20 | // and similar assignments. these are not part of the outline) |
---|
21 | // |
---|
22 | // |
---|
23 | // |
---|
24 | // Generate the data file: |
---|
25 | // 1) Set down the folder structure: H_Setup_SANS_Structure() |
---|
26 | // 2) Write in the attributes: H_FillSANS_Attributes() |
---|
27 | // 3) Fill with simulated data: H_FillSANS_wSim() |
---|
28 | // |
---|
29 | // There is now a SANS_file folder which contains everything, but is not "aware" |
---|
30 | // of any of references that Pete's gateway needs. |
---|
31 | // |
---|
32 | // 4) Save the folder to HDF5: Save_VSANS_file() |
---|
33 | // attributes are not saved, but the tree is correct |
---|
34 | // 5) Load back in to generate xref: H_HDF5Gate_ReadTest() |
---|
35 | // no attributes loaded, but HDF5___xref is generated |
---|
36 | // 6) From the loaded folder, save xref: Save_HDF5___xref() |
---|
37 | // save it to disk |
---|
38 | // 7) Copy the reference to SANS_file: Copy_HDF5___xref() |
---|
39 | // load it from disk, and copy it to the folder |
---|
40 | // 8) Save the folder using the gateway: H_HDF5Gate_WriteVSANS() |
---|
41 | // now, the Nexus file is saved with attributes |
---|
42 | // |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | // |
---|
47 | // lays out the tree and fills with dummy values |
---|
48 | // |
---|
49 | Proc H_Setup_VSANS_Structure() |
---|
50 | |
---|
51 | Variable n=100 |
---|
52 | Variable tubes=48 |
---|
53 | |
---|
54 | NewDataFolder/O/S root:VSANS_file |
---|
55 | Make/O/T/N=1 file_name = "VSANSTest.h5" |
---|
56 | Make/O/T/N=1 file_time = "2015-02-28T08:15:30-5:00" |
---|
57 | Make/O/T/N=1 facility = "NCNR" |
---|
58 | Make/O/T/N=1 NeXus_version = "Nexus 0.0" |
---|
59 | Make/O/T/N=1 hdf_version = "hdf5.x" |
---|
60 | Make/O/T/N=1 file_history = "history log" |
---|
61 | NewDataFolder/O/S root:VSANS_file:entry1 |
---|
62 | Make/O/T/N=1 title = "title of entry1" |
---|
63 | Make/O/D/N=1 experiment_identifier = 684636 |
---|
64 | Make/O/T/N=1 experiment_description = "description of expt" |
---|
65 | Make/O/T/N=1 entry_identifier = "S22-33" |
---|
66 | Make/O/T/N=1 definition = "NXsas" |
---|
67 | Make/O/T/N=1 start_time = "2015-02-28T08:15:30-5:00" |
---|
68 | Make/O/T/N=1 end_time = "2015-02-28T08:15:30-5:00" |
---|
69 | Make/O/D/N=1 duration = 300 |
---|
70 | Make/O/D/N=1 collection_time = 300 |
---|
71 | Make/O/T/N=1 run_cycle = "S22-23" |
---|
72 | Make/O/T/N=1 program_name = "runPoint={'stuff'}" |
---|
73 | Make/O/T/N=1 data_directory = "[VSANS_VSANS]" |
---|
74 | NewDataFolder/O/S root:VSANS_file:entry1:user |
---|
75 | Make/O/T/N=1 name = "Dr. Pi" |
---|
76 | Make/O/T/N=1 role = "evil scientist" |
---|
77 | Make/O/T/N=1 affiliation = "NIST" |
---|
78 | Make/O/T/N=1 address = "100 Bureau Drive" |
---|
79 | Make/O/T/N=1 telephoneNumber = "301-999-9999" |
---|
80 | Make/O/T/N=1 faxNumber = "301-999-9999" |
---|
81 | Make/O/T/N=1 email = "sans@nist" |
---|
82 | Make/O/I/N=1 facility_user_id = 6937596 |
---|
83 | NewDataFolder/O/S root:VSANS_file:entry1:control |
---|
84 | Make/O/T/N=1 mode = "timer" |
---|
85 | Make/O/D/N=1 preset = 555 |
---|
86 | Make/O/D/N=1 integral = 555 |
---|
87 | Make/O/D/N=1 monitor_counts = 666 |
---|
88 | Make/O/D/N=1 monitor_preset = 1e8 |
---|
89 | Make/O/T/N=1 type = "monitor type" |
---|
90 | Make/O/D/N=1 efficiency = 0.01 |
---|
91 | Make/O/D/N=1 sampled_fraction = 1 |
---|
92 | Make/O/D/N=1 detector_counts = 100111222 |
---|
93 | Make/O/D/N=1 detector_preset = 1e5 |
---|
94 | Make/O/D/N=1 count_start = 1 |
---|
95 | Make/O/D/N=1 count_end = 1 |
---|
96 | Make/O/D/N=1 count_time = 1 |
---|
97 | Make/O/D/N=1 count_time_preset = 1 |
---|
98 | NewDataFolder/O/S root:VSANS_file:entry1:program_data |
---|
99 | Make/O/T/N=1 data = "program data" |
---|
100 | Make/O/T/N=1 description = "acquisition" |
---|
101 | Make/O/T/N=1 file_name = "NICE" |
---|
102 | Make/O/T/N=1 type = "client" |
---|
103 | NewDataFolder/O/S root:VSANS_file:entry1:sample |
---|
104 | Make/O/T/N=1 name = "My Sample" |
---|
105 | Make/O/T/N=1 chemical_formula = "C8H10N4O2" |
---|
106 | NewDataFolder/O/S root:VSANS_file:entry1:sample:temperature_1 |
---|
107 | Make/O/T/N=1 name = "Sample temperature" |
---|
108 | Make/O/T/N=1 attached_to = "block" |
---|
109 | Make/O/T/N=1 measurement = "temperature" |
---|
110 | NewDataFolder/O/S root:VSANS_file:entry1:sample:temperature_1:value_log |
---|
111 | Make/O/T/N=1 start = "2015-02-28T08:15:30-5:00" |
---|
112 | Make/O/D/N=(n) nx_time = p |
---|
113 | Make/O/D/N=(n) value = 2*p |
---|
114 | NewDataFolder/O/S root:VSANS_file:entry1:sample:temperature_2 |
---|
115 | Make/O/T/N=1 name = "Sample temperature" |
---|
116 | Make/O/T/N=1 attached_to = "block" |
---|
117 | Make/O/T/N=1 measurement = "temperature" |
---|
118 | NewDataFolder/O/S root:VSANS_file:entry1:sample:temperature_2:value_log |
---|
119 | Make/O/T/N=1 start = "2015-02-28T08:15:30-5:00" |
---|
120 | Make/O/D/N=(n) nx_time = p |
---|
121 | Make/O/D/N=(n) value = 3*p |
---|
122 | NewDataFolder/O/S root:VSANS_file:entry1:sample:electric_field |
---|
123 | Make/O/T/N=1 name = "electric meter" |
---|
124 | Make/O/T/N=1 attached_to = "sample" |
---|
125 | Make/O/T/N=1 measurement = "voltage" |
---|
126 | NewDataFolder/O/S root:VSANS_file:entry1:sample:electric_field:value_log |
---|
127 | Make/O/T/N=1 start = "2015-02-28T08:15:30-5:00" |
---|
128 | Make/O/D/N=(n) nx_time = 2*p |
---|
129 | Make/O/D/N=(n) value = sin(p/10) |
---|
130 | NewDataFolder/O/S root:VSANS_file:entry1:sample:shear_field |
---|
131 | Make/O/T/N=1 name = "rheometer" |
---|
132 | Make/O/T/N=1 attached_to = "sample" |
---|
133 | Make/O/T/N=1 measurement = "stress" |
---|
134 | NewDataFolder/O/S root:VSANS_file:entry1:sample:shear_field:value_log |
---|
135 | Make/O/T/N=1 start = "2015-02-28T08:15:30-5:00" |
---|
136 | Make/O/D/N=(n) nx_time = p |
---|
137 | Make/O/D/N=(n) value = cos(p/5) |
---|
138 | NewDataFolder/O/S root:VSANS_file:entry1:sample:pressure |
---|
139 | Make/O/T/N=1 name = "Sample pressure" |
---|
140 | Make/O/T/N=1 attached_to = "pressure cell" |
---|
141 | Make/O/T/N=1 measurement = "pressure" |
---|
142 | NewDataFolder/O/S root:VSANS_file:entry1:sample:pressure:value_log |
---|
143 | Make/O/T/N=1 start = "2015-02-28T08:15:30-5:00" |
---|
144 | Make/O/D/N=(n) nx_time = p |
---|
145 | Make/O/D/N=(n) value = p/2 |
---|
146 | NewDataFolder/O/S root:VSANS_file:entry1:sample:magnetic_field |
---|
147 | Make/O/T/N=1 name = "magnetic field (direction)" |
---|
148 | Make/O/T/N=1 attached_to = "cryostat" |
---|
149 | Make/O/T/N=1 measurement = "magnetic field" |
---|
150 | NewDataFolder/O/S root:VSANS_file:entry1:sample:magnetic_field:value_log |
---|
151 | Make/O/T/N=1 start = "2015-02-28T08:15:30-5:00" |
---|
152 | Make/O/D/N=(n) nx_time = p |
---|
153 | Make/O/D/N=(n) value = 10*p |
---|
154 | SetDataFolder root:VSANS_file:entry1:sample |
---|
155 | Make/O/D/N=1 changer_position = 5 |
---|
156 | Make/O/T/N=1 sample_holder_description = "10CB" |
---|
157 | Make/O/D/N=1 mass = 0.3 |
---|
158 | Make/O/D/N=1 density = 1.02 |
---|
159 | Make/O/D/N=1 molecular_weight = 194.19 |
---|
160 | Make/O/T/N=1 description = "My Sample" |
---|
161 | Make/O/T/N=1 preparation_date = "2015-02-28T08:15:30-5:00" |
---|
162 | Make/O/D/N=1 volume_fraction = 0.2 |
---|
163 | Make/O/D/N=1 scattering_length_density = 6.35e-6 |
---|
164 | Make/O/D/N=1 thickness = 0.1 |
---|
165 | Make/O/D/N=1 rotation_angle = 30 |
---|
166 | Make/O/D/N=1 transmission = 0.888 |
---|
167 | Make/O/D/N=1 transmission_error = 0.011 |
---|
168 | Make/O/D/N=1 xs_incoh = 5.5 |
---|
169 | Make/O/D/N=1 xs_coh = 22.2 |
---|
170 | Make/O/D/N=1 xs_absorb = 3.1 |
---|
171 | NewDataFolder/O/S root:VSANS_file:entry1:instrument |
---|
172 | Make/O/T/N=1 location = "NCNR" |
---|
173 | Make/O/T/N=1 description = "NG3-VSANS" |
---|
174 | Make/O/T/N=1 type = "VSANS" |
---|
175 | Make/O/T/N=1 local_contact = "Steve Kline" |
---|
176 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:source |
---|
177 | Make/O/T/N=1 name = "NCNR" |
---|
178 | Make/O/T/N=1 type = "Reactor Neutron Source" |
---|
179 | Make/O/T/N=1 probe = "neutron" |
---|
180 | Make/O/D/N=1 power = 20 |
---|
181 | |
---|
182 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam_monitor_1 |
---|
183 | Make/O/D/N=1 data = 1234567 |
---|
184 | Make/O/T/N=1 type = "monitor" |
---|
185 | Make/O/D/N=1 efficiency = 0.01 |
---|
186 | Make/O/D/N=1 nx_distance = 16 |
---|
187 | Make/O/D/N=1 saved_count = 1e8 |
---|
188 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam_monitor_2 |
---|
189 | Make/O/D/N=1 data = 1234567 |
---|
190 | Make/O/T/N=1 type = "monitor" |
---|
191 | Make/O/D/N=1 efficiency = 0.01 |
---|
192 | Make/O/D/N=1 nx_distance = 16 |
---|
193 | Make/O/D/N=1 saved_count = 1e8 |
---|
194 | |
---|
195 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam |
---|
196 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:monochromator |
---|
197 | Make/O/D/N=1 wavelength = 5.1 |
---|
198 | Make/O/D/N=1 wavelength_spread = 0.02 |
---|
199 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:monochromator:velocity_selector |
---|
200 | Make/O/T/N=1 type = "VS" |
---|
201 | Make/O/D/N=1 rotation_speed = 5100 |
---|
202 | Make/O/D/N=1 wavelength = 6 |
---|
203 | Make/O/D/N=1 wavelength_spread = 0.15 |
---|
204 | Make/O/D/N=1 vs_tilt = 3 |
---|
205 | Make/O/D/N=1 nx_distance = 18.8 |
---|
206 | // table (wave) |
---|
207 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:monochromator:crystal |
---|
208 | Make/O/D/N=1 nx_distance = 1 |
---|
209 | Make/O/D/N=1 wavelength = 5.1 |
---|
210 | Make/O/D/N=1 wavelength_spread = 0.02 |
---|
211 | Make/O/D/N=1 rotation = 1.1 |
---|
212 | Make/O/D/N=1 energy = 1 |
---|
213 | Make/O/D/N=1 wavevector = 1 |
---|
214 | Make/O/D/N=1 lattice_parameter = 1 |
---|
215 | Make/O/D/N=3 reflection = {1,2,3} |
---|
216 | Make/O/D/N=1 horizontal_curvature = 1 |
---|
217 | Make/O/D/N=1 vertical_curvature = 1 |
---|
218 | Make/O/D/N=1 horizontal_aperture = 1 |
---|
219 | Make/O/D/N=1 vertical_aperture = 1 |
---|
220 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:monochromator:white_beam |
---|
221 | Make/O/D/N=1 wavelength = 5.1 |
---|
222 | Make/O/D/N=1 wavelength_spread = 0.8 |
---|
223 | // description_of_distribution |
---|
224 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:monochromator:polarizer |
---|
225 | Make/O/T/N=1 type = "supermirror" |
---|
226 | Make/O/T/N=1 composition = "multilayer" |
---|
227 | Make/O/D/N=1 efficiency = 0.95 |
---|
228 | Make/O/T/N=1 status = "in" |
---|
229 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:monochromator:flipper |
---|
230 | Make/O/T/N=1 status = "on" |
---|
231 | Make/O/D/N=1 driving_current = 42 |
---|
232 | Make/O/T/N=1 waveform = "sine" |
---|
233 | Make/O/D/N=1 frequency = 400 |
---|
234 | Make/O/D/N=1 transmitted_power = 0.99 |
---|
235 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:monochromator:polarizer_analyzer |
---|
236 | Make/O/T/N=1 status = "down" |
---|
237 | Make/O/D/N=1 guide_field_current_1 = 33 |
---|
238 | Make/O/D/N=1 guide_field_current_2 = 32 |
---|
239 | Make/O/D/N=1 solenoid_current = 21 |
---|
240 | Make/O/D/N=1 cell_index = 1 |
---|
241 | Make/O/T/N=(5) cell_names = {"Burgundy","Olaf","Jim","Bob","Joe"} |
---|
242 | Make/O/D/N=(5,2) cell_parameters = 1 |
---|
243 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:monochromator:chopper |
---|
244 | Make/O/T/N=1 type = "single" |
---|
245 | Make/O/D/N=1 rotation_speed = 12000 |
---|
246 | Make/O/D/N=1 distance_from_source = 400 |
---|
247 | Make/O/D/N=1 distance_from_sample = 1500 |
---|
248 | Make/O/D/N=1 slits = 2 |
---|
249 | Make/O/D/N=1 angular_opening = 15 |
---|
250 | Make/O/D/N=1 duty_cycle = 0.25 |
---|
251 | // +? |
---|
252 | |
---|
253 | //ADD converging pinholes, etc |
---|
254 | //converging_pinholes |
---|
255 | //converging_slits |
---|
256 | |
---|
257 | |
---|
258 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:attenuator |
---|
259 | Make/O/D/N=1 nx_distance = 1500 |
---|
260 | Make/O/T/N=1 type = "PMMA" |
---|
261 | Make/O/D/N=1 thickness = 0 |
---|
262 | Make/O/D/N=1 attenuator_transmission = 1 |
---|
263 | Make/O/T/N=1 status = "in" |
---|
264 | Make/O/T/N=1 atten_number = "0101" |
---|
265 | Make/O/D/N=(10,10) index = 1 |
---|
266 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:source_aperture |
---|
267 | Make/O/T/N=1 material = "Gd" |
---|
268 | Make/O/T/N=1 description = "source aperture" |
---|
269 | Make/O/D/N=1 diameter = 1.27 |
---|
270 | Make/O/D/N=1 nx_distance = 13.0 |
---|
271 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:source_aperture:shape |
---|
272 | Make/O/D/N=(1,2) size = 1.27 |
---|
273 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:sample_aperture |
---|
274 | Make/O/T/N=1 material = "Gd" |
---|
275 | Make/O/T/N=1 description = "sample aperture" |
---|
276 | Make/O/D/N=1 diameter = 1.27 |
---|
277 | Make/O/D/N=1 nx_distance = 10 |
---|
278 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:sample_aperture:shape |
---|
279 | Make/O/D/N=(1,2) size = 1.27 |
---|
280 | SetDataFolder root:VSANS_file:entry1:instrument: |
---|
281 | Make/O/I/N=1 nx_NumGuides = 1 |
---|
282 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:lenses |
---|
283 | Make/O/T/N=1 lens_geometry = "concave_lens" |
---|
284 | Make/O/T/N=1 focus_type = "point" |
---|
285 | Make/O/I/N=1 number_of_lenses = 28 |
---|
286 | Make/O/I/N=1 number_of_prisms = 7 |
---|
287 | Make/O/D/N=1 curvature = 1 |
---|
288 | Make/O/D/N=1 lens_distance = 123 |
---|
289 | Make/O/D/N=1 prism_distance = 123 |
---|
290 | Make/O/T/N=1 lens_material = "MgF2" |
---|
291 | Make/O/T/N=1 prism_material = "MgF2" |
---|
292 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:sample_table |
---|
293 | Make/O/T/N=1 location = "chamber" |
---|
294 | Make/O/D/N=1 offset_distance = 0 |
---|
295 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam_stop |
---|
296 | Make/O/T/N=1 description = "circular" |
---|
297 | Make/O/D/N=1 nx_distance = 12.5 |
---|
298 | Make/O/D/N=1 size = 7.62 |
---|
299 | Make/O/T/N=1 status = "out" |
---|
300 | Make/O/D/N=1 xPos = 66.4 |
---|
301 | Make/O/D/N=1 yPos = 64.4 |
---|
302 | Make/O/D/N=1 x_motor_position = 0.15 |
---|
303 | Make/O/D/N=1 y_motor_position = 0.55 |
---|
304 | |
---|
305 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_B |
---|
306 | Make/O/I/N=(320,320) data = trunc(abs(gnoise(p+q))) |
---|
307 | Make/O/D/N=(320,320) data_error = 0.01*abs(gnoise(p+q)) |
---|
308 | Make/O/D/N=1 nx_distance = 21.1 |
---|
309 | Make/O/T/N=1 description = "fancy model" |
---|
310 | Make/O/T/N=1 settings = "just right" |
---|
311 | Make/O/D/N=1 dead_time = 5e-6 |
---|
312 | Make/O/D/N=1 x_pixel_size = 5.08 |
---|
313 | Make/O/D/N=1 y_pixel_size = 5.08 |
---|
314 | Make/O/D/N=1 beam_center_x = 165.55 |
---|
315 | Make/O/D/N=1 beam_center_y = 162.33 |
---|
316 | Make/O/T/N=1 type = "??" |
---|
317 | Make/O/D/N=1 flatfield_applied = 0 |
---|
318 | Make/O/D/N=1 countrate_correction_applied = 0 |
---|
319 | Make/O/D/N=(256,256) pixel_mask = 0 |
---|
320 | Make/O/I/N=1 integrated_count = 100111222 |
---|
321 | Make/O/D/N=1 lateral_offset = 20 |
---|
322 | Make/O/I/N=1 PixelNumX = 320 |
---|
323 | Make/O/I/N=1 PixelNumY = 320 |
---|
324 | Make/O/D/N=1 PixelFWHM = 0.5 |
---|
325 | Make/O/D/N=3 CALX = {0.5,0.5,10000} |
---|
326 | Make/O/D/N=3 CALY = {0.5,0.5,10000} |
---|
327 | Make/O/D/N=1 size = 65 |
---|
328 | Make/O/T/N=1 event_file_name ="something.hst" |
---|
329 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_MR |
---|
330 | Make/O/I/N=(48,256) data = trunc(abs(gnoise(p+q))) |
---|
331 | Make/O/D/N=(48,256) data_error = 0.01*abs(gnoise(p+q)) |
---|
332 | Make/O/D/N=1 nx_distance = 13.1 |
---|
333 | Make/O/T/N=1 description = "fancy model" |
---|
334 | Make/O/T/N=1 settings = "just right" |
---|
335 | Make/O/D/N=1 dead_time = 5e-6 |
---|
336 | Make/O/D/N=1 x_pixel_size = 5.08 |
---|
337 | Make/O/D/N=1 y_pixel_size = 5.08 |
---|
338 | Make/O/D/N=1 beam_center_x = 65.55 |
---|
339 | Make/O/D/N=1 beam_center_y = 62.33 |
---|
340 | Make/O/T/N=1 type = "??" |
---|
341 | Make/O/D/N=1 flatfield_applied = 0 |
---|
342 | Make/O/D/N=1 countrate_correction_applied = 0 |
---|
343 | Make/O/D/N=(48,256) pixel_mask = 0 |
---|
344 | Make/O/I/N=1 integrated_count = 100111222 |
---|
345 | Make/O/D/N=1 lateral_offset = 20 |
---|
346 | Make/O/D/N=1 separation = 150 |
---|
347 | Make/O/I/N=1 PixelNumX = 48 |
---|
348 | Make/O/I/N=1 PixelNumY = 256 |
---|
349 | Make/O/D/N=1 PixelFWHM = 0.5 |
---|
350 | Make/O/D/N=1 size = 65 |
---|
351 | Make/O/T/N=1 event_file_name ="something.hst" |
---|
352 | Make/O/T/N=1 tube_orientation = "vertical" |
---|
353 | Make/O/I/N=1 number_of_tubes = 48 |
---|
354 | Make/O/I/N=(tubes) tube_index = p |
---|
355 | Make/O/D/N=(2,tubes) spatial_calibration = 1 |
---|
356 | Make/O/D/N=1 tube_width = 8 |
---|
357 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_ML |
---|
358 | Make/O/I/N=(48,256) data = trunc(abs(gnoise(p+q))) |
---|
359 | Make/O/D/N=(48,256) data_error = 0.01*abs(gnoise(p+q)) |
---|
360 | Make/O/D/N=1 nx_distance = 13.1 |
---|
361 | Make/O/T/N=1 description = "fancy model" |
---|
362 | Make/O/T/N=1 settings = "just right" |
---|
363 | Make/O/D/N=1 dead_time = 5e-6 |
---|
364 | Make/O/D/N=1 x_pixel_size = 5.08 |
---|
365 | Make/O/D/N=1 y_pixel_size = 5.08 |
---|
366 | Make/O/D/N=1 beam_center_x = 65.55 |
---|
367 | Make/O/D/N=1 beam_center_y = 62.33 |
---|
368 | Make/O/T/N=1 type = "??" |
---|
369 | Make/O/D/N=1 flatfield_applied = 0 |
---|
370 | Make/O/D/N=1 countrate_correction_applied = 0 |
---|
371 | Make/O/D/N=(48,256) pixel_mask = 0 |
---|
372 | Make/O/I/N=1 integrated_count = 100111222 |
---|
373 | Make/O/D/N=1 lateral_offset = 20 |
---|
374 | Make/O/D/N=1 separation = 150 |
---|
375 | Make/O/I/N=1 PixelNumX = 48 |
---|
376 | Make/O/I/N=1 PixelNumY = 256 |
---|
377 | Make/O/D/N=1 PixelFWHM = 0.5 |
---|
378 | Make/O/D/N=1 size = 65 |
---|
379 | Make/O/T/N=1 event_file_name ="something.hst" |
---|
380 | Make/O/T/N=1 tube_orientation = "vertical" |
---|
381 | Make/O/I/N=1 number_of_tubes = 48 |
---|
382 | Make/O/I/N=(tubes) tube_index = p |
---|
383 | Make/O/D/N=(2,tubes) spatial_calibration = 1 |
---|
384 | Make/O/D/N=1 tube_width = 8 |
---|
385 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_MT |
---|
386 | Make/O/I/N=(128,48) data = trunc(abs(gnoise(p+q))) |
---|
387 | Make/O/D/N=(128,48) data_error = 0.01*abs(gnoise(p+q)) |
---|
388 | Make/O/D/N=1 nx_distance = 13.4 |
---|
389 | Make/O/T/N=1 description = "fancy model" |
---|
390 | Make/O/T/N=1 settings = "just right" |
---|
391 | Make/O/D/N=1 dead_time = 5e-6 |
---|
392 | Make/O/D/N=1 x_pixel_size = 5.08 |
---|
393 | Make/O/D/N=1 y_pixel_size = 5.08 |
---|
394 | Make/O/D/N=1 beam_center_x = 65.55 |
---|
395 | Make/O/D/N=1 beam_center_y = 62.33 |
---|
396 | Make/O/T/N=1 type = "??" |
---|
397 | Make/O/D/N=1 flatfield_applied = 0 |
---|
398 | Make/O/D/N=1 countrate_correction_applied = 0 |
---|
399 | Make/O/D/N=(128,48) pixel_mask = 0 |
---|
400 | Make/O/I/N=1 integrated_count = 100111222 |
---|
401 | Make/O/D/N=1 lateral_offset = 20 |
---|
402 | Make/O/D/N=1 sdd_offset = 30 |
---|
403 | Make/O/D/N=1 separation = 150 |
---|
404 | Make/O/I/N=1 PixelNumX = 128 |
---|
405 | Make/O/I/N=1 PixelNumY = 48 |
---|
406 | Make/O/D/N=1 PixelFWHM = 0.5 |
---|
407 | Make/O/D/N=1 size = 65 |
---|
408 | Make/O/T/N=1 event_file_name ="something.hst" |
---|
409 | Make/O/T/N=1 tube_orientation = "horizontal" |
---|
410 | Make/O/I/N=1 number_of_tubes = 48 |
---|
411 | Make/O/I/N=(tubes) tube_index = p |
---|
412 | Make/O/D/N=(2,tubes) spatial_calibration = 1 |
---|
413 | Make/O/D/N=1 tube_width = 8 |
---|
414 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_MB |
---|
415 | Make/O/I/N=(128,48) data = trunc(abs(gnoise(p+q))) |
---|
416 | Make/O/D/N=(128,48) data_error = 0.01*abs(gnoise(p+q)) |
---|
417 | Make/O/D/N=1 nx_distance = 13.4 |
---|
418 | Make/O/T/N=1 description = "fancy model" |
---|
419 | Make/O/T/N=1 settings = "just right" |
---|
420 | Make/O/D/N=1 dead_time = 5e-6 |
---|
421 | Make/O/D/N=1 x_pixel_size = 5.08 |
---|
422 | Make/O/D/N=1 y_pixel_size = 5.08 |
---|
423 | Make/O/D/N=1 beam_center_x = 65.55 |
---|
424 | Make/O/D/N=1 beam_center_y = 62.33 |
---|
425 | Make/O/T/N=1 type = "??" |
---|
426 | Make/O/D/N=1 flatfield_applied = 0 |
---|
427 | Make/O/D/N=1 countrate_correction_applied = 0 |
---|
428 | Make/O/D/N=(128,48) pixel_mask = 0 |
---|
429 | Make/O/I/N=1 integrated_count = 100111222 |
---|
430 | Make/O/D/N=1 lateral_offset = 20 |
---|
431 | Make/O/D/N=1 sdd_offset = 30 |
---|
432 | Make/O/D/N=1 separation = 150 |
---|
433 | Make/O/I/N=1 PixelNumX = 128 |
---|
434 | Make/O/I/N=1 PixelNumY = 48 |
---|
435 | Make/O/D/N=1 PixelFWHM = 0.5 |
---|
436 | Make/O/D/N=1 size = 65 |
---|
437 | Make/O/T/N=1 event_file_name ="something.hst" |
---|
438 | Make/O/T/N=1 tube_orientation = "horizontal" |
---|
439 | Make/O/I/N=1 number_of_tubes = 48 |
---|
440 | Make/O/I/N=(tubes) tube_index = p |
---|
441 | Make/O/D/N=(2,tubes) spatial_calibration = 1 |
---|
442 | Make/O/D/N=1 tube_width = 8 |
---|
443 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_FR |
---|
444 | Make/O/I/N=(48,256) data = trunc(abs(gnoise(p+q))) |
---|
445 | Make/O/D/N=(48,256) data_error = 0.01*abs(gnoise(p+q)) |
---|
446 | Make/O/D/N=1 nx_distance = 2.1 |
---|
447 | Make/O/T/N=1 description = "fancy model" |
---|
448 | Make/O/T/N=1 settings = "just right" |
---|
449 | Make/O/D/N=1 dead_time = 5e-6 |
---|
450 | Make/O/D/N=1 x_pixel_size = 5.08 |
---|
451 | Make/O/D/N=1 y_pixel_size = 5.08 |
---|
452 | Make/O/D/N=1 beam_center_x = 65.55 |
---|
453 | Make/O/D/N=1 beam_center_y = 62.33 |
---|
454 | Make/O/T/N=1 type = "??" |
---|
455 | Make/O/D/N=1 flatfield_applied = 0 |
---|
456 | Make/O/D/N=1 countrate_correction_applied = 0 |
---|
457 | Make/O/D/N=(48,256) pixel_mask = 0 |
---|
458 | Make/O/I/N=1 integrated_count = 100111222 |
---|
459 | Make/O/D/N=1 lateral_offset = 20 |
---|
460 | Make/O/D/N=1 separation = 150 |
---|
461 | Make/O/I/N=1 PixelNumX = 48 |
---|
462 | Make/O/I/N=1 PixelNumY = 256 |
---|
463 | Make/O/D/N=1 PixelFWHM = 0.5 |
---|
464 | Make/O/D/N=1 size = 65 |
---|
465 | Make/O/T/N=1 event_file_name ="something.hst" |
---|
466 | Make/O/T/N=1 tube_orientation = "vertical" |
---|
467 | Make/O/I/N=1 number_of_tubes = 48 |
---|
468 | Make/O/I/N=(tubes) tube_index = p |
---|
469 | Make/O/D/N=(2,tubes) spatial_calibration = 1 |
---|
470 | Make/O/D/N=1 tube_width = 8 |
---|
471 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_FL |
---|
472 | Make/O/I/N=(48,256) data = trunc(abs(gnoise(p+q))) |
---|
473 | Make/O/D/N=(48,256) data_error = 0.01*abs(gnoise(p+q)) |
---|
474 | Make/O/D/N=1 nx_distance = 2.1 |
---|
475 | Make/O/T/N=1 description = "fancy model" |
---|
476 | Make/O/T/N=1 settings = "just right" |
---|
477 | Make/O/D/N=1 dead_time = 5e-6 |
---|
478 | Make/O/D/N=1 x_pixel_size = 5.08 |
---|
479 | Make/O/D/N=1 y_pixel_size = 5.08 |
---|
480 | Make/O/D/N=1 beam_center_x = 65.55 |
---|
481 | Make/O/D/N=1 beam_center_y = 62.33 |
---|
482 | Make/O/T/N=1 type = "??" |
---|
483 | Make/O/D/N=1 flatfield_applied = 0 |
---|
484 | Make/O/D/N=1 countrate_correction_applied = 0 |
---|
485 | Make/O/D/N=(48,256) pixel_mask = 0 |
---|
486 | Make/O/I/N=1 integrated_count = 100111222 |
---|
487 | Make/O/D/N=1 lateral_offset = 20 |
---|
488 | Make/O/D/N=1 separation = 150 |
---|
489 | Make/O/I/N=1 PixelNumX = 48 |
---|
490 | Make/O/I/N=1 PixelNumY = 256 |
---|
491 | Make/O/D/N=1 PixelFWHM = 0.5 |
---|
492 | Make/O/D/N=1 size = 65 |
---|
493 | Make/O/T/N=1 event_file_name ="something.hst" |
---|
494 | Make/O/T/N=1 tube_orientation = "vertical" |
---|
495 | Make/O/I/N=1 number_of_tubes = 48 |
---|
496 | Make/O/I/N=(tubes) tube_index = p |
---|
497 | Make/O/D/N=(2,tubes) spatial_calibration = 1 |
---|
498 | Make/O/D/N=1 tube_width = 8 |
---|
499 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_FT |
---|
500 | Make/O/I/N=(128,48) data = trunc(abs(gnoise(p+q))) |
---|
501 | Make/O/D/N=(128,48) data_error = 0.01*abs(gnoise(p+q)) |
---|
502 | Make/O/D/N=1 nx_distance = 2.1 |
---|
503 | Make/O/T/N=1 description = "fancy model" |
---|
504 | Make/O/T/N=1 settings = "just right" |
---|
505 | Make/O/D/N=1 dead_time = 5e-6 |
---|
506 | Make/O/D/N=1 x_pixel_size = 5.08 |
---|
507 | Make/O/D/N=1 y_pixel_size = 5.08 |
---|
508 | Make/O/D/N=1 beam_center_x = 65.55 |
---|
509 | Make/O/D/N=1 beam_center_y = 62.33 |
---|
510 | Make/O/T/N=1 type = "??" |
---|
511 | Make/O/D/N=1 flatfield_applied = 0 |
---|
512 | Make/O/D/N=1 countrate_correction_applied = 0 |
---|
513 | Make/O/D/N=(128,48) pixel_mask = 0 |
---|
514 | Make/O/I/N=1 integrated_count = 100111222 |
---|
515 | Make/O/D/N=1 lateral_offset = 20 |
---|
516 | Make/O/D/N=1 sdd_offset = 30 |
---|
517 | Make/O/D/N=1 separation = 150 |
---|
518 | Make/O/I/N=1 PixelNumX = 128 |
---|
519 | Make/O/I/N=1 PixelNumY = 48 |
---|
520 | Make/O/D/N=1 PixelFWHM = 0.5 |
---|
521 | Make/O/D/N=1 size = 65 |
---|
522 | Make/O/T/N=1 event_file_name ="something.hst" |
---|
523 | Make/O/T/N=1 tube_orientation = "horizontal" |
---|
524 | Make/O/I/N=1 number_of_tubes = 48 |
---|
525 | Make/O/I/N=(tubes) tube_index = p |
---|
526 | Make/O/D/N=(2,tubes) spatial_calibration = 1 |
---|
527 | Make/O/D/N=1 tube_width = 8 |
---|
528 | NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_FB |
---|
529 | Make/O/I/N=(128,48) data = trunc(abs(gnoise(p+q))) |
---|
530 | Make/O/D/N=(128,48) data_error = 0.01*abs(gnoise(p+q)) |
---|
531 | Make/O/D/N=1 nx_distance = 2.1 |
---|
532 | Make/O/T/N=1 description = "fancy model" |
---|
533 | Make/O/T/N=1 settings = "just right" |
---|
534 | Make/O/D/N=1 dead_time = 5e-6 |
---|
535 | Make/O/D/N=1 x_pixel_size = 5.08 |
---|
536 | Make/O/D/N=1 y_pixel_size = 5.08 |
---|
537 | Make/O/D/N=1 beam_center_x = 65.55 |
---|
538 | Make/O/D/N=1 beam_center_y = 62.33 |
---|
539 | Make/O/T/N=1 type = "??" |
---|
540 | Make/O/D/N=1 flatfield_applied = 0 |
---|
541 | Make/O/D/N=1 countrate_correction_applied = 0 |
---|
542 | Make/O/D/N=(128,48) pixel_mask = 0 |
---|
543 | Make/O/I/N=1 integrated_count = 100111222 |
---|
544 | Make/O/D/N=1 lateral_offset = 20 |
---|
545 | Make/O/D/N=1 sdd_offset = 30 |
---|
546 | Make/O/D/N=1 separation = 150 |
---|
547 | Make/O/I/N=1 PixelNumX = 128 |
---|
548 | Make/O/I/N=1 PixelNumY = 48 |
---|
549 | Make/O/D/N=1 PixelFWHM = 0.5 |
---|
550 | Make/O/D/N=1 size = 65 |
---|
551 | Make/O/T/N=1 event_file_name ="something.hst" |
---|
552 | Make/O/T/N=1 tube_orientation = "horizontal" |
---|
553 | Make/O/I/N=1 number_of_tubes = 48 |
---|
554 | Make/O/I/N=(tubes) tube_index = p |
---|
555 | Make/O/D/N=(2,tubes) spatial_calibration = 1 |
---|
556 | Make/O/D/N=1 tube_width = 8 |
---|
557 | |
---|
558 | |
---|
559 | NewDataFolder/O/S root:VSANS_file:entry1:data_B |
---|
560 | Make/O/I/N=(320,320) data = trunc(abs(gnoise(p+q))) |
---|
561 | Make/O/D/N=(320,320) error = 0.01*abs(gnoise(p+q)) |
---|
562 | Make/O/D/N=2 variables = {320,320} |
---|
563 | Make/O/I/N=(320,320) data_image = p |
---|
564 | NewDataFolder/O/S root:VSANS_file:entry1:data_MR |
---|
565 | Make/O/i/N=(48,256) data = trunc(abs(gnoise(p+q))) |
---|
566 | Make/O/D/N=(48,256) error = 0.01*abs(gnoise(p+q)) |
---|
567 | Make/O/D/N=2 variables = {48,256} |
---|
568 | Make/O/I/N=(48,256) data_image = p |
---|
569 | NewDataFolder/O/S root:VSANS_file:entry1:data_ML |
---|
570 | Make/O/i/N=(48,256) data = trunc(abs(gnoise(p+q))) |
---|
571 | Make/O/D/N=(48,256) error = 0.01*abs(gnoise(p+q)) |
---|
572 | Make/O/D/N=2 variables = {48,256} |
---|
573 | Make/O/I/N=(48,256) data_image = p |
---|
574 | NewDataFolder/O/S root:VSANS_file:entry1:data_MT |
---|
575 | Make/O/I/N=(128,48) data = trunc(abs(gnoise(p+q))) |
---|
576 | Make/O/D/N=(128,48) error = 0.01*abs(gnoise(p+q)) |
---|
577 | Make/O/D/N=2 variables = {128,48} |
---|
578 | Make/O/I/N=(128,48) data_image = p |
---|
579 | NewDataFolder/O/S root:VSANS_file:entry1:data_MB |
---|
580 | Make/O/I/N=(128,48) data = trunc(abs(gnoise(p+q))) |
---|
581 | Make/O/D/N=(128,48) error = 0.01*abs(gnoise(p+q)) |
---|
582 | Make/O/D/N=2 variables = {128,48} |
---|
583 | Make/O/I/N=(128,48) data_image = p |
---|
584 | NewDataFolder/O/S root:VSANS_file:entry1:data_FR |
---|
585 | Make/O/I/N=(48,256) data = trunc(abs(gnoise(p+q))) |
---|
586 | Make/O/D/N=(48,256) error = 0.01*abs(gnoise(p+q)) |
---|
587 | Make/O/D/N=2 variables = {48,256} |
---|
588 | Make/O/I/N=(48,256) data_image = p |
---|
589 | NewDataFolder/O/S root:VSANS_file:entry1:data_FL |
---|
590 | Make/O/I/N=(48,256) data = trunc(abs(gnoise(p+q))) |
---|
591 | Make/O/D/N=(48,256) error = 0.01*abs(gnoise(p+q)) |
---|
592 | Make/O/D/N=2 variables = {48,256} |
---|
593 | Make/O/I/N=(48,256) data_image = p |
---|
594 | NewDataFolder/O/S root:VSANS_file:entry1:data_FT |
---|
595 | Make/O/I/N=(128,48) data = trunc(abs(gnoise(p+q))) |
---|
596 | Make/O/D/N=(128,48) error = 0.01*abs(gnoise(p+q)) |
---|
597 | Make/O/D/N=2 variables = {128,48} |
---|
598 | Make/O/I/N=(128,48) data_image = p |
---|
599 | NewDataFolder/O/S root:VSANS_file:entry1:data_FB |
---|
600 | Make/O/I/N=(128,48) data = trunc(abs(gnoise(p+q))) |
---|
601 | Make/O/D/N=(128,48) error = 0.01*abs(gnoise(p+q)) |
---|
602 | Make/O/D/N=2 variables = {128,48} |
---|
603 | Make/O/I/N=(128,48) data_image = p |
---|
604 | |
---|
605 | NewDataFolder/O/S root:VSANS_file:entry1:reduction |
---|
606 | Make/O/T/N=1 intent = "SCATTER" |
---|
607 | Make/O/T/N=1 transmission_file_name = "SANSFile_TRN.h5" |
---|
608 | Make/O/T/N=1 empty_beam_file_name = "SANSFile_EB.h5" |
---|
609 | Make/O/T/N=1 background_file_name = "SANSFile_BKG.h5" |
---|
610 | Make/O/T/N=1 empty_file_name = "SANSFile_EMP.h5" |
---|
611 | Make/O/T/N=1 sensitivity_file_name = "SANSFile_DIV.h5" |
---|
612 | Make/O/T/N=1 mask_file_name = "SANSFile_MASK.h5" |
---|
613 | Make/O/T/N=1 sans_log_file_name = "SANSFile_log.txt" |
---|
614 | Make/O/D/N=1 whole_trans = 0.888 |
---|
615 | Make/O/D/N=1 whole_trans_error = 0.008 |
---|
616 | Make/O/D/N=1 box_count = 23232 |
---|
617 | Make/O/D/N=1 box_count_error = 22 |
---|
618 | Make/O/I/N=4 box_coordinates = {50,80,45,75} |
---|
619 | Make/O/T/N=1 comments = "extra data comments" |
---|
620 | Make/O/D/N=4 absolute_scaling = {1,1,1e5,1} |
---|
621 | NewDataFolder/O/S root:VSANS_file:entry1:reduction:pol_sans |
---|
622 | Make/O/T/N=1 pol_sans_purpose = "name from the list" |
---|
623 | Make/O/T/N=1 cell_name = "Burgundy" |
---|
624 | Make/O/D/N=(5) cell_parameters = {1,2,3,4,5} |
---|
625 | |
---|
626 | NewDataFolder/O/S root:VSANS_file:DAS_Logs |
---|
627 | //...multiple entries and levels... to add |
---|
628 | //this will be enormous |
---|
629 | |
---|
630 | |
---|
631 | |
---|
632 | SetDataFolder root: |
---|
633 | |
---|
634 | End |
---|
635 | |
---|
636 | // writes in the attributes |
---|
637 | Proc H_Fill_VSANS_Attributes() |
---|
638 | |
---|
639 | SetDataFolder root:VSANS_file |
---|
640 | Make/O/N=0 Igor___folder_attributes |
---|
641 | Note/K Igor___folder_attributes, "producer=IgorPro\rNX_class=NXroot" |
---|
642 | //file_name |
---|
643 | //file_time |
---|
644 | //facility |
---|
645 | //NeXus_version |
---|
646 | //hdf_version |
---|
647 | //file_history |
---|
648 | SetDataFolder root:VSANS_file:entry1 |
---|
649 | Make/O/N=0 Igor___folder_attributes |
---|
650 | Note/K Igor___folder_attributes, "NX_class=NXentry" |
---|
651 | //title |
---|
652 | //experiment_identifier |
---|
653 | //experiment_description |
---|
654 | //entry_identifier |
---|
655 | //definition |
---|
656 | //start_time |
---|
657 | //end_time |
---|
658 | //duration |
---|
659 | Note/K duration, "units=s" |
---|
660 | //collection_time |
---|
661 | Note/K collection_time, "units=s" |
---|
662 | //run_cycle |
---|
663 | //program_name |
---|
664 | //data_directory |
---|
665 | SetDataFolder root:VSANS_file:entry1:user |
---|
666 | Make/O/N=0 Igor___folder_attributes |
---|
667 | Note/K Igor___folder_attributes, "NX_class=NXuser" |
---|
668 | //name |
---|
669 | //role |
---|
670 | //affiliation |
---|
671 | //address |
---|
672 | //telephoneNumber |
---|
673 | //faxNumber |
---|
674 | //email |
---|
675 | //facility_user_id |
---|
676 | SetDataFolder root:VSANS_file:entry1:control |
---|
677 | Make/O/N=0 Igor___folder_attributes |
---|
678 | Note/K Igor___folder_attributes, "NX_class=NXmonitor" |
---|
679 | //mode |
---|
680 | //preset |
---|
681 | //integral |
---|
682 | //monitor_counts |
---|
683 | //monitor_preset |
---|
684 | //type |
---|
685 | //efficiency |
---|
686 | //sampled_fraction |
---|
687 | //detector_counts |
---|
688 | //detector_preset |
---|
689 | // count_start |
---|
690 | Note/K count_start, "units=s" |
---|
691 | // count_end |
---|
692 | Note/K count_end, "units=s" |
---|
693 | // count_time |
---|
694 | Note/K count_time, "units=s" |
---|
695 | // count_time_preset |
---|
696 | Note/K count_time_preset, "units=s" |
---|
697 | SetDataFolder root:VSANS_file:entry1:program_data |
---|
698 | //data |
---|
699 | //description |
---|
700 | //file_name |
---|
701 | //type |
---|
702 | SetDataFolder root:VSANS_file:entry1:sample |
---|
703 | Make/O/N=0 Igor___folder_attributes |
---|
704 | Note/K Igor___folder_attributes, "NX_class=NXsample" |
---|
705 | //name |
---|
706 | //chemical_formula |
---|
707 | SetDataFolder root:VSANS_file:entry1:sample:temperature_1 |
---|
708 | Make/O/N=0 Igor___folder_attributes |
---|
709 | Note/K Igor___folder_attributes, "NX_class=NXsensor" |
---|
710 | //name |
---|
711 | //attached_to |
---|
712 | //measurement |
---|
713 | SetDataFolder root:VSANS_file:entry1:sample:temperature_1:value_log |
---|
714 | Make/O/N=0 Igor___folder_attributes |
---|
715 | Note/K Igor___folder_attributes, "NX_class=NXlog" |
---|
716 | //start |
---|
717 | //nx_time |
---|
718 | Note/K nx_time, "units=s" |
---|
719 | //value |
---|
720 | Note/K value, "units=C" |
---|
721 | SetDataFolder root:VSANS_file:entry1:sample:temperature_2 |
---|
722 | Make/O/N=0 Igor___folder_attributes |
---|
723 | Note/K Igor___folder_attributes, "NX_class=NXsensor" |
---|
724 | //name |
---|
725 | //attached_to |
---|
726 | //measurement |
---|
727 | SetDataFolder root:VSANS_file:entry1:sample:temperature_2:value_log |
---|
728 | Make/O/N=0 Igor___folder_attributes |
---|
729 | Note/K Igor___folder_attributes, "NX_class=NXlog" |
---|
730 | //start |
---|
731 | //nx_time |
---|
732 | Note/K nx_time, "units=s" |
---|
733 | //value |
---|
734 | Note/K value, "units=C" |
---|
735 | SetDataFolder root:VSANS_file:entry1:sample:electric_field |
---|
736 | Make/O/N=0 Igor___folder_attributes |
---|
737 | Note/K Igor___folder_attributes, "NX_class=NXsensor" |
---|
738 | //name |
---|
739 | //attached_to |
---|
740 | //measurement |
---|
741 | SetDataFolder root:VSANS_file:entry1:sample:electric_field:value_log |
---|
742 | Make/O/N=0 Igor___folder_attributes |
---|
743 | Note/K Igor___folder_attributes, "NX_class=NXlog" |
---|
744 | //start |
---|
745 | //nx_time |
---|
746 | Note/K nx_time, "units=s" |
---|
747 | //value |
---|
748 | Note/K value, "units=V" |
---|
749 | SetDataFolder root:VSANS_file:entry1:sample:shear_field |
---|
750 | Make/O/N=0 Igor___folder_attributes |
---|
751 | Note/K Igor___folder_attributes, "NX_class=NXsensor" |
---|
752 | //name |
---|
753 | //attached_to |
---|
754 | //measurement |
---|
755 | SetDataFolder root:VSANS_file:entry1:sample:shear_field:value_log |
---|
756 | Make/O/N=0 Igor___folder_attributes |
---|
757 | Note/K Igor___folder_attributes, "NX_class=NXlog" |
---|
758 | //start |
---|
759 | //nx_time |
---|
760 | Note/K nx_time, "units=s" |
---|
761 | //value |
---|
762 | Note/K value, "units=Pa s" |
---|
763 | SetDataFolder root:VSANS_file:entry1:sample:pressure |
---|
764 | Make/O/N=0 Igor___folder_attributes |
---|
765 | Note/K Igor___folder_attributes, "NX_class=NXsensor" |
---|
766 | //name |
---|
767 | //attached_to |
---|
768 | //measurement |
---|
769 | SetDataFolder root:VSANS_file:entry1:sample:pressure:value_log |
---|
770 | Make/O/N=0 Igor___folder_attributes |
---|
771 | Note/K Igor___folder_attributes, "NX_class=NXlog" |
---|
772 | //start |
---|
773 | //nx_time |
---|
774 | Note/K nx_time, "units=s" |
---|
775 | //value |
---|
776 | Note/K value, "units=psi" |
---|
777 | SetDataFolder root:VSANS_file:entry1:sample:magnetic_field |
---|
778 | Make/O/N=0 Igor___folder_attributes |
---|
779 | Note/K Igor___folder_attributes, "NX_class=NXsensor" |
---|
780 | //name |
---|
781 | //attached_to |
---|
782 | //measurement |
---|
783 | SetDataFolder root:VSANS_file:entry1:sample:magnetic_field:value_log |
---|
784 | Make/O/N=0 Igor___folder_attributes |
---|
785 | Note/K Igor___folder_attributes, "NX_class=NXlog" |
---|
786 | //start |
---|
787 | //nx_time |
---|
788 | Note/K nx_time, "units=s" |
---|
789 | //value |
---|
790 | Note/K value, "units=T" |
---|
791 | SetDataFolder root:VSANS_file:entry1:sample |
---|
792 | //changer_position |
---|
793 | //sample_holder_description |
---|
794 | //mass |
---|
795 | Note/K mass, "units=g" |
---|
796 | //density |
---|
797 | Note/K density, "units=g ml-1" |
---|
798 | //molecular_weight |
---|
799 | Note/K molecular_weight, "units=g mol-1" |
---|
800 | //description |
---|
801 | //preparation_date |
---|
802 | //volume_fraction |
---|
803 | //scattering_length_density |
---|
804 | Note/K scattering_length_density, "units=A-2" |
---|
805 | //thickness |
---|
806 | Note/K thickness, "units=cm" |
---|
807 | //rotation_angle |
---|
808 | Note/K rotation_angle, "units=degrees" |
---|
809 | //transmission |
---|
810 | //transmission_error |
---|
811 | //xs_incoh |
---|
812 | Note/K xs_incoh, "units=cm-1" |
---|
813 | //xs_coh |
---|
814 | Note/K xs_coh, "units=cm-1" |
---|
815 | //xs_absorb |
---|
816 | Note/K xs_absorb, "units=cm-1" |
---|
817 | SetDataFolder root:VSANS_file:entry1:instrument |
---|
818 | Make/O/N=0 Igor___folder_attributes |
---|
819 | Note/K Igor___folder_attributes, "NX_class=NXinstrument" |
---|
820 | //location |
---|
821 | //description |
---|
822 | //type |
---|
823 | //local_contact |
---|
824 | SetDataFolder root:VSANS_file:entry1:instrument:source |
---|
825 | Make/O/N=0 Igor___folder_attributes |
---|
826 | Note/K Igor___folder_attributes, "NX_class=NXsource" |
---|
827 | //name |
---|
828 | //type |
---|
829 | //probe |
---|
830 | //power |
---|
831 | Note/K power, "units=MW" |
---|
832 | |
---|
833 | SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_1 |
---|
834 | Make/O/N=0 Igor___folder_attributes |
---|
835 | Note/K Igor___folder_attributes, "NX_class=NXmonitor" |
---|
836 | //data |
---|
837 | //type |
---|
838 | //efficiency |
---|
839 | //nx_distance |
---|
840 | Note/K nx_distance, "units=m" |
---|
841 | //saved_count |
---|
842 | SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_2 |
---|
843 | Make/O/N=0 Igor___folder_attributes |
---|
844 | Note/K Igor___folder_attributes, "NX_class=NXmonitor" |
---|
845 | //data |
---|
846 | //type |
---|
847 | //efficiency |
---|
848 | //nx_distance |
---|
849 | Note/K nx_distance, "units=m" |
---|
850 | //saved_count |
---|
851 | |
---|
852 | SetDataFolder root:VSANS_file:entry1:instrument:beam |
---|
853 | Make/O/N=0 Igor___folder_attributes |
---|
854 | Note/K Igor___folder_attributes, "NX_class=NXbeam" |
---|
855 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator |
---|
856 | Make/O/N=0 Igor___folder_attributes |
---|
857 | Note/K Igor___folder_attributes, "NX_class=NXmonochromator" |
---|
858 | //wavelength |
---|
859 | Note/K wavelength, "units=A" |
---|
860 | //wavelength_spread |
---|
861 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:velocity_selector |
---|
862 | Make/O/N=0 Igor___folder_attributes |
---|
863 | Note/K Igor___folder_attributes, "NX_class=NXvelocity_selector" |
---|
864 | //type |
---|
865 | //rotation_speed |
---|
866 | Note/K rotation_speed, "units=RPM" |
---|
867 | //wavelength |
---|
868 | Note/K wavelength, "units=A" |
---|
869 | //wavelength_spread |
---|
870 | //vs_tilt |
---|
871 | Note/K vs_tilt, "units=degrees" |
---|
872 | //nx_distance |
---|
873 | Note/K nx_distance, "units=m" |
---|
874 | // table (wave) |
---|
875 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:crystal |
---|
876 | Make/O/N=0 Igor___folder_attributes |
---|
877 | Note/K Igor___folder_attributes, "NX_class=NXcrystal" |
---|
878 | //nx_distance |
---|
879 | Note/K nx_distance, "units=m" |
---|
880 | //wavelength |
---|
881 | Note/K wavelength, "units=A" |
---|
882 | //wavelength_spread |
---|
883 | //rotation |
---|
884 | Note/K rotation, "units=degrees" |
---|
885 | //energy |
---|
886 | Note/K energy, "units=mV" |
---|
887 | //wavevector |
---|
888 | Note/K wavevector, "units=A-1" |
---|
889 | //lattice_parameter |
---|
890 | //reflection |
---|
891 | //horizontal_curvature |
---|
892 | //vertical_curvature |
---|
893 | //horizontal_aperture |
---|
894 | //vertical_aperture |
---|
895 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:white_beam |
---|
896 | //wavelength |
---|
897 | Note/K wavelength, "units=A" |
---|
898 | //wavelength_spread |
---|
899 | // description_of_distribution |
---|
900 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:polarizer |
---|
901 | //type |
---|
902 | //composition |
---|
903 | //efficiency |
---|
904 | //status |
---|
905 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:flipper |
---|
906 | //status |
---|
907 | //driving_current |
---|
908 | Note/K driving_current, "units=A" |
---|
909 | //waveform |
---|
910 | //frequency |
---|
911 | Note/K frequency, "units=Hz" |
---|
912 | //transmitted_power |
---|
913 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:polarizer_analyzer |
---|
914 | //status |
---|
915 | //guide_field_current_1 |
---|
916 | Note/K guide_field_current_1, "units=A" |
---|
917 | //guide_field_current_2 |
---|
918 | Note/K guide_field_current_2, "units=A" |
---|
919 | //solenoid_current |
---|
920 | Note/K solenoid_current, "units=A" |
---|
921 | //cell_index |
---|
922 | //cell_names |
---|
923 | //cell_parameters |
---|
924 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:chopper |
---|
925 | Make/O/N=0 Igor___folder_attributes |
---|
926 | Note/K Igor___folder_attributes, "NX_class=NXdisk_chopper" |
---|
927 | //type |
---|
928 | //rotation_speed |
---|
929 | Note/K rotation_speed, "units=RPM" |
---|
930 | //distance_from_source |
---|
931 | Note/K distance_from_source, "units=m" |
---|
932 | //distance_from_sample |
---|
933 | Note/K distance_from_sample, "units=m" |
---|
934 | //slits |
---|
935 | //angular_opening |
---|
936 | Note/K angular_opening, "units=degrees" |
---|
937 | //duty_cycle |
---|
938 | // +? |
---|
939 | |
---|
940 | // ADD converging pinholes, etc |
---|
941 | // converging_pinholes |
---|
942 | // converging_slits |
---|
943 | |
---|
944 | |
---|
945 | SetDataFolder root:VSANS_file:entry1:instrument:attenuator |
---|
946 | Make/O/N=0 Igor___folder_attributes |
---|
947 | Note/K Igor___folder_attributes, "NX_class=NXattenuator" |
---|
948 | //nx_distance |
---|
949 | Note/K nx_distance, "units=m" |
---|
950 | //type |
---|
951 | //thickness |
---|
952 | Note/K thickness, "units=cm" |
---|
953 | //attenuator_transmission |
---|
954 | //status |
---|
955 | //atten_number |
---|
956 | //index |
---|
957 | SetDataFolder root:VSANS_file:entry1:instrument:source_aperture |
---|
958 | Make/O/N=0 Igor___folder_attributes |
---|
959 | Note/K Igor___folder_attributes, "NX_class=NXaperture" |
---|
960 | //material |
---|
961 | //description |
---|
962 | //diameter |
---|
963 | Note/K diameter, "units=cm" |
---|
964 | //nx_distance |
---|
965 | Note/K nx_distance, "units=m" |
---|
966 | SetDataFolder root:VSANS_file:entry1:instrument:source_aperture:shape |
---|
967 | Make/O/N=0 Igor___folder_attributes |
---|
968 | Note/K Igor___folder_attributes, "NX_class=NXshape" |
---|
969 | //size |
---|
970 | Note/K size, "units=cm" |
---|
971 | SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture |
---|
972 | Make/O/N=0 Igor___folder_attributes |
---|
973 | Note/K Igor___folder_attributes, "NX_class=NXaperture" |
---|
974 | //material |
---|
975 | //description |
---|
976 | //diameter |
---|
977 | Note/K diameter, "units=cm" |
---|
978 | //nx_distance |
---|
979 | Note/K nx_distance, "units=m" |
---|
980 | SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture:shape |
---|
981 | Make/O/N=0 Igor___folder_attributes |
---|
982 | Note/K Igor___folder_attributes, "NX_class=NXshape" |
---|
983 | //size |
---|
984 | Note/K size, "units=cm" |
---|
985 | SetDataFolder root:VSANS_file:entry1:instrument: |
---|
986 | //nx_NumGuides |
---|
987 | SetDataFolder root:VSANS_file:entry1:instrument:lenses |
---|
988 | Make/O/N=0 Igor___folder_attributes |
---|
989 | Note/K Igor___folder_attributes, "NX_class=NXxraylens" |
---|
990 | //lens_geometry |
---|
991 | //focus_type |
---|
992 | //number_of_lenses |
---|
993 | //number_of_prisms |
---|
994 | //curvature |
---|
995 | //lens_distance |
---|
996 | Note/K lens_distance, "units=m" |
---|
997 | //prism_distance |
---|
998 | Note/K prism_distance, "units=m" |
---|
999 | //lens_material |
---|
1000 | //prism_material |
---|
1001 | SetDataFolder root:VSANS_file:entry1:instrument:sample_table |
---|
1002 | //location |
---|
1003 | //offset_distance |
---|
1004 | Note/K offset_distance, "units=m" |
---|
1005 | SetDataFolder root:VSANS_file:entry1:instrument:beam_stop |
---|
1006 | Make/O/N=0 Igor___folder_attributes |
---|
1007 | Note/K Igor___folder_attributes, "NX_class=NXbeam_stop" |
---|
1008 | //description |
---|
1009 | //nx_distance |
---|
1010 | Note/K nx_distance, "units=m" |
---|
1011 | //size |
---|
1012 | Note/K size, "units=cm" |
---|
1013 | //status |
---|
1014 | //xPos |
---|
1015 | //yPos |
---|
1016 | //x_motor_position |
---|
1017 | Note/K x_motor_position, "units=cm" |
---|
1018 | //y_motor_position |
---|
1019 | Note/K y_motor_position, "units=cm" |
---|
1020 | |
---|
1021 | SetDataFolder root:VSANS_file:entry1:instrument:detector_B |
---|
1022 | Make/O/N=0 Igor___folder_attributes |
---|
1023 | Note/K Igor___folder_attributes, "NX_class=NXdetector" |
---|
1024 | //data |
---|
1025 | //data_error |
---|
1026 | //nx_distance |
---|
1027 | Note/K nx_distance, "units=m" |
---|
1028 | //description |
---|
1029 | //settings |
---|
1030 | //dead_time |
---|
1031 | Note/K dead_time, "units=s" |
---|
1032 | //x_pixel_size |
---|
1033 | Note/K x_pixel_size, "units=cm" |
---|
1034 | //y_pixel_size |
---|
1035 | Note/K y_pixel_size, "units=cm" |
---|
1036 | //beam_center_x |
---|
1037 | //beam_center_y |
---|
1038 | //type |
---|
1039 | //flatfield_applied |
---|
1040 | //countrate_correction_applied |
---|
1041 | //pixel_mask |
---|
1042 | //integrated_count |
---|
1043 | //lateral_offset |
---|
1044 | Note/K lateral_offset, "units=cm" |
---|
1045 | //PixelNumX |
---|
1046 | //PixelNumY |
---|
1047 | //PixelFWHM |
---|
1048 | //CALX |
---|
1049 | //CALY |
---|
1050 | //size |
---|
1051 | Note/K size, "units=cm" |
---|
1052 | //event_file_name |
---|
1053 | SetDataFolder root:VSANS_file:entry1:instrument:detector_MR |
---|
1054 | Make/O/N=0 Igor___folder_attributes |
---|
1055 | Note/K Igor___folder_attributes, "NX_class=NXdetector" |
---|
1056 | //data |
---|
1057 | //data_error |
---|
1058 | //nx_distance |
---|
1059 | Note/K nx_distance, "units=m" |
---|
1060 | //description |
---|
1061 | //settings |
---|
1062 | //dead_time |
---|
1063 | Note/K dead_time, "units=s" |
---|
1064 | //x_pixel_size |
---|
1065 | Note/K x_pixel_size, "units=cm" |
---|
1066 | //y_pixel_size |
---|
1067 | Note/K y_pixel_size, "units=cm" |
---|
1068 | //beam_center_x |
---|
1069 | //beam_center_y |
---|
1070 | //type |
---|
1071 | //flatfield_applied |
---|
1072 | //countrate_correction_applied |
---|
1073 | //pixel_mask |
---|
1074 | //integrated_count |
---|
1075 | //lateral_offset |
---|
1076 | Note/K lateral_offset, "units=cm" |
---|
1077 | //separation |
---|
1078 | Note/K separation, "units=cm" |
---|
1079 | //PixelNumX |
---|
1080 | //PixelNumY |
---|
1081 | //PixelFWHM |
---|
1082 | //size |
---|
1083 | Note/K size, "units=cm" |
---|
1084 | //event_file_name |
---|
1085 | //tube_orientation |
---|
1086 | //number_of_tubes |
---|
1087 | //tube_index |
---|
1088 | //spatial_calibration |
---|
1089 | //tube_width |
---|
1090 | Note/K tube_width, "units=cm" |
---|
1091 | SetDataFolder root:VSANS_file:entry1:instrument:detector_ML |
---|
1092 | Make/O/N=0 Igor___folder_attributes |
---|
1093 | Note/K Igor___folder_attributes, "NX_class=NXdetector" |
---|
1094 | //data |
---|
1095 | //data_error |
---|
1096 | //nx_distance |
---|
1097 | Note/K nx_distance, "units=m" |
---|
1098 | //description |
---|
1099 | //settings |
---|
1100 | //dead_time |
---|
1101 | Note/K dead_time, "units=s" |
---|
1102 | //x_pixel_size |
---|
1103 | Note/K x_pixel_size, "units=cm" |
---|
1104 | //y_pixel_size |
---|
1105 | Note/K y_pixel_size, "units=cm" |
---|
1106 | //beam_center_x |
---|
1107 | //beam_center_y |
---|
1108 | //type |
---|
1109 | //flatfield_applied |
---|
1110 | //countrate_correction_applied |
---|
1111 | //pixel_mask |
---|
1112 | //integrated_count |
---|
1113 | //lateral_offset |
---|
1114 | Note/K lateral_offset, "units=cm" |
---|
1115 | //separation |
---|
1116 | Note/K separation, "units=cm" |
---|
1117 | //PixelNumX |
---|
1118 | //PixelNumY |
---|
1119 | //PixelFWHM |
---|
1120 | //size |
---|
1121 | Note/K size, "units=cm" |
---|
1122 | //event_file_name |
---|
1123 | //tube_orientation |
---|
1124 | //number_of_tubes |
---|
1125 | //tube_index |
---|
1126 | //spatial_calibration |
---|
1127 | //tube_width |
---|
1128 | Note/K tube_width, "units=cm" |
---|
1129 | SetDataFolder root:VSANS_file:entry1:instrument:detector_MT |
---|
1130 | Make/O/N=0 Igor___folder_attributes |
---|
1131 | Note/K Igor___folder_attributes, "NX_class=NXdetector" |
---|
1132 | //data |
---|
1133 | //data_error |
---|
1134 | //nx_distance |
---|
1135 | Note/K nx_distance, "units=m" |
---|
1136 | //description |
---|
1137 | //settings |
---|
1138 | //dead_time |
---|
1139 | Note/K dead_time, "units=s" |
---|
1140 | //x_pixel_size |
---|
1141 | Note/K x_pixel_size, "units=cm" |
---|
1142 | //y_pixel_size |
---|
1143 | Note/K y_pixel_size, "units=cm" |
---|
1144 | //beam_center_x |
---|
1145 | //beam_center_y |
---|
1146 | //type |
---|
1147 | //flatfield_applied |
---|
1148 | //countrate_correction_applied |
---|
1149 | //pixel_mask |
---|
1150 | //integrated_count |
---|
1151 | //lateral_offset |
---|
1152 | Note/K lateral_offset, "units=cm" |
---|
1153 | //sdd_offset |
---|
1154 | Note/K sdd_offset, "units=cm" |
---|
1155 | //separation |
---|
1156 | Note/K separation, "units=cm" |
---|
1157 | //PixelNumX |
---|
1158 | //PixelNumY |
---|
1159 | //PixelFWHM |
---|
1160 | //size |
---|
1161 | Note/K size, "units=cm" |
---|
1162 | //event_file_name |
---|
1163 | //tube_orientation |
---|
1164 | //number_of_tubes |
---|
1165 | //tube_index |
---|
1166 | //spatial_calibration |
---|
1167 | //tube_width |
---|
1168 | Note/K tube_width, "units=cm" |
---|
1169 | SetDataFolder root:VSANS_file:entry1:instrument:detector_MB |
---|
1170 | Make/O/N=0 Igor___folder_attributes |
---|
1171 | Note/K Igor___folder_attributes, "NX_class=NXdetector" |
---|
1172 | //data |
---|
1173 | //data_error |
---|
1174 | //nx_distance |
---|
1175 | Note/K nx_distance, "units=m" |
---|
1176 | //description |
---|
1177 | //settings |
---|
1178 | //dead_time |
---|
1179 | Note/K dead_time, "units=s" |
---|
1180 | //x_pixel_size |
---|
1181 | Note/K x_pixel_size, "units=cm" |
---|
1182 | //y_pixel_size |
---|
1183 | Note/K y_pixel_size, "units=cm" |
---|
1184 | //beam_center_x |
---|
1185 | //beam_center_y |
---|
1186 | //type |
---|
1187 | //flatfield_applied |
---|
1188 | //countrate_correction_applied |
---|
1189 | //pixel_mask |
---|
1190 | //integrated_count |
---|
1191 | //lateral_offset |
---|
1192 | Note/K lateral_offset, "units=cm" |
---|
1193 | //sdd_offset |
---|
1194 | Note/K sdd_offset, "units=cm" |
---|
1195 | //separation |
---|
1196 | Note/K separation, "units=cm" |
---|
1197 | //PixelNumX |
---|
1198 | //PixelNumY |
---|
1199 | //PixelFWHM |
---|
1200 | //size |
---|
1201 | Note/K size, "units=cm" |
---|
1202 | //event_file_name |
---|
1203 | //tube_orientation |
---|
1204 | //number_of_tubes |
---|
1205 | //tube_index |
---|
1206 | //spatial_calibration |
---|
1207 | //tube_width |
---|
1208 | Note/K tube_width, "units=cm" |
---|
1209 | SetDataFolder root:VSANS_file:entry1:instrument:detector_FR |
---|
1210 | Make/O/N=0 Igor___folder_attributes |
---|
1211 | Note/K Igor___folder_attributes, "NX_class=NXdetector" |
---|
1212 | //data |
---|
1213 | //data_error |
---|
1214 | //nx_distance |
---|
1215 | Note/K nx_distance, "units=m" |
---|
1216 | //description |
---|
1217 | //settings |
---|
1218 | //dead_time |
---|
1219 | Note/K dead_time, "units=s" |
---|
1220 | //x_pixel_size |
---|
1221 | Note/K x_pixel_size, "units=cm" |
---|
1222 | //y_pixel_size |
---|
1223 | Note/K y_pixel_size, "units=cm" |
---|
1224 | //beam_center_x |
---|
1225 | //beam_center_y |
---|
1226 | //type |
---|
1227 | //flatfield_applied |
---|
1228 | //countrate_correction_applied |
---|
1229 | //pixel_mask |
---|
1230 | //integrated_count |
---|
1231 | //lateral_offset |
---|
1232 | Note/K lateral_offset, "units=cm" |
---|
1233 | //separation |
---|
1234 | Note/K separation, "units=cm" |
---|
1235 | //PixelNumX |
---|
1236 | //PixelNumY |
---|
1237 | //PixelFWHM |
---|
1238 | //size |
---|
1239 | Note/K size, "units=cm" |
---|
1240 | //event_file_name |
---|
1241 | //tube_orientation |
---|
1242 | //number_of_tubes |
---|
1243 | //tube_index |
---|
1244 | //spatial_calibration |
---|
1245 | //tube_width |
---|
1246 | Note/K tube_width, "units=cm" |
---|
1247 | SetDataFolder root:VSANS_file:entry1:instrument:detector_FL |
---|
1248 | Make/O/N=0 Igor___folder_attributes |
---|
1249 | Note/K Igor___folder_attributes, "NX_class=NXdetector" |
---|
1250 | //data |
---|
1251 | //data_error |
---|
1252 | //nx_distance |
---|
1253 | Note/K nx_distance, "units=m" |
---|
1254 | //description |
---|
1255 | //settings |
---|
1256 | //dead_time |
---|
1257 | Note/K dead_time, "units=s" |
---|
1258 | //x_pixel_size |
---|
1259 | Note/K x_pixel_size, "units=cm" |
---|
1260 | //y_pixel_size |
---|
1261 | Note/K y_pixel_size, "units=cm" |
---|
1262 | //beam_center_x |
---|
1263 | //beam_center_y |
---|
1264 | //type |
---|
1265 | //flatfield_applied |
---|
1266 | //countrate_correction_applied |
---|
1267 | //pixel_mask |
---|
1268 | //integrated_count |
---|
1269 | //lateral_offset |
---|
1270 | Note/K lateral_offset, "units=cm" |
---|
1271 | //separation |
---|
1272 | Note/K separation, "units=cm" |
---|
1273 | //PixelNumX |
---|
1274 | //PixelNumY |
---|
1275 | //PixelFWHM |
---|
1276 | //size |
---|
1277 | Note/K size, "units=cm" |
---|
1278 | //event_file_name |
---|
1279 | //tube_orientation |
---|
1280 | //number_of_tubes |
---|
1281 | //tube_index |
---|
1282 | //spatial_calibration |
---|
1283 | //tube_width |
---|
1284 | Note/K tube_width, "units=cm" |
---|
1285 | SetDataFolder root:VSANS_file:entry1:instrument:detector_FT |
---|
1286 | Make/O/N=0 Igor___folder_attributes |
---|
1287 | Note/K Igor___folder_attributes, "NX_class=NXdetector" |
---|
1288 | //data |
---|
1289 | //data_error |
---|
1290 | //nx_distance |
---|
1291 | Note/K nx_distance, "units=m" |
---|
1292 | //description |
---|
1293 | //settings |
---|
1294 | //dead_time |
---|
1295 | Note/K dead_time, "units=s" |
---|
1296 | //x_pixel_size |
---|
1297 | Note/K x_pixel_size, "units=cm" |
---|
1298 | //y_pixel_size |
---|
1299 | Note/K y_pixel_size, "units=cm" |
---|
1300 | //beam_center_x |
---|
1301 | //beam_center_y |
---|
1302 | //type |
---|
1303 | //flatfield_applied |
---|
1304 | //countrate_correction_applied |
---|
1305 | //pixel_mask |
---|
1306 | //integrated_count |
---|
1307 | //lateral_offset |
---|
1308 | Note/K lateral_offset, "units=cm" |
---|
1309 | //sdd_offset |
---|
1310 | Note/K sdd_offset, "units=cm" |
---|
1311 | //separation |
---|
1312 | Note/K separation, "units=cm" |
---|
1313 | //PixelNumX |
---|
1314 | //PixelNumY |
---|
1315 | //PixelFWHM |
---|
1316 | //size |
---|
1317 | Note/K size, "units=cm" |
---|
1318 | //event_file_name |
---|
1319 | //tube_orientation |
---|
1320 | //number_of_tubes |
---|
1321 | //tube_index |
---|
1322 | //spatial_calibration |
---|
1323 | //tube_width |
---|
1324 | Note/K tube_width, "units=cm" |
---|
1325 | SetDataFolder root:VSANS_file:entry1:instrument:detector_FB |
---|
1326 | Make/O/N=0 Igor___folder_attributes |
---|
1327 | Note/K Igor___folder_attributes, "NX_class=NXdetector" |
---|
1328 | //data |
---|
1329 | //data_error |
---|
1330 | //nx_distance |
---|
1331 | Note/K nx_distance, "units=m" |
---|
1332 | //description |
---|
1333 | //settings |
---|
1334 | //dead_time |
---|
1335 | Note/K dead_time, "units=s" |
---|
1336 | //x_pixel_size |
---|
1337 | Note/K x_pixel_size, "units=cm" |
---|
1338 | //y_pixel_size |
---|
1339 | Note/K y_pixel_size, "units=cm" |
---|
1340 | //beam_center_x |
---|
1341 | //beam_center_y |
---|
1342 | //type |
---|
1343 | //flatfield_applied |
---|
1344 | //countrate_correction_applied |
---|
1345 | //pixel_mask |
---|
1346 | //integrated_count |
---|
1347 | //lateral_offset |
---|
1348 | Note/K lateral_offset, "units=cm" |
---|
1349 | //sdd_offset |
---|
1350 | Note/K sdd_offset, "units=cm" |
---|
1351 | //separation |
---|
1352 | Note/K separation, "units=cm" |
---|
1353 | //PixelNumX |
---|
1354 | //PixelNumY |
---|
1355 | //PixelFWHM |
---|
1356 | //size |
---|
1357 | Note/K size, "units=cm" |
---|
1358 | //event_file_name |
---|
1359 | //tube_orientation |
---|
1360 | //number_of_tubes |
---|
1361 | //tube_index |
---|
1362 | //spatial_calibration |
---|
1363 | //tube_width |
---|
1364 | Note/K tube_width, "units=cm" |
---|
1365 | |
---|
1366 | |
---|
1367 | SetDataFolder root:VSANS_file:entry1:data_B |
---|
1368 | Make/O/N=0 Igor___folder_attributes |
---|
1369 | Note/K Igor___folder_attributes, "NX_class=NXdata" |
---|
1370 | //data |
---|
1371 | //error |
---|
1372 | //variables |
---|
1373 | //data_image |
---|
1374 | SetDataFolder root:VSANS_file:entry1:data_MR |
---|
1375 | Make/O/N=0 Igor___folder_attributes |
---|
1376 | Note/K Igor___folder_attributes, "NX_class=NXdata" |
---|
1377 | //data |
---|
1378 | //error |
---|
1379 | //variables |
---|
1380 | //data_image |
---|
1381 | SetDataFolder root:VSANS_file:entry1:data_ML |
---|
1382 | Make/O/N=0 Igor___folder_attributes |
---|
1383 | Note/K Igor___folder_attributes, "NX_class=NXdata" |
---|
1384 | //data |
---|
1385 | //error |
---|
1386 | //variables |
---|
1387 | //data_image |
---|
1388 | SetDataFolder root:VSANS_file:entry1:data_MT |
---|
1389 | Make/O/N=0 Igor___folder_attributes |
---|
1390 | Note/K Igor___folder_attributes, "NX_class=NXdata" |
---|
1391 | //data |
---|
1392 | //error |
---|
1393 | //variables |
---|
1394 | //data_image |
---|
1395 | SetDataFolder root:VSANS_file:entry1:data_MB |
---|
1396 | Make/O/N=0 Igor___folder_attributes |
---|
1397 | Note/K Igor___folder_attributes, "NX_class=NXdata" |
---|
1398 | //data |
---|
1399 | //error |
---|
1400 | //variables |
---|
1401 | //data_image |
---|
1402 | SetDataFolder root:VSANS_file:entry1:data_FR |
---|
1403 | Make/O/N=0 Igor___folder_attributes |
---|
1404 | Note/K Igor___folder_attributes, "NX_class=NXdata" |
---|
1405 | //data |
---|
1406 | //error |
---|
1407 | //variables |
---|
1408 | //data_image |
---|
1409 | SetDataFolder root:VSANS_file:entry1:data_FL |
---|
1410 | Make/O/N=0 Igor___folder_attributes |
---|
1411 | Note/K Igor___folder_attributes, "NX_class=NXdata" |
---|
1412 | //data |
---|
1413 | //error |
---|
1414 | //variables |
---|
1415 | //data_image |
---|
1416 | SetDataFolder root:VSANS_file:entry1:data_FT |
---|
1417 | Make/O/N=0 Igor___folder_attributes |
---|
1418 | Note/K Igor___folder_attributes, "NX_class=NXdata" |
---|
1419 | //data |
---|
1420 | //error |
---|
1421 | //variables |
---|
1422 | //data_image |
---|
1423 | SetDataFolder root:VSANS_file:entry1:data_FB |
---|
1424 | Make/O/N=0 Igor___folder_attributes |
---|
1425 | Note/K Igor___folder_attributes, "NX_class=NXdata" |
---|
1426 | //data |
---|
1427 | //error |
---|
1428 | //variables |
---|
1429 | //data_image |
---|
1430 | |
---|
1431 | SetDataFolder root:VSANS_file:entry1:reduction |
---|
1432 | //intent |
---|
1433 | //transmission_file_name |
---|
1434 | //empty_beam_file_name |
---|
1435 | //background_file_name |
---|
1436 | //empty_file_name |
---|
1437 | //sensitivity_file_name |
---|
1438 | //mask_file_name |
---|
1439 | //sans_log_file_name |
---|
1440 | //whole_trans |
---|
1441 | //whole_trans_error |
---|
1442 | //box_count |
---|
1443 | //box_count_error |
---|
1444 | //box_coordinates |
---|
1445 | //comments |
---|
1446 | //absolute_scaling |
---|
1447 | SetDataFolder root:VSANS_file:entry1:reduction:pol_sans |
---|
1448 | //pol_sans_purpose |
---|
1449 | //cell_name |
---|
1450 | //cell_parameters |
---|
1451 | |
---|
1452 | SetDataFolder root:VSANS_file:DAS_Logs |
---|
1453 | Make/O/N=0 Igor___folder_attributes |
---|
1454 | Note/K Igor___folder_attributes, "NX_class=NXlog" |
---|
1455 | //...multiple entries and levels... to add |
---|
1456 | //this will be enormous |
---|
1457 | |
---|
1458 | |
---|
1459 | |
---|
1460 | SetDataFolder root: |
---|
1461 | |
---|
1462 | End |
---|
1463 | |
---|
1464 | // overwrites the dummy values as needed with VCALC information |
---|
1465 | // |
---|
1466 | // |
---|
1467 | // |
---|
1468 | // TODO |
---|
1469 | // issues here with the potential for Nexus to have data as INTEGER |
---|
1470 | // where I'd rather have the data here in Igor be DP, so there are no |
---|
1471 | // conversion/assignment issues |
---|
1472 | // |
---|
1473 | // simuation data from VCALC = DP, but I need to assign to an Integer wave... |
---|
1474 | // - sometimes this works, sometimes not... |
---|
1475 | // may need to Redimension/I |
---|
1476 | // |
---|
1477 | /// break this up into several smaller procedures as this is a VERY lengthy task to do |
---|
1478 | |
---|
1479 | // TODO |
---|
1480 | // set the "accessible" copies of the data (these are really to be links in the file!) |
---|
1481 | |
---|
1482 | Proc H_Fill_VSANS_wSim() |
---|
1483 | |
---|
1484 | SetDataFolder root:VSANS_file |
---|
1485 | file_name = "VSANSTest.h5" |
---|
1486 | file_time = "2015-02-28T08:15:30-5:00" |
---|
1487 | facility = "NCNR" |
---|
1488 | NeXus_version = "Nexus 0.0" |
---|
1489 | hdf_version = "hdf5.x" |
---|
1490 | file_history = "history log" |
---|
1491 | SetDataFolder root:VSANS_file:entry1 |
---|
1492 | title = "title of entry1" |
---|
1493 | experiment_identifier = 684636 |
---|
1494 | experiment_description = "description of expt" |
---|
1495 | entry_identifier = "S22-33" |
---|
1496 | definition = "NXsas" |
---|
1497 | start_time = "2015-02-28T08:15:30-5:00" |
---|
1498 | end_time = "2015-02-28T08:15:30-5:00" |
---|
1499 | duration = 300 |
---|
1500 | collection_time = 300 |
---|
1501 | run_cycle = "S22-23" |
---|
1502 | program_name = "runPoint={stuff}" |
---|
1503 | data_directory = "[VSANS_VSANS]" |
---|
1504 | SetDataFolder root:VSANS_file:entry1:user |
---|
1505 | name = "Dr. Pi" |
---|
1506 | role = "evil scientist" |
---|
1507 | affiliation = "NIST" |
---|
1508 | address = "100 Bureau Drive" |
---|
1509 | telephoneNumber = "301-999-9999" |
---|
1510 | faxNumber = "301-999-9999" |
---|
1511 | email = "sans@nist" |
---|
1512 | facility_user_id = 6937596 |
---|
1513 | SetDataFolder root:VSANS_file:entry1:control |
---|
1514 | mode = "timer" |
---|
1515 | preset = 555 |
---|
1516 | integral = 555 |
---|
1517 | monitor_counts = 666 |
---|
1518 | monitor_preset = 1e8 |
---|
1519 | type = "monitor type" |
---|
1520 | efficiency = 0.01 |
---|
1521 | sampled_fraction = 1 |
---|
1522 | detector_counts = 100111222 |
---|
1523 | detector_preset = 1e5 |
---|
1524 | count_start = 1 |
---|
1525 | count_end = 1 |
---|
1526 | count_time = 1 |
---|
1527 | count_time_preset = 1 |
---|
1528 | SetDataFolder root:VSANS_file:entry1:program_data |
---|
1529 | data = "program data" |
---|
1530 | description = "acquisition" |
---|
1531 | file_name = "NICE" |
---|
1532 | type = "client" |
---|
1533 | SetDataFolder root:VSANS_file:entry1:sample |
---|
1534 | name = "My Sample" |
---|
1535 | chemical_formula = "C8H10N4O2" |
---|
1536 | SetDataFolder root:VSANS_file:entry1:sample:temperature_1 |
---|
1537 | name = "Sample temperature" |
---|
1538 | attached_to = "block" |
---|
1539 | measurement = "temperature" |
---|
1540 | SetDataFolder root:VSANS_file:entry1:sample:temperature_1:value_log |
---|
1541 | start = "2015-02-28T08:15:30-5:00" |
---|
1542 | nx_time = p |
---|
1543 | value = 2*p |
---|
1544 | SetDataFolder root:VSANS_file:entry1:sample:temperature_2 |
---|
1545 | name = "Sample temperature" |
---|
1546 | attached_to = "block" |
---|
1547 | measurement = "temperature" |
---|
1548 | SetDataFolder root:VSANS_file:entry1:sample:temperature_2:value_log |
---|
1549 | start = "2015-02-28T08:15:30-5:00" |
---|
1550 | nx_time = p |
---|
1551 | value = 3*p |
---|
1552 | SetDataFolder root:VSANS_file:entry1:sample:electric_field |
---|
1553 | name = "electric meter" |
---|
1554 | attached_to = "sample" |
---|
1555 | measurement = "voltage" |
---|
1556 | SetDataFolder root:VSANS_file:entry1:sample:electric_field:value_log |
---|
1557 | start = "2015-02-28T08:15:30-5:00" |
---|
1558 | nx_time = 2*p |
---|
1559 | value = sin(p/10) |
---|
1560 | SetDataFolder root:VSANS_file:entry1:sample:shear_field |
---|
1561 | name = "rheometer" |
---|
1562 | attached_to = "sample" |
---|
1563 | measurement = "stress" |
---|
1564 | SetDataFolder root:VSANS_file:entry1:sample:shear_field:value_log |
---|
1565 | start = "2015-02-28T08:15:30-5:00" |
---|
1566 | nx_time = p |
---|
1567 | value = cos(p/5) |
---|
1568 | SetDataFolder root:VSANS_file:entry1:sample:pressure |
---|
1569 | name = "Sample pressure" |
---|
1570 | attached_to = "pressure cell" |
---|
1571 | measurement = "pressure" |
---|
1572 | SetDataFolder root:VSANS_file:entry1:sample:pressure:value_log |
---|
1573 | start = "2015-02-28T08:15:30-5:00" |
---|
1574 | nx_time = p |
---|
1575 | value = p/2 |
---|
1576 | SetDataFolder root:VSANS_file:entry1:sample:magnetic_field |
---|
1577 | name = "magnetic field (direction)" |
---|
1578 | attached_to = "cryostat" |
---|
1579 | measurement = "magnetic field" |
---|
1580 | SetDataFolder root:VSANS_file:entry1:sample:magnetic_field:value_log |
---|
1581 | start = "2015-02-28T08:15:30-5:00" |
---|
1582 | nx_time = p |
---|
1583 | value = 10*p |
---|
1584 | SetDataFolder root:VSANS_file:entry1:sample |
---|
1585 | changer_position = 5 |
---|
1586 | sample_holder_description = "10CB" |
---|
1587 | mass = 0.3 |
---|
1588 | density = 1.02 |
---|
1589 | molecular_weight = 194.19 |
---|
1590 | description = "My Sample" |
---|
1591 | preparation_date = "2015-02-28T08:15:30-5:00" |
---|
1592 | volume_fraction = 0.2 |
---|
1593 | scattering_length_density = 6.35e-6 |
---|
1594 | thickness = 0.1 |
---|
1595 | rotation_angle = 30 |
---|
1596 | transmission = 0.888 |
---|
1597 | transmission_error = 0.011 |
---|
1598 | xs_incoh = 5.5 |
---|
1599 | xs_coh = 22.2 |
---|
1600 | xs_absorb = 3.1 |
---|
1601 | SetDataFolder root:VSANS_file:entry1:instrument |
---|
1602 | location = "NCNR" |
---|
1603 | description = "NG3-VSANS" |
---|
1604 | type = "VSANS" |
---|
1605 | local_contact = "Steve Kline" |
---|
1606 | SetDataFolder root:VSANS_file:entry1:instrument:source |
---|
1607 | name = "NCNR" |
---|
1608 | type = "Reactor Neutron Source" |
---|
1609 | probe = "neutron" |
---|
1610 | power = 20 |
---|
1611 | |
---|
1612 | SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_1 |
---|
1613 | data = 1234567 |
---|
1614 | type = "monitor" |
---|
1615 | efficiency = 0.01 |
---|
1616 | nx_distance = 16 |
---|
1617 | saved_count = 1e8 |
---|
1618 | SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_2 |
---|
1619 | data = 1234567 |
---|
1620 | type = "monitor" |
---|
1621 | efficiency = 0.01 |
---|
1622 | nx_distance = 16 |
---|
1623 | saved_count = 1e8 |
---|
1624 | |
---|
1625 | SetDataFolder root:VSANS_file:entry1:instrument:beam |
---|
1626 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator |
---|
1627 | wavelength = VCALC_getWavelength() |
---|
1628 | wavelength_spread = 0.02 |
---|
1629 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:velocity_selector |
---|
1630 | type = "VS" |
---|
1631 | rotation_speed = 5100 |
---|
1632 | wavelength = VCALC_getWavelength() |
---|
1633 | wavelength_spread = 0.15 |
---|
1634 | vs_tilt = 3 |
---|
1635 | nx_distance = 18.8 |
---|
1636 | // table (wave) |
---|
1637 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:crystal |
---|
1638 | nx_distance = 1 |
---|
1639 | wavelength = VCALC_getWavelength() |
---|
1640 | wavelength_spread = 0.02 |
---|
1641 | rotation = 1.1 |
---|
1642 | energy = 1 |
---|
1643 | wavevector = 1 |
---|
1644 | lattice_parameter = 1 |
---|
1645 | reflection = {1,2,3} |
---|
1646 | horizontal_curvature = 1 |
---|
1647 | vertical_curvature = 1 |
---|
1648 | horizontal_aperture = 1 |
---|
1649 | vertical_aperture = 1 |
---|
1650 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:white_beam |
---|
1651 | wavelength = VCALC_getWavelength() |
---|
1652 | wavelength_spread = 0.8 |
---|
1653 | // description_of_distribution |
---|
1654 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:polarizer |
---|
1655 | type = "supermirror" |
---|
1656 | composition = "multilayer" |
---|
1657 | efficiency = 0.95 |
---|
1658 | status = "in" |
---|
1659 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:flipper |
---|
1660 | status = "on" |
---|
1661 | driving_current = 42 |
---|
1662 | waveform = "sine" |
---|
1663 | frequency = 400 |
---|
1664 | transmitted_power = 0.99 |
---|
1665 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:polarizer_analyzer |
---|
1666 | status = "down" |
---|
1667 | guide_field_current_1 = 33 |
---|
1668 | guide_field_current_2 = 32 |
---|
1669 | solenoid_current = 21 |
---|
1670 | cell_index = 1 |
---|
1671 | cell_names = {"Burgundy","Olaf","Jim","Bob","Joe"} |
---|
1672 | cell_parameters = 1 |
---|
1673 | SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:chopper |
---|
1674 | type = "single" |
---|
1675 | rotation_speed = 12000 |
---|
1676 | distance_from_source = 400 |
---|
1677 | distance_from_sample = 1500 |
---|
1678 | slits = 2 |
---|
1679 | angular_opening = 15 |
---|
1680 | duty_cycle = 0.25 |
---|
1681 | // +? |
---|
1682 | |
---|
1683 | // ADD converging pinholes, etc |
---|
1684 | // converging_pinholes |
---|
1685 | // converging_slits |
---|
1686 | |
---|
1687 | |
---|
1688 | SetDataFolder root:VSANS_file:entry1:instrument:attenuator |
---|
1689 | nx_distance = 1500 |
---|
1690 | type = "PMMA" |
---|
1691 | thickness = 0 |
---|
1692 | attenuator_transmission = 1 |
---|
1693 | status = "in" |
---|
1694 | atten_number = "0101" |
---|
1695 | index = 1 |
---|
1696 | SetDataFolder root:VSANS_file:entry1:instrument:source_aperture |
---|
1697 | material = "Gd" |
---|
1698 | description = "source aperture" |
---|
1699 | diameter = 1.27 |
---|
1700 | nx_distance = 13.0 |
---|
1701 | SetDataFolder root:VSANS_file:entry1:instrument:source_aperture:shape |
---|
1702 | size = 1.27 |
---|
1703 | SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture |
---|
1704 | material = "Gd" |
---|
1705 | description = "sample aperture" |
---|
1706 | diameter = 1.27 |
---|
1707 | nx_distance = 10 |
---|
1708 | SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture:shape |
---|
1709 | size = 1.27 |
---|
1710 | SetDataFolder root:VSANS_file:entry1:instrument: |
---|
1711 | nx_NumGuides = 1 |
---|
1712 | SetDataFolder root:VSANS_file:entry1:instrument:lenses |
---|
1713 | lens_geometry = "concave_lens" |
---|
1714 | focus_type = "point" |
---|
1715 | number_of_lenses = 28 |
---|
1716 | number_of_prisms = 7 |
---|
1717 | curvature = 1 |
---|
1718 | lens_distance = 123 |
---|
1719 | prism_distance = 123 |
---|
1720 | lens_material = "MgF2" |
---|
1721 | prism_material = "MgF2" |
---|
1722 | SetDataFolder root:VSANS_file:entry1:instrument:sample_table |
---|
1723 | location = "chamber" |
---|
1724 | offset_distance = 0 |
---|
1725 | SetDataFolder root:VSANS_file:entry1:instrument:beam_stop |
---|
1726 | description = "circular" |
---|
1727 | nx_distance = 12.5 |
---|
1728 | size = 7.62 |
---|
1729 | status = "out" |
---|
1730 | xPos = 66.4 |
---|
1731 | yPos = 64.4 |
---|
1732 | x_motor_position = 0.15 |
---|
1733 | y_motor_position = 0.55 |
---|
1734 | |
---|
1735 | SetDataFolder root:VSANS_file:entry1:instrument:detector_B |
---|
1736 | data = root:Packages:NIST:VSANS:VCALC:Back:det_B |
---|
1737 | data_error = 0.01*abs(gnoise(p+q)) |
---|
1738 | nx_distance = VCALC_getSDD("B") |
---|
1739 | description = "fancy model" |
---|
1740 | settings = "just right" |
---|
1741 | dead_time = 5e-6 |
---|
1742 | x_pixel_size = 5.08 |
---|
1743 | y_pixel_size = 5.08 |
---|
1744 | beam_center_x = 165.55 |
---|
1745 | beam_center_y = 162.33 |
---|
1746 | type = "??" |
---|
1747 | flatfield_applied = 0 |
---|
1748 | countrate_correction_applied = 0 |
---|
1749 | pixel_mask = 0 |
---|
1750 | integrated_count = 100111222 |
---|
1751 | lateral_offset = 20 |
---|
1752 | PixelNumX = 320 |
---|
1753 | PixelNumY = 320 |
---|
1754 | PixelFWHM = 0.5 |
---|
1755 | CALX = {0.5,0.5,10000} |
---|
1756 | CALY = {0.5,0.5,10000} |
---|
1757 | size = 65 |
---|
1758 | event_file_name ="something.hst" |
---|
1759 | SetDataFolder root:VSANS_file:entry1:instrument:detector_MR |
---|
1760 | data = root:Packages:NIST:VSANS:VCALC:Middle:det_MR |
---|
1761 | data_error = 0.01*abs(gnoise(p+q)) |
---|
1762 | nx_distance = VCALC_getSDD("MR") |
---|
1763 | description = "fancy model" |
---|
1764 | settings = "just right" |
---|
1765 | dead_time = 5e-6 |
---|
1766 | x_pixel_size = 5.08 |
---|
1767 | y_pixel_size = 5.08 |
---|
1768 | beam_center_x = 65.55 |
---|
1769 | beam_center_y = 62.33 |
---|
1770 | type = "??" |
---|
1771 | flatfield_applied = 0 |
---|
1772 | countrate_correction_applied = 0 |
---|
1773 | pixel_mask = 0 |
---|
1774 | integrated_count = 100111222 |
---|
1775 | lateral_offset = 20 |
---|
1776 | separation = VCALC_getPanelSeparation("MR") |
---|
1777 | PixelNumX = 48 |
---|
1778 | PixelNumY = 256 |
---|
1779 | PixelFWHM = 0.5 |
---|
1780 | size = 65 |
---|
1781 | event_file_name ="something.hst" |
---|
1782 | tube_orientation = "vertical" |
---|
1783 | number_of_tubes = 48 |
---|
1784 | tube_index = p |
---|
1785 | //spatial_calibration = 1 |
---|
1786 | spatial_calibration[0][] = 1.072 |
---|
1787 | spatial_calibration[1][] = -4.0e-5 |
---|
1788 | tube_width = 8 |
---|
1789 | SetDataFolder root:VSANS_file:entry1:instrument:detector_ML |
---|
1790 | data = root:Packages:NIST:VSANS:VCALC:Middle:det_ML |
---|
1791 | data_error = 0.01*abs(gnoise(p+q)) |
---|
1792 | nx_distance = VCALC_getSDD("ML") |
---|
1793 | description = "fancy model" |
---|
1794 | settings = "just right" |
---|
1795 | dead_time = 5e-6 |
---|
1796 | x_pixel_size = 5.08 |
---|
1797 | y_pixel_size = 5.08 |
---|
1798 | beam_center_x = 65.55 |
---|
1799 | beam_center_y = 62.33 |
---|
1800 | type = "??" |
---|
1801 | flatfield_applied = 0 |
---|
1802 | countrate_correction_applied = 0 |
---|
1803 | pixel_mask = 0 |
---|
1804 | integrated_count = 100111222 |
---|
1805 | lateral_offset = 20 |
---|
1806 | separation = VCALC_getPanelSeparation("ML") |
---|
1807 | PixelNumX = 48 |
---|
1808 | PixelNumY = 256 |
---|
1809 | PixelFWHM = 0.5 |
---|
1810 | size = 65 |
---|
1811 | event_file_name ="something.hst" |
---|
1812 | tube_orientation = "vertical" |
---|
1813 | number_of_tubes = 48 |
---|
1814 | tube_index = p |
---|
1815 | //spatial_calibration = 1 |
---|
1816 | spatial_calibration[0][] = 1.072 |
---|
1817 | spatial_calibration[1][] = -4.0e-5 |
---|
1818 | tube_width = 8 |
---|
1819 | SetDataFolder root:VSANS_file:entry1:instrument:detector_MT |
---|
1820 | data = root:Packages:NIST:VSANS:VCALC:Middle:det_MT |
---|
1821 | data_error = 0.01*abs(gnoise(p+q)) |
---|
1822 | nx_distance = VCALC_getSDD("MT") |
---|
1823 | description = "fancy model" |
---|
1824 | settings = "just right" |
---|
1825 | dead_time = 5e-6 |
---|
1826 | x_pixel_size = 5.08 |
---|
1827 | y_pixel_size = 5.08 |
---|
1828 | beam_center_x = 65.55 |
---|
1829 | beam_center_y = 62.33 |
---|
1830 | type = "??" |
---|
1831 | flatfield_applied = 0 |
---|
1832 | countrate_correction_applied = 0 |
---|
1833 | pixel_mask = 0 |
---|
1834 | integrated_count = 100111222 |
---|
1835 | lateral_offset = 20 |
---|
1836 | sdd_offset = VCALC_getTopBottomSDDOffset("MT") |
---|
1837 | separation = VCALC_getPanelSeparation("MT") |
---|
1838 | PixelNumX = 128 |
---|
1839 | PixelNumY = 48 |
---|
1840 | PixelFWHM = 0.5 |
---|
1841 | size = 65 |
---|
1842 | event_file_name ="something.hst" |
---|
1843 | tube_orientation = "horizontal" |
---|
1844 | number_of_tubes = 48 |
---|
1845 | tube_index = p |
---|
1846 | //spatial_calibration = 1 |
---|
1847 | spatial_calibration[0][] = 1.072 |
---|
1848 | spatial_calibration[1][] = -4.0e-5 |
---|
1849 | tube_width = 8 |
---|
1850 | SetDataFolder root:VSANS_file:entry1:instrument:detector_MB |
---|
1851 | data = root:Packages:NIST:VSANS:VCALC:Middle:det_MB |
---|
1852 | data_error = 0.01*abs(gnoise(p+q)) |
---|
1853 | nx_distance = VCALC_getSDD("MB") |
---|
1854 | description = "fancy model" |
---|
1855 | settings = "just right" |
---|
1856 | dead_time = 5e-6 |
---|
1857 | x_pixel_size = 5.08 |
---|
1858 | y_pixel_size = 5.08 |
---|
1859 | beam_center_x = 65.55 |
---|
1860 | beam_center_y = 62.33 |
---|
1861 | type = "??" |
---|
1862 | flatfield_applied = 0 |
---|
1863 | countrate_correction_applied = 0 |
---|
1864 | pixel_mask = 0 |
---|
1865 | integrated_count = 100111222 |
---|
1866 | lateral_offset = 20 |
---|
1867 | sdd_offset = VCALC_getTopBottomSDDOffset("MB") |
---|
1868 | separation = VCALC_getPanelSeparation("MB") |
---|
1869 | PixelNumX = 128 |
---|
1870 | PixelNumY = 48 |
---|
1871 | PixelFWHM = 0.5 |
---|
1872 | size = 65 |
---|
1873 | event_file_name ="something.hst" |
---|
1874 | tube_orientation = "horizontal" |
---|
1875 | number_of_tubes = 48 |
---|
1876 | tube_index = p |
---|
1877 | //spatial_calibration = 1 |
---|
1878 | spatial_calibration[0][] = 1.072 |
---|
1879 | spatial_calibration[1][] = -4.0e-5 |
---|
1880 | tube_width = 8 |
---|
1881 | SetDataFolder root:VSANS_file:entry1:instrument:detector_FR |
---|
1882 | data = root:Packages:NIST:VSANS:VCALC:Front:det_FR |
---|
1883 | data_error = 0.01*abs(gnoise(p+q)) |
---|
1884 | nx_distance = VCALC_getSDD("FR") |
---|
1885 | description = "fancy model" |
---|
1886 | settings = "just right" |
---|
1887 | dead_time = 5e-6 |
---|
1888 | x_pixel_size = 5.08 |
---|
1889 | y_pixel_size = 5.08 |
---|
1890 | beam_center_x = 65.55 |
---|
1891 | beam_center_y = 62.33 |
---|
1892 | type = "??" |
---|
1893 | flatfield_applied = 0 |
---|
1894 | countrate_correction_applied = 0 |
---|
1895 | pixel_mask = 0 |
---|
1896 | integrated_count = 100111222 |
---|
1897 | lateral_offset = 20 |
---|
1898 | separation = VCALC_getPanelSeparation("FR") |
---|
1899 | PixelNumX = 48 |
---|
1900 | PixelNumY = 256 |
---|
1901 | PixelFWHM = 0.5 |
---|
1902 | size = 65 |
---|
1903 | event_file_name ="something.hst" |
---|
1904 | tube_orientation = "vertical" |
---|
1905 | number_of_tubes = 48 |
---|
1906 | tube_index = p |
---|
1907 | //spatial_calibration = 1 |
---|
1908 | spatial_calibration[0][] = 1.072 |
---|
1909 | spatial_calibration[1][] = -4.0e-5 |
---|
1910 | tube_width = 8 |
---|
1911 | SetDataFolder root:VSANS_file:entry1:instrument:detector_FL |
---|
1912 | data = root:Packages:NIST:VSANS:VCALC:Front:det_FL |
---|
1913 | data_error = 0.01*abs(gnoise(p+q)) |
---|
1914 | nx_distance = VCALC_getSDD("FL") |
---|
1915 | description = "fancy model" |
---|
1916 | settings = "just right" |
---|
1917 | dead_time = 5e-6 |
---|
1918 | x_pixel_size = 5.08 |
---|
1919 | y_pixel_size = 5.08 |
---|
1920 | beam_center_x = 65.55 |
---|
1921 | beam_center_y = 62.33 |
---|
1922 | type = "??" |
---|
1923 | flatfield_applied = 0 |
---|
1924 | countrate_correction_applied = 0 |
---|
1925 | pixel_mask = 0 |
---|
1926 | integrated_count = 100111222 |
---|
1927 | lateral_offset = 20 |
---|
1928 | separation = VCALC_getPanelSeparation("FL") |
---|
1929 | PixelNumX = 48 |
---|
1930 | PixelNumY = 256 |
---|
1931 | PixelFWHM = 0.5 |
---|
1932 | size = 65 |
---|
1933 | event_file_name ="something.hst" |
---|
1934 | tube_orientation = "vertical" |
---|
1935 | number_of_tubes = 48 |
---|
1936 | tube_index = p |
---|
1937 | //spatial_calibration = 1 |
---|
1938 | spatial_calibration[0][] = 1.072 |
---|
1939 | spatial_calibration[1][] = -4.0e-5 |
---|
1940 | tube_width = 8 |
---|
1941 | SetDataFolder root:VSANS_file:entry1:instrument:detector_FT |
---|
1942 | data = root:Packages:NIST:VSANS:VCALC:Front:det_FT |
---|
1943 | data_error = 0.01*abs(gnoise(p+q)) |
---|
1944 | nx_distance = VCALC_getSDD("FT") |
---|
1945 | description = "fancy model" |
---|
1946 | settings = "just right" |
---|
1947 | dead_time = 5e-6 |
---|
1948 | x_pixel_size = 5.08 |
---|
1949 | y_pixel_size = 5.08 |
---|
1950 | beam_center_x = 65.55 |
---|
1951 | beam_center_y = 62.33 |
---|
1952 | type = "??" |
---|
1953 | flatfield_applied = 0 |
---|
1954 | countrate_correction_applied = 0 |
---|
1955 | pixel_mask = 0 |
---|
1956 | integrated_count = 100111222 |
---|
1957 | lateral_offset = 20 |
---|
1958 | sdd_offset = VCALC_getTopBottomSDDOffset("FT") |
---|
1959 | separation = VCALC_getPanelSeparation("FT") |
---|
1960 | PixelNumX = 128 |
---|
1961 | PixelNumY = 48 |
---|
1962 | PixelFWHM = 0.5 |
---|
1963 | size = 65 |
---|
1964 | event_file_name ="something.hst" |
---|
1965 | tube_orientation = "horizontal" |
---|
1966 | number_of_tubes = 48 |
---|
1967 | tube_index = p |
---|
1968 | //spatial_calibration = 1 |
---|
1969 | spatial_calibration[0][] = 1.072 |
---|
1970 | spatial_calibration[1][] = -4.0e-5 |
---|
1971 | tube_width = 8 |
---|
1972 | SetDataFolder root:VSANS_file:entry1:instrument:detector_FB |
---|
1973 | data = root:Packages:NIST:VSANS:VCALC:Front:det_FB |
---|
1974 | data_error = 0.01*abs(gnoise(p+q)) |
---|
1975 | nx_distance = VCALC_getSDD("FB") |
---|
1976 | description = "fancy model" |
---|
1977 | settings = "just right" |
---|
1978 | dead_time = 5e-6 |
---|
1979 | x_pixel_size = 5.08 |
---|
1980 | y_pixel_size = 5.08 |
---|
1981 | beam_center_x = 65.55 |
---|
1982 | beam_center_y = 62.33 |
---|
1983 | type = "??" |
---|
1984 | flatfield_applied = 0 |
---|
1985 | countrate_correction_applied = 0 |
---|
1986 | pixel_mask = 0 |
---|
1987 | integrated_count = 100111222 |
---|
1988 | lateral_offset = 20 |
---|
1989 | sdd_offset = VCALC_getTopBottomSDDOffset("FB") |
---|
1990 | separation = VCALC_getPanelSeparation("FB") |
---|
1991 | PixelNumX = 128 |
---|
1992 | PixelNumY = 48 |
---|
1993 | PixelFWHM = 0.5 |
---|
1994 | size = 65 |
---|
1995 | event_file_name ="something.hst" |
---|
1996 | tube_orientation = "horizontal" |
---|
1997 | number_of_tubes = 48 |
---|
1998 | tube_index = p |
---|
1999 | //spatial_calibration = 1 |
---|
2000 | spatial_calibration[0][] = 1.072 |
---|
2001 | spatial_calibration[1][] = -4.0e-5 |
---|
2002 | tube_width = 8 |
---|
2003 | |
---|
2004 | // SRK -set the top level copies of the data |
---|
2005 | SetDataFolder root:VSANS_file:entry1:data_B |
---|
2006 | data = root:Packages:NIST:VSANS:VCALC:Back:det_B |
---|
2007 | error = 0.01*abs(gnoise(p+q)) |
---|
2008 | variables = {320,320} |
---|
2009 | data_image = p |
---|
2010 | SetDataFolder root:VSANS_file:entry1:data_MR |
---|
2011 | data = root:Packages:NIST:VSANS:VCALC:Middle:det_MR |
---|
2012 | error = 0.01*abs(gnoise(p+q)) |
---|
2013 | variables = {48,256} |
---|
2014 | data_image = p |
---|
2015 | SetDataFolder root:VSANS_file:entry1:data_ML |
---|
2016 | data = root:Packages:NIST:VSANS:VCALC:Middle:det_ML |
---|
2017 | error = 0.01*abs(gnoise(p+q)) |
---|
2018 | variables = {48,256} |
---|
2019 | data_image = p |
---|
2020 | SetDataFolder root:VSANS_file:entry1:data_MT |
---|
2021 | data = root:Packages:NIST:VSANS:VCALC:Middle:det_MT |
---|
2022 | data = (data == 2147483647) ? 0 : data //the NaN "mask" in the sim data shows up as an ugly integer |
---|
2023 | error = 0.01*abs(gnoise(p+q)) |
---|
2024 | variables = {128,48} |
---|
2025 | data_image = p |
---|
2026 | SetDataFolder root:VSANS_file:entry1:data_MB |
---|
2027 | data = root:Packages:NIST:VSANS:VCALC:Middle:det_MB |
---|
2028 | data = (data == 2147483647) ? 0 : data //the NaN "mask" in the sim data shows up as an ugly integer |
---|
2029 | error = 0.01*abs(gnoise(p+q)) |
---|
2030 | variables = {128,48} |
---|
2031 | data_image = p |
---|
2032 | SetDataFolder root:VSANS_file:entry1:data_FR |
---|
2033 | data = root:Packages:NIST:VSANS:VCALC:Front:det_FR |
---|
2034 | error = 0.01*abs(gnoise(p+q)) |
---|
2035 | variables = {48,256} |
---|
2036 | data_image = p |
---|
2037 | SetDataFolder root:VSANS_file:entry1:data_FL |
---|
2038 | data = root:Packages:NIST:VSANS:VCALC:Front:det_FL |
---|
2039 | error = 0.01*abs(gnoise(p+q)) |
---|
2040 | variables = {48,256} |
---|
2041 | data_image = p |
---|
2042 | SetDataFolder root:VSANS_file:entry1:data_FT |
---|
2043 | data = root:Packages:NIST:VSANS:VCALC:Front:det_FT |
---|
2044 | data = (data == 2147483647) ? 0 : data //the NaN "mask" in the sim data shows up as an ugly integer |
---|
2045 | error = 0.01*abs(gnoise(p+q)) |
---|
2046 | variables = {128,48} |
---|
2047 | data_image = p |
---|
2048 | SetDataFolder root:VSANS_file:entry1:data_FB |
---|
2049 | data = root:Packages:NIST:VSANS:VCALC:Front:det_FB |
---|
2050 | data = (data == 2147483647) ? 0 : data //the NaN "mask" in the sim data shows up as an ugly integer |
---|
2051 | error = 0.01*abs(gnoise(p+q)) |
---|
2052 | variables = {128,48} |
---|
2053 | data_image = p |
---|
2054 | |
---|
2055 | SetDataFolder root:VSANS_file:entry1:reduction |
---|
2056 | intent = "SCATTER" |
---|
2057 | transmission_file_name = "SANSFile_TRN.h5" |
---|
2058 | empty_beam_file_name = "SANSFile_EB.h5" |
---|
2059 | background_file_name = "SANSFile_BKG.h5" |
---|
2060 | empty_file_name = "SANSFile_EMP.h5" |
---|
2061 | sensitivity_file_name = "SANSFile_DIV.h5" |
---|
2062 | mask_file_name = "SANSFile_MASK.h5" |
---|
2063 | sans_log_file_name = "SANSFile_log.txt" |
---|
2064 | whole_trans = 0.888 |
---|
2065 | whole_trans_error = 0.008 |
---|
2066 | box_count = 23232 |
---|
2067 | box_count_error = 22 |
---|
2068 | box_coordinates = {50,80,45,75} |
---|
2069 | comments = "extra data comments" |
---|
2070 | absolute_scaling = {1,1,1e5,1} |
---|
2071 | SetDataFolder root:VSANS_file:entry1:reduction:pol_sans |
---|
2072 | pol_sans_purpose = "name from the list" |
---|
2073 | cell_name = "Burgundy" |
---|
2074 | cell_parameters = {1,2,3,4,5} |
---|
2075 | |
---|
2076 | SetDataFolder root:VSANS_file:DAS_Logs |
---|
2077 | // ...multiple entries and levels... to add |
---|
2078 | // this will be enormous |
---|
2079 | |
---|
2080 | SetDataFolder root: |
---|
2081 | |
---|
2082 | End |
---|
2083 | |
---|
2084 | |
---|
2085 | |
---|