Changeset 959
- Timestamp:
- Jun 30, 2015 10:50:16 AM (8 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/Nexus_SANS_Write.ipf
r956 r959 37 37 Make/O/D/N=1 collection_time = 300 38 38 Make/O/T/N=1 run_cycle = "S22-23" 39 Make/O/T/N=1 program_name = "runPoint={'stuff'}"40 39 Make/O/T/N=1 data_directory = "[NG7SANS41]" 40 Make/O/T/N=1 program_name = "runPoint={stuff}" 41 41 NewDataFolder/O/S root:SANS_file:entry1:user 42 42 Make/O/T/N=1 name = "Dr. Pi" … … 54 54 Make/O/D/N=1 monitor_counts = 666 55 55 Make/O/D/N=1 monitor_preset = 1e8 56 Make/O/T/N=1 type = "monitor type"57 Make/O/D/N=1 efficiency = 0.0158 Make/O/D/N=1 sampled_fraction = 159 56 Make/O/D/N=1 detector_counts = 100111222 60 57 Make/O/D/N=1 detector_preset = 1e5 58 // Make/O/T/N=1 type = "monitor type" 59 // Make/O/D/N=1 efficiency = 0.01 60 // Make/O/D/N=1 sampled_fraction = 1 61 61 Make/O/D/N=1 count_start = 1 62 62 Make/O/D/N=1 count_end = 1 63 63 Make/O/D/N=1 count_time = 1 64 64 Make/O/D/N=1 count_time_preset = 1 65 NewDataFolder/O/S root:SANS_file:entry1:program_data66 Make/O/T/N=1 data = "program data"67 Make/O/T/N=1 description = "acquisition"68 Make/O/T/N=1 file_name = "NICE"69 Make/O/T/N=1 type = "client"65 // NewDataFolder/O/S root:SANS_file:entry1:program_name 66 // Make/O/T/N=1 data = "program data" 67 // Make/O/T/N=1 description = "acquisition" 68 // Make/O/T/N=1 file_name = "NICE" 69 // Make/O/T/N=1 type = "client" 70 70 NewDataFolder/O/S root:SANS_file:entry1:sample 71 Make/O/T/N=1 name = "My Sample" 72 Make/O/T/N=1 chemical_formula = "C8H10N4O2" 71 Make/O/T/N=1 description = "My Sample" 72 Make/O/D/N=1 group_id = 12345 73 // Make/O/T/N=1 chemical_formula = "C8H10N4O2" 73 74 NewDataFolder/O/S root:SANS_file:entry1:sample:temperature_1 74 75 Make/O/T/N=1 name = "Sample temperature" … … 119 120 Make/O/D/N=(n) nx_time = p 120 121 Make/O/D/N=(n) value = 10*p 121 SetDataFolder root:SANS_file:entry1:sample 122 SetDataFolder root:SANS_file:entry1:sample 122 123 Make/O/D/N=1 changer_position = 5 123 124 Make/O/T/N=1 sample_holder_description = "10CB" 124 Make/O/D/N=1 mass = 0.3125 Make/O/D/N=1 density = 1.02126 Make/O/D/N=1 molecular_weight = 194.19127 Make/O/T/N=1 description = "My Sample"128 Make/O/T/N=1 preparation_date = "2015-02-28T08:15:30-5:00"129 Make/O/D/N=1 volume_fraction = 0.2130 Make/O/D/N=1 scattering_length_density = 6.35e-6125 // Make/O/D/N=1 mass = 0.3 126 // Make/O/D/N=1 density = 1.02 127 // Make/O/D/N=1 molecular_weight = 194.19 128 // Make/O/T/N=1 description = "My Sample" 129 // Make/O/T/N=1 preparation_date = "2015-02-28T08:15:30-5:00" 130 // Make/O/D/N=1 volume_fraction = 0.2 131 // Make/O/D/N=1 scattering_length_density = 6.35e-6 131 132 Make/O/D/N=1 thickness = 0.1 132 133 Make/O/D/N=1 rotation_angle = 30 133 134 Make/O/D/N=1 transmission = 0.888 134 135 Make/O/D/N=1 transmission_error = 0.011 135 Make/O/D/N=1 xs_incoh = 5.5136 Make/O/D/N=1 xs_coh = 22.2137 Make/O/D/N=1 xs_absorb = 3.1136 // Make/O/D/N=1 xs_incoh = 5.5 137 // Make/O/D/N=1 xs_coh = 22.2 138 // Make/O/D/N=1 xs_absorb = 3.1 138 139 NewDataFolder/O/S root:SANS_file:entry1:instrument 139 Make/O/T/N=1 location = "NCNR"140 Make/O/T/N=1 description= "NGB30mSANS"140 // Make/O/T/N=1 location = "NCNR" 141 Make/O/T/N=1 name = "NGB30mSANS" 141 142 Make/O/T/N=1 type = "30 m SANS" 142 143 Make/O/T/N=1 local_contact = "Steve Kline" … … 152 153 Make/O/D/N=1 nx_distance = 16 153 154 Make/O/D/N=1 saved_count = 1e8 154 NewDataFolder/O/S root:SANS_file:entry1:instrument:beam 155 NewDataFolder/O/S root:SANS_file:entry1:instrument:beam:monochromator 155 NewDataFolder/O/S root:SANS_file:entry1:instrument:monochromator 156 Make/O/D/N=1 wavelength = 6 157 Make/O/D/N=1 wavelength_spread = 0.15 158 Make/O/T/N=1 type = "VS" 159 NewDataFolder/O/S root:SANS_file:entry1:instrument:monochromator:velocity_selector 160 Make/O/D/N=1 rotation_speed = 5100 156 161 Make/O/D/N=1 wavelength = 6 157 162 Make/O/D/N=1 wavelength_spread = 0.15 158 NewDataFolder/O/S root:SANS_file:entry1:instrument:beam:monochromator:velocity_selector 159 Make/O/T/N=1 type = "VS" 160 Make/O/D/N=1 rotation_speed = 5100 161 Make/O/D/N=1 wavelength = 6 162 Make/O/D/N=1 wavelength_spread = 0.15 163 Make/O/D/N=1 vs_tilt = 3 164 Make/O/D/N=1 nx_distance = 18.8 165 //table (wave) 166 NewDataFolder/O/S root:SANS_file:entry1:instrument:beam:polarizer 167 Make/O/T/N=1 type = "supermirror" 168 Make/O/T/N=1 composition = "multilayer" 169 Make/O/D/N=1 efficiency = 0.95 170 Make/O/T/N=1 status = "in" 171 NewDataFolder/O/S root:SANS_file:entry1:instrument:beam:flipper 172 Make/O/T/N=1 status = "on" 173 Make/O/D/N=1 driving_current = 42 174 Make/O/T/N=1 waveform = "sine" 175 Make/O/D/N=1 frequency = 400 176 Make/O/D/N=1 transmitted_power = 0.99 177 NewDataFolder/O/S root:SANS_file:entry1:instrument:beam:polarizer_analyzer 178 Make/O/T/N=1 status = "down" 179 Make/O/D/N=1 guide_field_current_1 = 33 180 Make/O/D/N=1 guide_field_current_2 = 32 181 Make/O/D/N=1 solenoid_current = 21 182 Make/O/D/N=1 cell_index = 1 183 Make/O/T/N=(5) cell_names = {"Burgundy","Olaf"} 184 Make/O/D/N=(5,2) cell_parameters = 1 185 NewDataFolder/O/S root:SANS_file:entry1:instrument:beam:chopper 186 Make/O/T/N=1 type = "single" 187 Make/O/D/N=1 rotation_speed = 12000 188 Make/O/D/N=1 distance_from_source = 400 189 Make/O/D/N=1 distance_from_sample = 1500 190 Make/O/D/N=1 slits = 2 191 Make/O/D/N=1 angular_opening = 15 192 Make/O/D/N=1 duty_cycle = 0.25 163 Make/O/D/N=1 vs_tilt = 3 164 Make/O/D/N=1 nx_distance = 18.8 165 //table 166 NewDataFolder/O/S root:SANS_file:entry1:instrument:polarizer 167 Make/O/T/N=1 type = "supermirror" 168 Make/O/T/N=1 composition = "multilayer" 169 Make/O/D/N=1 efficiency = 0.95 170 Make/O/T/N=1 status = "in" 171 NewDataFolder/O/S root:SANS_file:entry1:instrument:flipper 172 Make/O/T/N=1 status = "on" 173 Make/O/D/N=1 driving_current = 42 174 Make/O/T/N=1 waveform = "sine" 175 Make/O/D/N=1 frequency = 400 176 Make/O/D/N=1 transmitted_power = 0.99 177 NewDataFolder/O/S root:SANS_file:entry1:instrument:polarizer_analyzer 178 Make/O/T/N=1 status = "down" 179 Make/O/D/N=1 guide_field_current_1 = 33 180 Make/O/D/N=1 guide_field_current_2 = 32 181 Make/O/D/N=1 solenoid_current = 21 182 Make/O/D/N=1 cell_index = 1 183 Make/O/T/N=(5) cell_names = {"Burgundy","Olaf","Jim","Bob","Joe"} 184 Make/O/D/N=(5,2) cell_parameters = 1 185 NewDataFolder/O/S root:SANS_file:entry1:instrument:chopper 186 Make/O/T/N=1 type = "single" 187 Make/O/T/N=1 status = "in" 188 Make/O/D/N=1 rotation_speed = 12000 189 Make/O/D/N=1 distance_from_source = 400 190 Make/O/D/N=1 distance_from_sample = 1500 191 Make/O/D/N=1 slits = 2 192 Make/O/D/N=1 angular_opening = 15 193 Make/O/D/N=1 duty_cycle = 0.25 193 194 NewDataFolder/O/S root:SANS_file:entry1:instrument:attenuator 194 195 Make/O/D/N=1 nx_distance = 1500 … … 200 201 Make/O/D/N=(10,10) index = 1 201 202 NewDataFolder/O/S root:SANS_file:entry1:instrument:source_aperture 202 Make/O/T/N=1 material = "Gd"203 // Make/O/T/N=1 material = "Gd" 203 204 Make/O/T/N=1 description = "source aperture" 204 205 Make/O/D/N=1 diameter = 1.27 … … 207 208 Make/O/D/N=(1,2) size = 1.27 208 209 NewDataFolder/O/S root:SANS_file:entry1:instrument:sample_aperture 209 Make/O/T/N=1 material = "Gd"210 // Make/O/T/N=1 material = "Gd" 210 211 Make/O/T/N=1 description = "sample aperture" 211 212 Make/O/D/N=1 diameter = 1.27 … … 213 214 NewDataFolder/O/S root:SANS_file:entry1:instrument:sample_aperture:shape 214 215 Make/O/D/N=(1,2) size = 1.27 215 SetDataFolder root:SANS_file:entry1:instrument 216 Make/O/I/N=1 nx_NumGuides = 1 216 NewDataFolder/O/S root:SANS_file:entry1:instrument:collimator 217 NewDataFolder/O/S root:SANS_file:entry1:instrument:collimator:geometry 218 NewDataFolder/O/S root:SANS_file:entry1:instrument:collimator:geometry:shape 219 Make/O/T/N=1 shape = "box" 220 Make/O/D/N=1 size = 11 221 Make/O/I/N=1 nx_NumGuides = 1 217 222 NewDataFolder/O/S root:SANS_file:entry1:instrument:lenses 223 Make/O/T/N=1 status = "in" 218 224 Make/O/T/N=1 lens_geometry = "concave_lens" 219 225 Make/O/T/N=1 focus_type = "point" … … 239 245 NewDataFolder/O/S root:SANS_file:entry1:instrument:detector 240 246 Make/O/I/N=(128,128) data = trunc(abs(gnoise(p+q))) 241 Make/O/D/N=(128,128) data_error = 0.01*abs(gnoise(p+q))247 // Make/O/D/N=(128,128) data_error = 0.01*abs(gnoise(p+q)) 242 248 Make/O/D/N=1 nx_distance = 13.1 243 249 Make/O/T/N=1 description = "Ordela 2660N" … … 249 255 Make/O/D/N=1 beam_center_y = 62.33 250 256 Make/O/T/N=1 type = "Ordela" 251 Make/O/D/N=1 flatfield_applied = 0252 Make/O/D/N=1 countrate_correction_applied = 0257 // Make/O/D/N=1 flatfield_applied = 0 258 // Make/O/D/N=1 countrate_correction_applied = 0 253 259 Make/O/D/N=(128,128) pixel_mask = 0 254 260 Make/O/I/N=1 integrated_count = 100111222 … … 264 270 NewDataFolder/O/S root:SANS_file:entry1:data 265 271 Make/O/I/N=(128,128) data = trunc(abs(gnoise(p+q))) 266 Make/O/D/N=(128,128) error = 0.01*abs(gnoise(p+q))272 // Make/O/D/N=(128,128) error = 0.01*abs(gnoise(p+q)) 267 273 Make/O/D/N=2 variables = {128,128} 268 274 Make/O/I/N=(128,128) data_image = p … … 281 287 Make/O/D/N=1 box_count_error = 22 282 288 Make/O/I/N=4 box_coordinates = {50,80,45,75} 283 Make/O/T/N=1 comments = "extra data notes"289 Make/O/T/N=1 comments = "extra data comments" 284 290 Make/O/D/N=4 absolute_scaling = {1,1,1e5,1} 285 291 NewDataFolder/O/S root:SANS_file:entry1:reduction:pol_sans … … 288 294 Make/O/D/N=(5) cell_parameters = {1,2,3,4,5} 289 295 296 290 297 NewDataFolder/O/S root:SANS_file:DAS_Logs 291 298 //...multiple entries and levels... to add … … 300 307 Proc H_Fill_SANS_Attributes() 301 308 302 SetDataFolder root:SANS_file 309 SetDataFolder root:SANS_file 303 310 Make/O/N=0 Igor___folder_attributes 304 311 Note/K Igor___folder_attributes, "producer=IgorPro\rNX_class=NXroot" … … 324 331 Note/K collection_time, "units=s" 325 332 // run_cycle 326 // data_directory 327 // program_name 333 // data_directory 334 // program_name 328 335 SetDataFolder root:SANS_file:entry1:user 329 336 Make/O/N=0 Igor___folder_attributes … … 345 352 // monitor_counts 346 353 // monitor_preset 354 // detector_counts 355 // detector_preset 347 356 // type 348 357 // efficiency 349 358 // sampled_fraction 350 // detector_counts 351 // detector_preset 352 // count_start 359 // count_start 353 360 Note/K count_start, "units=s" 354 // count_end 361 // count_end 355 362 Note/K count_end, "units=s" 356 // count_time 363 // count_time 357 364 Note/K count_time, "units=s" 358 // count_time_preset 365 // count_time_preset 359 366 Note/K count_time_preset, "units=s" 360 SetDataFolder root:SANS_file:entry1:program_data361 Make/O/N=0 Igor___folder_attributes367 // SetDataFolder root:SANS_file:entry1:program_name 368 // Make/O/N=0 Igor___folder_attributes 362 369 // data 363 370 // description … … 367 374 Make/O/N=0 Igor___folder_attributes 368 375 Note/K Igor___folder_attributes, "NX_class=NXsample" 369 // name 376 // description 377 // group_id 370 378 // chemical_formula 371 379 SetDataFolder root:SANS_file:entry1:sample:temperature_1 … … 453 461 // value 454 462 Note/K value, "units=T" 455 SetDataFolder root:SANS_file:entry1:sample463 SetDataFolder root:SANS_file:entry1:sample 456 464 // changer_position 457 465 // sample_holder_description 458 466 // mass 459 Note/K mass, "units=g"467 // Note/K mass, "units=g" 460 468 // density 461 Note/K density, "units=g ml-1"469 // Note/K density, "units=g ml-1" 462 470 // molecular_weight 463 Note/K molecular_weight, "units=g mol-1"471 // Note/K molecular_weight, "units=g mol-1" 464 472 // description 465 473 // preparation_date 466 474 // volume_fraction 467 475 // scattering_length_density 468 Note/K scattering_length_density, "units=A-2"476 // Note/K scattering_length_density, "units=A-2" 469 477 // thickness 470 478 Note/K thickness, "units=cm" … … 474 482 // transmission_error 475 483 // xs_incoh 476 Note/K xs_incoh, "units=cm-1"484 // Note/K xs_incoh, "units=cm-1" 477 485 // xs_coh 478 Note/K xs_coh, "units=cm-1"486 // Note/K xs_coh, "units=cm-1" 479 487 // xs_absorb 480 Note/K xs_absorb, "units=cm-1"488 // Note/K xs_absorb, "units=cm-1" 481 489 SetDataFolder root:SANS_file:entry1:instrument 482 490 Make/O/N=0 Igor___folder_attributes 483 491 Note/K Igor___folder_attributes, "NX_class=NXinstrument" 484 492 // location 485 // description493 // name 486 494 // type 487 495 // local_contact 488 496 SetDataFolder root:SANS_file:entry1:instrument:source 489 Make/O/N=0 Igor___folder_attributes490 Note/K Igor___folder_attributes, "NX_class=NXsource"497 Make/O/N=0 Igor___folder_attributes 498 Note/K Igor___folder_attributes, "NX_class=NXsource" 491 499 // name 492 500 // type … … 503 511 Note/K nx_distance, "units=m" 504 512 // saved_count 505 SetDataFolder root:SANS_file:entry1:instrument:beam 506 Make/O/N=0 Igor___folder_attributes 507 Note/K Igor___folder_attributes, "NX_class=NXbeam" 508 SetDataFolder root:SANS_file:entry1:instrument:beam:monochromator 513 SetDataFolder root:SANS_file:entry1:instrument:monochromator 514 Make/O/N=0 Igor___folder_attributes 515 Note/K Igor___folder_attributes, "NX_class=NXmonochromator" 516 // wavelength 517 Note/K wavelength, "units=A" 518 // wavelength_spread 519 // type 520 SetDataFolder root:SANS_file:entry1:instrument:monochromator:velocity_selector 509 521 Make/O/N=0 Igor___folder_attributes 510 Note/K Igor___folder_attributes, "NX_class=NXmonochromator" 522 Note/K Igor___folder_attributes, "NX_class=NXvelocity_selector" 523 // rotation_speed 524 Note/K rotation_speed, "units=RPM" 511 525 // wavelength 512 526 Note/K wavelength, "units=A" 513 527 // wavelength_spread 514 SetDataFolder root:SANS_file:entry1:instrument:beam:monochromator:velocity_selector 515 Make/O/N=0 Igor___folder_attributes 516 Note/K Igor___folder_attributes, "NX_class=NXvelocity_selector" 517 // type 518 // rotation_speed 519 Note/K rotation_speed, "units=RPM" 520 // wavelength 521 Note/K wavelength, "units=A" 522 // wavelength_spread 523 // vs_tilt 524 Note/K vs_tilt, "units=degrees" 525 // nx_distance 526 Note/K nx_distance, "units=m" 527 // table (//) 528 SetDataFolder root:SANS_file:entry1:instrument:beam:polarizer 529 Make/O/N=0 Igor___folder_attributes 530 // type 531 // composition 532 // efficiency 533 // status 534 SetDataFolder root:SANS_file:entry1:instrument:beam:flipper 535 Make/O/N=0 Igor___folder_attributes 536 // status 537 // driving_current 538 Note/K driving_current, "units=A" 539 // waveform 540 // frequency 541 Note/K frequency, "units=Hz" 542 // transmitted_power 543 SetDataFolder root:SANS_file:entry1:instrument:beam:polarizer_analyzer 544 Make/O/N=0 Igor___folder_attributes 545 // status 546 // guide_field_current_1 547 Note/K guide_field_current_1, "units=A" 548 // guide_field_current_2 549 Note/K guide_field_current_2, "units=A" 550 // solenoid_current 551 Note/K solenoid_current, "units=A" 552 // cell_index 553 // cell_names 554 // cell_parameters 555 SetDataFolder root:SANS_file:entry1:instrument:beam:chopper 556 Make/O/N=0 Igor___folder_attributes 557 Note/K Igor___folder_attributes, "NX_class=NXdisk_chopper" 558 // type 559 // rotation_speed 560 Note/K rotation_speed, "units=RPM" 561 // distance_from_source 562 Note/K distance_from_source, "units=m" 563 // distance_from_sample 564 Note/K distance_from_sample, "units=m" 565 // slits 566 // angular_opening 567 Note/K angular_opening, "units=degrees" 568 // duty_cycle 528 // vs_tilt 529 Note/K vs_tilt, "units=degrees" 530 // nx_distance 531 Note/K nx_distance, "units=m" 532 //table 533 SetDataFolder root:SANS_file:entry1:instrument:polarizer 534 Make/O/N=0 Igor___folder_attributes 535 // type 536 // composition 537 // efficiency 538 // status 539 SetDataFolder root:SANS_file:entry1:instrument:flipper 540 Make/O/N=0 Igor___folder_attributes 541 // status 542 // driving_current 543 Note/K driving_current, "units=A" 544 // waveform 545 // frequency 546 Note/K frequency, "units=Hz" 547 // transmitted_power 548 SetDataFolder root:SANS_file:entry1:instrument:polarizer_analyzer 549 Make/O/N=0 Igor___folder_attributes 550 // status 551 // guide_field_current_1 552 Note/K guide_field_current_1, "units=A" 553 // guide_field_current_2 554 Note/K guide_field_current_2, "units=A" 555 // solenoid_current 556 Note/K solenoid_current, "units=A" 557 // cell_index 558 // cell_names 559 // cell_parameters 560 SetDataFolder root:SANS_file:entry1:instrument:chopper 561 Make/O/N=0 Igor___folder_attributes 562 Note/K Igor___folder_attributes, "NX_class=NXdisk_chopper" 563 // type 564 // status 565 // rotation_speed 566 Note/K rotation_speed, "units=RPM" 567 // distance_from_source 568 Note/K distance_from_source, "units=m" 569 // distance_from_sample 570 Note/K distance_from_sample, "units=m" 571 // slits 572 // angular_opening 573 Note/K angular_opening, "units=degrees" 574 // duty_cycle 569 575 SetDataFolder root:SANS_file:entry1:instrument:attenuator 570 576 Make/O/N=0 Igor___folder_attributes … … 607 613 // size 608 614 Note/K size, "units=cm" 609 SetDataFolder root:SANS_file:entry1:instrument 610 // nx_NumGuides 615 SetDataFolder root:SANS_file:entry1:instrument:collimator 616 SetDataFolder root:SANS_file:entry1:instrument:collimator:geometry 617 SetDataFolder root:SANS_file:entry1:instrument:collimator:geometry:shape 618 // shape 619 // size 620 Note/K size, "units=m" 621 // nx_NumGuides 611 622 SetDataFolder root:SANS_file:entry1:instrument:lenses 612 623 Make/O/N=0 Igor___folder_attributes 613 624 Note/K Igor___folder_attributes, "NX_class=NXxraylens" 625 // status 614 626 // lens_geometry 615 627 // focus_type … … 671 683 // PixelNumY 672 684 // PixelFWHM 673 //calibration_method685 //calibration_method 674 686 // CALX 675 687 // CALY … … 711 723 Make/O/N=0 Igor___folder_attributes 712 724 Note/K Igor___folder_attributes, "NX_class=NXlog" 713 // ...multiple entries and levels... to add 725 //...multiple entries and levels... to add 726 714 727 715 728 SetDataFolder root: … … 723 736 Proc H_Fill_SANS_wSim() 724 737 725 SetDataFolder root:SANS_file738 SetDataFolder root:SANS_file 726 739 file_name = "SANSTest.h5" 727 740 file_time = "2015-02-28T08:15:30-5:00" … … 741 754 collection_time = 300 742 755 run_cycle = "S22-23" 756 data_directory = "[NG7SANS41]" 743 757 program_name = "runPoint={stuff}" 744 data_directory = "[NG7SANS41]"745 758 SetDataFolder root:SANS_file:entry1:user 746 759 name = "Dr. Pi" … … 758 771 monitor_counts = 666 759 772 monitor_preset = 1e8 760 type = "monitor type"761 efficiency = 0.01762 sampled_fraction = 1763 773 detector_counts = 100111222 764 774 detector_preset = 1e5 765 count_start = 1 766 count_end = 1 767 count_time = 1 768 count_time_preset = 1 769 SetDataFolder root:SANS_file:entry1:program_data 770 data = "program data" 771 description = "acquisition" 772 file_name = "NICE" 773 type = "client" 775 // type = "monitor type" 776 // efficiency = 0.01 777 // sampled_fraction = 1 778 count_start = 1 779 count_end = 1 780 count_time = 1 781 count_time_preset = 1 782 // SetDataFolder root:SANS_file:entry1:program_name 783 // data = "program data" 784 // description = "acquisition" 785 // file_name = "NICE" 786 // type = "client" 774 787 SetDataFolder root:SANS_file:entry1:sample 775 name = "My Sample" 776 chemical_formula = "C8H10N4O2" 788 description = "My Sample" 789 group_id = 12345 790 // chemical_formula = "C8H10N4O2" 777 791 SetDataFolder root:SANS_file:entry1:sample:temperature_1 778 792 name = "Sample temperature" … … 826 840 changer_position = 5 827 841 sample_holder_description = "10CB" 828 mass = 0.3829 density = 1.02830 molecular_weight = 194.19831 description = "My Sample"832 preparation_date = "2015-02-28T08:15:30-5:00"833 volume_fraction = 0.2834 scattering_length_density = 6.35e-6842 // mass = 0.3 843 // density = 1.02 844 // molecular_weight = 194.19 845 // description = "My Sample" 846 // preparation_date = "2015-02-28T08:15:30-5:00" 847 // volume_fraction = 0.2 848 // scattering_length_density = 6.35e-6 835 849 thickness = 0.1 836 850 rotation_angle = 30 837 851 transmission = 0.888 838 852 transmission_error = 0.011 839 xs_incoh = 5.5840 xs_coh = 22.2841 xs_absorb = 3.1853 // xs_incoh = 5.5 854 // xs_coh = 22.2 855 // xs_absorb = 3.1 842 856 SetDataFolder root:SANS_file:entry1:instrument 843 location = "NCNR"844 description= "NGB30mSANS"857 // location = "NCNR" 858 name = "NGB30mSANS" 845 859 type = "30 m SANS" 846 860 local_contact = "Steve Kline" … … 856 870 nx_distance = 16 857 871 saved_count = 1e8 858 SetDataFolder root:SANS_file:entry1:instrument:beam 859 SetDataFolder root:SANS_file:entry1:instrument:beam:monochromator 872 SetDataFolder root:SANS_file:entry1:instrument:monochromator 873 wavelength = 6 874 wavelength_spread = 0.15 875 type = "VS" 876 SetDataFolder root:SANS_file:entry1:instrument:monochromator:velocity_selector 877 rotation_speed = 5100 860 878 wavelength = 6 861 879 wavelength_spread = 0.15 862 SetDataFolder root:SANS_file:entry1:instrument:beam:monochromator:velocity_selector 863 type = "VS" 864 rotation_speed = 5100 865 wavelength = 6 866 wavelength_spread = 0.15 867 vs_tilt = 3 868 nx_distance = 18.8 869 //table () 870 SetDataFolder root:SANS_file:entry1:instrument:beam:polarizer 871 type = "supermirror" 872 composition = "multilayer" 873 efficiency = 0.95 874 status = "in" 875 SetDataFolder root:SANS_file:entry1:instrument:beam:flipper 876 status = "on" 877 driving_current = 42 878 waveform = "sine" 879 frequency = 400 880 transmitted_power = 0.99 881 SetDataFolder root:SANS_file:entry1:instrument:beam:polarizer_analyzer 882 status = "down" 883 guide_field_current_1 = 33 884 guide_field_current_2 = 32 885 solenoid_current = 21 886 cell_index = 1 887 cell_names = {"Burgundy","Olaf","Jim","Bob","Joe"} 888 cell_parameters = 1 889 SetDataFolder root:SANS_file:entry1:instrument:beam:chopper 890 type = "single" 891 rotation_speed = 12000 892 distance_from_source = 400 893 distance_from_sample = 1500 894 slits = 2 895 angular_opening = 15 896 duty_cycle = 0.25 880 vs_tilt = 3 881 nx_distance = 18.8 882 //table 883 SetDataFolder root:SANS_file:entry1:instrument:polarizer 884 type = "supermirror" 885 composition = "multilayer" 886 efficiency = 0.95 887 status = "in" 888 SetDataFolder root:SANS_file:entry1:instrument:flipper 889 status = "on" 890 driving_current = 42 891 waveform = "sine" 892 frequency = 400 893 transmitted_power = 0.99 894 SetDataFolder root:SANS_file:entry1:instrument:polarizer_analyzer 895 status = "down" 896 guide_field_current_1 = 33 897 guide_field_current_2 = 32 898 solenoid_current = 21 899 cell_index = 1 900 cell_names = {"Burgundy","Olaf","Jim","Bob","Joe"} 901 cell_parameters = 1 902 SetDataFolder root:SANS_file:entry1:instrument:chopper 903 type = "single" 904 status = "in" 905 rotation_speed = 12000 906 distance_from_source = 400 907 distance_from_sample = 1500 908 slits = 2 909 angular_opening = 15 910 duty_cycle = 0.25 897 911 SetDataFolder root:SANS_file:entry1:instrument:attenuator 898 912 nx_distance = 1500 … … 904 918 index = 1 905 919 SetDataFolder root:SANS_file:entry1:instrument:source_aperture 906 material = "Gd"920 // material = "Gd" 907 921 description = "source aperture" 908 922 diameter = 1.27 … … 911 925 size = 1.27 912 926 SetDataFolder root:SANS_file:entry1:instrument:sample_aperture 913 material = "Gd"927 // material = "Gd" 914 928 description = "sample aperture" 915 929 diameter = 1.27 … … 917 931 SetDataFolder root:SANS_file:entry1:instrument:sample_aperture:shape 918 932 size = 1.27 919 SetDataFolder root:SANS_file:entry1:instrument 920 nx_NumGuides = 1 933 SetDataFolder root:SANS_file:entry1:instrument:collimator 934 SetDataFolder root:SANS_file:entry1:instrument:collimator:geometry 935 SetDataFolder root:SANS_file:entry1:instrument:collimator:geometry:shape 936 shape = "box" 937 size = 11 938 nx_NumGuides = 1 921 939 SetDataFolder root:SANS_file:entry1:instrument:lenses 940 status = "in" 922 941 lens_geometry = "concave_lens" 923 942 focus_type = "point" … … 943 962 SetDataFolder root:SANS_file:entry1:instrument:detector 944 963 data = trunc(abs(gnoise(p+q))) 945 data_error = 0.01*abs(gnoise(p+q))964 // data_error = 0.01*abs(gnoise(p+q)) 946 965 nx_distance = 13.1 947 966 description = "Ordela 2660N" … … 953 972 beam_center_y = 62.33 954 973 type = "Ordela" 955 flatfield_applied = 0956 countrate_correction_applied = 0974 // flatfield_applied = 0 975 // countrate_correction_applied = 0 957 976 pixel_mask = 0 958 977 integrated_count = 100111222 … … 968 987 SetDataFolder root:SANS_file:entry1:data 969 988 data = trunc(abs(gnoise(p+q))) 970 error = 0.01*abs(gnoise(p+q))989 // error = 0.01*abs(gnoise(p+q)) 971 990 variables = {128,128} 972 991 data_image = p … … 995 1014 //...multiple entries and levels... to add 996 1015 1016 997 1017 SetDataFolder root: 998 1018 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/Nexus_VSANS_Write.ipf
r958 r959 70 70 Make/O/D/N=1 collection_time = 300 71 71 Make/O/T/N=1 run_cycle = "S22-23" 72 Make/O/T/N=1 program_name = "runPoint={'stuff'}"73 72 Make/O/T/N=1 data_directory = "[VSANS_VSANS]" 73 Make/O/T/N=1 program_name = "runPoint={stuff}" 74 74 NewDataFolder/O/S root:VSANS_file:entry1:user 75 75 Make/O/T/N=1 name = "Dr. Pi" … … 87 87 Make/O/D/N=1 monitor_counts = 666 88 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.0191 Make/O/D/N=1 sampled_fraction = 189 //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 92 Make/O/D/N=1 detector_counts = 100111222 93 93 Make/O/D/N=1 detector_preset = 1e5 … … 96 96 Make/O/D/N=1 count_time = 1 97 97 Make/O/D/N=1 count_time_preset = 1 98 NewDataFolder/O/S root:VSANS_file:entry1:program_data99 Make/O/T/N=1data = "program data"100 Make/O/T/N=1description = "acquisition"101 Make/O/T/N=1file_name = "NICE"102 Make/O/T/N=1type = "client"98 //NewDataFolder/O/S root:VSANS_file:entry1:program_name //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 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" 104 Make/O/T/N=1 description = "My Sample" 105 Make/O/D/N=1 group_id = 12345 106 //Make/O/T/N=1 //chemical_formula = "C8H10N4O2" 106 107 NewDataFolder/O/S root:VSANS_file:entry1:sample:temperature_1 107 108 Make/O/T/N=1 name = "Sample temperature" … … 155 156 Make/O/D/N=1 changer_position = 5 156 157 Make/O/T/N=1 sample_holder_description = "10CB" 157 Make/O/D/N=1mass = 0.3158 Make/O/D/N=1density = 1.02159 Make/O/D/N=1molecular_weight = 194.19160 Make/O/T/N=1description = "My Sample"161 Make/O/T/N=1preparation_date = "2015-02-28T08:15:30-5:00"162 Make/O/D/N=1volume_fraction = 0.2163 Make/O/D/N=1scattering_length_density = 6.35e-6158 //Make/O/D/N=1 //mass = 0.3 159 //Make/O/D/N=1 //density = 1.02 160 //Make/O/D/N=1 //molecular_weight = 194.19 161 //Make/O/T/N=1 //description = "My Sample" 162 //Make/O/T/N=1 //preparation_date = "2015-02-28T08:15:30-5:00" 163 //Make/O/D/N=1 //volume_fraction = 0.2 164 //Make/O/D/N=1 //scattering_length_density = 6.35e-6 164 165 Make/O/D/N=1 thickness = 0.1 165 166 Make/O/D/N=1 rotation_angle = 30 166 167 Make/O/D/N=1 transmission = 0.888 167 168 Make/O/D/N=1 transmission_error = 0.011 168 Make/O/D/N=1xs_incoh = 5.5169 Make/O/D/N=1xs_coh = 22.2170 Make/O/D/N=1xs_absorb = 3.1169 //Make/O/D/N=1 //xs_incoh = 5.5 170 //Make/O/D/N=1 //xs_coh = 22.2 171 //Make/O/D/N=1 //xs_absorb = 3.1 171 172 NewDataFolder/O/S root:VSANS_file:entry1:instrument 172 Make/O/T/N=1location = "NCNR"173 Make/O/T/N=1 description= "NG3-VSANS"173 //Make/O/T/N=1 //location = "NCNR" 174 Make/O/T/N=1 name = "NG3-VSANS" 174 175 Make/O/T/N=1 type = "VSANS" 175 176 Make/O/T/N=1 local_contact = "Steve Kline" … … 180 181 Make/O/D/N=1 power = 20 181 182 182 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam_monitor_ 1183 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam_monitor_norm 183 184 Make/O/D/N=1 data = 1234567 184 185 Make/O/T/N=1 type = "monitor" … … 186 187 Make/O/D/N=1 nx_distance = 16 187 188 Make/O/D/N=1 saved_count = 1e8 188 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam_monitor_ 2189 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam_monitor_low 189 190 Make/O/D/N=1 data = 1234567 190 191 Make/O/T/N=1 type = "monitor" 191 Make/O/D/N=1 efficiency = 0.0 1192 Make/O/D/N=1 efficiency = 0.001 192 193 Make/O/D/N=1 nx_distance = 16 193 194 Make/O/D/N=1 saved_count = 1e8 194 195 195 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam 196 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:monochromator 196 NewDataFolder/O/S root:VSANS_file:entry1:instrument:monochromator 197 Make/O/D/N=1 wavelength = 5.1 198 Make/O/D/N=1 wavelength_spread = 0.02 199 Make/O/T/N=1 type = "VS" 200 NewDataFolder/O/S root:VSANS_file:entry1:instrument:monochromator:velocity_selector 201 Make/O/T/N=1 status = "in" 202 Make/O/D/N=1 rotation_speed = 5100 203 Make/O/D/N=1 wavelength = 6 204 Make/O/D/N=1 wavelength_spread = 0.15 205 Make/O/D/N=1 vs_tilt = 3 206 Make/O/D/N=1 nx_distance = 18.8 207 // table (wave) 208 NewDataFolder/O/S root:VSANS_file:entry1:instrument:monochromator:crystal 209 Make/O/T/N=1 status = "in" 210 Make/O/D/N=1 nx_distance = 1 197 211 Make/O/D/N=1 wavelength = 5.1 198 212 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:chopper 225 Make/O/T/N=1 type = "single" 226 Make/O/D/N=1 rotation_speed = 12000 227 Make/O/D/N=1 distance_from_source = 400 228 Make/O/D/N=1 distance_from_sample = 1500 229 Make/O/D/N=1 slits = 2 230 Make/O/D/N=1 angular_opening = 15 231 Make/O/D/N=1 duty_cycle = 0.25 232 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:polarizer 233 Make/O/T/N=1 type = "supermirror" 234 Make/O/T/N=1 composition = "multilayer" 235 Make/O/D/N=1 efficiency = 0.95 213 Make/O/D/N=1 rotation = 1.1 214 Make/O/D/N=1 energy = 1 215 Make/O/D/N=1 wavevector = 1 216 Make/O/D/N=1 lattice_parameter = 1 217 Make/O/D/N=3 reflection = {1,2,3} 218 Make/O/D/N=1 horizontal_curvature = 1 219 Make/O/D/N=1 vertical_curvature = 1 220 Make/O/D/N=1 horizontal_aperture = 1 221 Make/O/D/N=1 vertical_aperture = 1 222 NewDataFolder/O/S root:VSANS_file:entry1:instrument:monochromator:white_beam 236 223 Make/O/T/N=1 status = "in" 237 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:flipper 238 Make/O/T/N=1 status = "on" 239 Make/O/D/N=1 driving_current = 42 240 Make/O/T/N=1 waveform = "sine" 241 Make/O/D/N=1 frequency = 400 242 Make/O/D/N=1 transmitted_power = 0.99 243 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam:polarizer_analyzer 244 Make/O/T/N=1 status = "down" 245 Make/O/D/N=1 guide_field_current_1 = 33 246 Make/O/D/N=1 guide_field_current_2 = 32 247 Make/O/D/N=1 solenoid_current = 21 248 Make/O/D/N=1 cell_index = 1 249 Make/O/T/N=(5) cell_names = {"Burgundy","Olaf","Jim","Bob","Joe"} 250 Make/O/D/N=(5,2) cell_parameters = 1 251 // +? 252 253 //ADD converging pinholes, etc 254 //converging_pinholes 255 //converging_slits 256 224 Make/O/D/N=1 wavelength = 5.1 225 Make/O/D/N=1 wavelength_spread = 0.8 226 // description_of_distribution 227 NewDataFolder/O/S root:VSANS_file:entry1:instrument:chopper 228 Make/O/T/N=1 status = "in" 229 Make/O/T/N=1 type = "single" 230 Make/O/D/N=1 rotation_speed = 12000 231 Make/O/D/N=1 distance_from_source = 400 232 Make/O/D/N=1 distance_from_sample = 1500 233 Make/O/D/N=1 slits = 2 234 Make/O/D/N=1 angular_opening = 15 235 Make/O/D/N=1 duty_cycle = 0.25 236 // +? 237 NewDataFolder/O/S root:VSANS_file:entry1:instrument:polarizer 238 Make/O/T/N=1 status = "in" 239 Make/O/T/N=1 type = "supermirror" 240 Make/O/T/N=1 composition = "multilayer" 241 Make/O/D/N=1 efficiency = 0.95 242 Make/O/T/N=1 status = "in" 243 NewDataFolder/O/S root:VSANS_file:entry1:instrument:flipper 244 Make/O/T/N=1 status = "on" 245 Make/O/D/N=1 driving_current = 42 246 Make/O/T/N=1 waveform = "sine" 247 Make/O/D/N=1 frequency = 400 248 Make/O/D/N=1 transmitted_power = 0.99 249 NewDataFolder/O/S root:VSANS_file:entry1:instrument:polarizer_analyzer 250 Make/O/T/N=1 status = "down" 251 Make/O/D/N=1 guide_field_current_1 = 33 252 Make/O/D/N=1 guide_field_current_2 = 32 253 Make/O/D/N=1 solenoid_current = 21 254 Make/O/D/N=1 cell_index = 1 255 Make/O/T/N=(5) cell_names = {"Burgundy","Olaf","Jim","Bob","Joe"} 256 Make/O/D/N=(5,2) cell_parameters = 1 257 257 258 258 NewDataFolder/O/S root:VSANS_file:entry1:instrument:attenuator … … 278 278 NewDataFolder/O/S root:VSANS_file:entry1:instrument:sample_aperture:shape 279 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 280 NewDataFolder/O/S root:VSANS_file:entry1:instrument:collimator 281 NewDataFolder/O/S root:VSANS_file:entry1:instrument:collimator:geometry 282 NewDataFolder/O/S root:VSANS_file:entry1:instrument:collimator:geometry:shape 283 Make/O/T/N=1 shape = "box" 284 Make/O/D/N=1 size = 11 285 Make/O/I/N=1 nx_NumGuides = 1 286 NewDataFolder/O/S root:VSANS_file:entry1:instrument:converging_pinholes 287 Make/O/T/N=1 status = "in" 288 NewDataFolder/O/S root:VSANS_file:entry1:instrument:converging_slits 289 Make/O/T/N=1 status = "in" 282 290 NewDataFolder/O/S root:VSANS_file:entry1:instrument:lenses 291 Make/O/T/N=1 status = "in" 283 292 Make/O/T/N=1 lens_geometry = "concave_lens" 284 293 Make/O/T/N=1 focus_type = "point" … … 294 303 Make/O/D/N=1 offset_distance = 0 295 304 NewDataFolder/O/S root:VSANS_file:entry1:instrument:beam_stop 305 Make/O/T/N=1 status = "out" 296 306 Make/O/T/N=1 description = "circular" 297 307 Make/O/D/N=1 nx_distance = 12.5 298 308 Make/O/D/N=1 size = 7.62 299 Make/O/T/N=1 status = "out"300 309 Make/O/D/N=1 xPos = 66.4 301 310 Make/O/D/N=1 yPos = 64.4 … … 305 314 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_B 306 315 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))316 //Make/O/D/N=(320,320) //data_error = 0.01*abs(gnoise(p+q)) 308 317 Make/O/D/N=1 nx_distance = 21.1 309 318 Make/O/T/N=1 description = "fancy model" … … 315 324 Make/O/D/N=1 beam_center_y = 162.33 316 325 Make/O/T/N=1 type = "??" 317 Make/O/D/N=1flatfield_applied = 0318 Make/O/D/N=1countrate_correction_applied = 0319 Make/O/D/N=( 256,256) pixel_mask = 0326 //Make/O/D/N=1 //flatfield_applied = 0 327 //Make/O/D/N=1 //countrate_correction_applied = 0 328 Make/O/D/N=(320,320) pixel_mask = 0 320 329 Make/O/I/N=1 integrated_count = 100111222 321 330 Make/O/D/N=1 lateral_offset = 20 … … 329 338 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_MR 330 339 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))340 //Make/O/D/N=(48,256) //data_error = 0.01*abs(gnoise(p+q)) 332 341 Make/O/D/N=1 nx_distance = 13.1 333 342 Make/O/T/N=1 description = "fancy model" … … 339 348 Make/O/D/N=1 beam_center_y = 62.33 340 349 Make/O/T/N=1 type = "??" 341 Make/O/D/N=1flatfield_applied = 0342 Make/O/D/N=1countrate_correction_applied = 0350 //Make/O/D/N=1 //flatfield_applied = 0 351 //Make/O/D/N=1 //countrate_correction_applied = 0 343 352 Make/O/D/N=(48,256) pixel_mask = 0 344 353 Make/O/I/N=1 integrated_count = 100111222 … … 357 366 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_ML 358 367 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))368 //Make/O/D/N=(48,256) //data_error = 0.01*abs(gnoise(p+q)) 360 369 Make/O/D/N=1 nx_distance = 13.1 361 370 Make/O/T/N=1 description = "fancy model" … … 367 376 Make/O/D/N=1 beam_center_y = 62.33 368 377 Make/O/T/N=1 type = "??" 369 Make/O/D/N=1flatfield_applied = 0370 Make/O/D/N=1countrate_correction_applied = 0378 //Make/O/D/N=1 //flatfield_applied = 0 379 //Make/O/D/N=1 //countrate_correction_applied = 0 371 380 Make/O/D/N=(48,256) pixel_mask = 0 372 381 Make/O/I/N=1 integrated_count = 100111222 … … 385 394 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_MT 386 395 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))396 //Make/O/D/N=(128,48) //data_error = 0.01*abs(gnoise(p+q)) 388 397 Make/O/D/N=1 nx_distance = 13.4 389 398 Make/O/T/N=1 description = "fancy model" … … 395 404 Make/O/D/N=1 beam_center_y = 62.33 396 405 Make/O/T/N=1 type = "??" 397 Make/O/D/N=1flatfield_applied = 0398 Make/O/D/N=1countrate_correction_applied = 0406 //Make/O/D/N=1 //flatfield_applied = 0 407 //Make/O/D/N=1 //countrate_correction_applied = 0 399 408 Make/O/D/N=(128,48) pixel_mask = 0 400 409 Make/O/I/N=1 integrated_count = 100111222 … … 414 423 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_MB 415 424 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))425 //Make/O/D/N=(128,48) //data_error = 0.01*abs(gnoise(p+q)) 417 426 Make/O/D/N=1 nx_distance = 13.4 418 427 Make/O/T/N=1 description = "fancy model" … … 424 433 Make/O/D/N=1 beam_center_y = 62.33 425 434 Make/O/T/N=1 type = "??" 426 Make/O/D/N=1flatfield_applied = 0427 Make/O/D/N=1countrate_correction_applied = 0435 //Make/O/D/N=1 //flatfield_applied = 0 436 //Make/O/D/N=1 //countrate_correction_applied = 0 428 437 Make/O/D/N=(128,48) pixel_mask = 0 429 438 Make/O/I/N=1 integrated_count = 100111222 … … 443 452 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_FR 444 453 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))454 //Make/O/D/N=(48,256) //data_error = 0.01*abs(gnoise(p+q)) 446 455 Make/O/D/N=1 nx_distance = 2.1 447 456 Make/O/T/N=1 description = "fancy model" … … 453 462 Make/O/D/N=1 beam_center_y = 62.33 454 463 Make/O/T/N=1 type = "??" 455 Make/O/D/N=1flatfield_applied = 0456 Make/O/D/N=1countrate_correction_applied = 0464 //Make/O/D/N=1 //flatfield_applied = 0 465 //Make/O/D/N=1 //countrate_correction_applied = 0 457 466 Make/O/D/N=(48,256) pixel_mask = 0 458 467 Make/O/I/N=1 integrated_count = 100111222 … … 471 480 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_FL 472 481 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))482 //Make/O/D/N=(48,256) //data_error = 0.01*abs(gnoise(p+q)) 474 483 Make/O/D/N=1 nx_distance = 2.1 475 484 Make/O/T/N=1 description = "fancy model" … … 481 490 Make/O/D/N=1 beam_center_y = 62.33 482 491 Make/O/T/N=1 type = "??" 483 Make/O/D/N=1flatfield_applied = 0484 Make/O/D/N=1countrate_correction_applied = 0492 //Make/O/D/N=1 //flatfield_applied = 0 493 //Make/O/D/N=1 //countrate_correction_applied = 0 485 494 Make/O/D/N=(48,256) pixel_mask = 0 486 495 Make/O/I/N=1 integrated_count = 100111222 … … 499 508 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_FT 500 509 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))510 //Make/O/D/N=(128,48) //data_error = 0.01*abs(gnoise(p+q)) 502 511 Make/O/D/N=1 nx_distance = 2.1 503 512 Make/O/T/N=1 description = "fancy model" … … 509 518 Make/O/D/N=1 beam_center_y = 62.33 510 519 Make/O/T/N=1 type = "??" 511 Make/O/D/N=1flatfield_applied = 0512 Make/O/D/N=1countrate_correction_applied = 0520 //Make/O/D/N=1 //flatfield_applied = 0 521 //Make/O/D/N=1 //countrate_correction_applied = 0 513 522 Make/O/D/N=(128,48) pixel_mask = 0 514 523 Make/O/I/N=1 integrated_count = 100111222 … … 528 537 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_FB 529 538 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))539 //Make/O/D/N=(128,48) //data_error = 0.01*abs(gnoise(p+q)) 531 540 Make/O/D/N=1 nx_distance = 2.1 532 541 Make/O/T/N=1 description = "fancy model" … … 538 547 Make/O/D/N=1 beam_center_y = 62.33 539 548 Make/O/T/N=1 type = "??" 540 Make/O/D/N=1flatfield_applied = 0541 Make/O/D/N=1countrate_correction_applied = 0549 //Make/O/D/N=1 //flatfield_applied = 0 550 //Make/O/D/N=1 //countrate_correction_applied = 0 542 551 Make/O/D/N=(128,48) pixel_mask = 0 543 552 Make/O/I/N=1 integrated_count = 100111222 … … 559 568 NewDataFolder/O/S root:VSANS_file:entry1:data_B 560 569 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))570 //Make/O/D/N=(320,320) //error = 0.01*abs(gnoise(p+q)) 562 571 Make/O/D/N=2 variables = {320,320} 563 572 Make/O/I/N=(320,320) data_image = p 564 573 NewDataFolder/O/S root:VSANS_file:entry1:data_MR 565 574 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))575 //Make/O/D/N=(48,256) //error = 0.01*abs(gnoise(p+q)) 567 576 Make/O/D/N=2 variables = {48,256} 568 577 Make/O/I/N=(48,256) data_image = p 569 578 NewDataFolder/O/S root:VSANS_file:entry1:data_ML 570 579 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))580 //Make/O/D/N=(48,256) //error = 0.01*abs(gnoise(p+q)) 572 581 Make/O/D/N=2 variables = {48,256} 573 582 Make/O/I/N=(48,256) data_image = p 574 583 NewDataFolder/O/S root:VSANS_file:entry1:data_MT 575 584 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))585 //Make/O/D/N=(128,48) //error = 0.01*abs(gnoise(p+q)) 577 586 Make/O/D/N=2 variables = {128,48} 578 587 Make/O/I/N=(128,48) data_image = p 579 588 NewDataFolder/O/S root:VSANS_file:entry1:data_MB 580 589 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))590 //Make/O/D/N=(128,48) //error = 0.01*abs(gnoise(p+q)) 582 591 Make/O/D/N=2 variables = {128,48} 583 592 Make/O/I/N=(128,48) data_image = p 584 593 NewDataFolder/O/S root:VSANS_file:entry1:data_FR 585 594 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))595 //Make/O/D/N=(48,256) //error = 0.01*abs(gnoise(p+q)) 587 596 Make/O/D/N=2 variables = {48,256} 588 597 Make/O/I/N=(48,256) data_image = p 589 598 NewDataFolder/O/S root:VSANS_file:entry1:data_FL 590 599 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))600 //Make/O/D/N=(48,256) //error = 0.01*abs(gnoise(p+q)) 592 601 Make/O/D/N=2 variables = {48,256} 593 602 Make/O/I/N=(48,256) data_image = p 594 603 NewDataFolder/O/S root:VSANS_file:entry1:data_FT 595 604 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))605 //Make/O/D/N=(128,48) //error = 0.01*abs(gnoise(p+q)) 597 606 Make/O/D/N=2 variables = {128,48} 598 607 Make/O/I/N=(128,48) data_image = p 599 608 NewDataFolder/O/S root:VSANS_file:entry1:data_FB 600 609 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))610 //Make/O/D/N=(128,48) //error = 0.01*abs(gnoise(p+q)) 602 611 Make/O/D/N=2 variables = {128,48} 603 612 Make/O/I/N=(128,48) data_image = p … … 630 639 631 640 641 632 642 SetDataFolder root: 633 643 … … 637 647 Proc H_Fill_VSANS_Attributes() 638 648 639 SetDataFolder root:VSANS_file 649 SetDataFolder root:VSANS_file 640 650 Make/O/N=0 Igor___folder_attributes 641 651 Note/K Igor___folder_attributes, "producer=IgorPro\rNX_class=NXroot" 642 // file_name643 // file_time644 // facility645 // NeXus_version646 // hdf_version647 // file_history652 // file_name 653 // file_time 654 // facility 655 // NeXus_version 656 // hdf_version 657 // file_history 648 658 SetDataFolder root:VSANS_file:entry1 649 659 Make/O/N=0 Igor___folder_attributes 650 660 Note/K Igor___folder_attributes, "NX_class=NXentry" 651 // title652 // experiment_identifier653 // experiment_description654 // entry_identifier655 // definition656 // start_time657 // end_time658 // duration661 // title 662 // experiment_identifier 663 // experiment_description 664 // entry_identifier 665 // definition 666 // start_time 667 // end_time 668 // duration 659 669 Note/K duration, "units=s" 660 // collection_time670 // collection_time 661 671 Note/K collection_time, "units=s" 662 // run_cycle663 // program_name664 // data_directory672 // run_cycle 673 // data_directory 674 // program_name 665 675 SetDataFolder root:VSANS_file:entry1:user 666 676 Make/O/N=0 Igor___folder_attributes 667 677 Note/K Igor___folder_attributes, "NX_class=NXuser" 668 // name669 // role670 // affiliation671 // address672 // telephoneNumber673 // faxNumber674 // email675 // facility_user_id678 // name 679 // role 680 // affiliation 681 // address 682 // telephoneNumber 683 // faxNumber 684 // email 685 // facility_user_id 676 686 SetDataFolder root:VSANS_file:entry1:control 677 687 Make/O/N=0 Igor___folder_attributes 678 688 Note/K Igor___folder_attributes, "NX_class=NXmonitor" 679 // mode680 // preset681 // integral682 // monitor_counts683 // monitor_preset684 // type685 // efficiency686 // sampled_fraction687 // detector_counts688 // detector_preset689 // count_start 689 // mode 690 // preset 691 // integral 692 // monitor_counts 693 // monitor_preset 694 //// type 695 //// efficiency 696 //// sampled_fraction 697 // detector_counts 698 // detector_preset 699 // count_start 690 700 Note/K count_start, "units=s" 691 // count_end 701 // count_end 692 702 Note/K count_end, "units=s" 693 // count_time 703 // count_time 694 704 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_data698 // data699 // description700 // file_name701 // type705 // count_time_preset 706 Note/K count_time_preset, "units=s" 707 //SetDataFolder root:VSANS_file:entry1:program_name //program_data 708 //// //data 709 //// //description 710 //// //file_name 711 //// //type 702 712 SetDataFolder root:VSANS_file:entry1:sample 703 713 Make/O/N=0 Igor___folder_attributes 704 714 Note/K Igor___folder_attributes, "NX_class=NXsample" 705 //name 706 //chemical_formula 715 // description 716 // group_id 717 //// //chemical_formula 707 718 SetDataFolder root:VSANS_file:entry1:sample:temperature_1 708 719 Make/O/N=0 Igor___folder_attributes 709 720 Note/K Igor___folder_attributes, "NX_class=NXsensor" 710 // name711 // attached_to712 // measurement721 // name 722 // attached_to 723 // measurement 713 724 SetDataFolder root:VSANS_file:entry1:sample:temperature_1:value_log 714 725 Make/O/N=0 Igor___folder_attributes 715 726 Note/K Igor___folder_attributes, "NX_class=NXlog" 716 // start717 // nx_time727 // start 728 // nx_time 718 729 Note/K nx_time, "units=s" 719 // value730 // value 720 731 Note/K value, "units=C" 721 732 SetDataFolder root:VSANS_file:entry1:sample:temperature_2 722 733 Make/O/N=0 Igor___folder_attributes 723 734 Note/K Igor___folder_attributes, "NX_class=NXsensor" 724 // name725 // attached_to726 // measurement735 // name 736 // attached_to 737 // measurement 727 738 SetDataFolder root:VSANS_file:entry1:sample:temperature_2:value_log 728 739 Make/O/N=0 Igor___folder_attributes 729 740 Note/K Igor___folder_attributes, "NX_class=NXlog" 730 // start731 // nx_time741 // start 742 // nx_time 732 743 Note/K nx_time, "units=s" 733 // value744 // value 734 745 Note/K value, "units=C" 735 746 SetDataFolder root:VSANS_file:entry1:sample:electric_field 736 747 Make/O/N=0 Igor___folder_attributes 737 748 Note/K Igor___folder_attributes, "NX_class=NXsensor" 738 // name739 // attached_to740 // measurement749 // name 750 // attached_to 751 // measurement 741 752 SetDataFolder root:VSANS_file:entry1:sample:electric_field:value_log 742 753 Make/O/N=0 Igor___folder_attributes 743 754 Note/K Igor___folder_attributes, "NX_class=NXlog" 744 // start745 // nx_time755 // start 756 // nx_time 746 757 Note/K nx_time, "units=s" 747 // value758 // value 748 759 Note/K value, "units=V" 749 760 SetDataFolder root:VSANS_file:entry1:sample:shear_field 750 761 Make/O/N=0 Igor___folder_attributes 751 762 Note/K Igor___folder_attributes, "NX_class=NXsensor" 752 // name753 // attached_to754 // measurement763 // name 764 // attached_to 765 // measurement 755 766 SetDataFolder root:VSANS_file:entry1:sample:shear_field:value_log 756 767 Make/O/N=0 Igor___folder_attributes 757 768 Note/K Igor___folder_attributes, "NX_class=NXlog" 758 // start759 // nx_time769 // start 770 // nx_time 760 771 Note/K nx_time, "units=s" 761 // value772 // value 762 773 Note/K value, "units=Pa s" 763 774 SetDataFolder root:VSANS_file:entry1:sample:pressure 764 775 Make/O/N=0 Igor___folder_attributes 765 776 Note/K Igor___folder_attributes, "NX_class=NXsensor" 766 // name767 // attached_to768 // measurement777 // name 778 // attached_to 779 // measurement 769 780 SetDataFolder root:VSANS_file:entry1:sample:pressure:value_log 770 781 Make/O/N=0 Igor___folder_attributes 771 782 Note/K Igor___folder_attributes, "NX_class=NXlog" 772 // start773 // nx_time783 // start 784 // nx_time 774 785 Note/K nx_time, "units=s" 775 // value786 // value 776 787 Note/K value, "units=psi" 777 788 SetDataFolder root:VSANS_file:entry1:sample:magnetic_field 778 789 Make/O/N=0 Igor___folder_attributes 779 790 Note/K Igor___folder_attributes, "NX_class=NXsensor" 780 // name781 // attached_to782 // measurement791 // name 792 // attached_to 793 // measurement 783 794 SetDataFolder root:VSANS_file:entry1:sample:magnetic_field:value_log 784 795 Make/O/N=0 Igor___folder_attributes 785 796 Note/K Igor___folder_attributes, "NX_class=NXlog" 786 // start787 // nx_time797 // start 798 // nx_time 788 799 Note/K nx_time, "units=s" 789 // value800 // value 790 801 Note/K value, "units=T" 791 802 SetDataFolder root:VSANS_file:entry1:sample 792 // changer_position793 // sample_holder_description794 // mass795 Note/K mass, "units=g"796 // density797 Note/K density, "units=g ml-1"798 // molecular_weight799 Note/K molecular_weight, "units=g mol-1"800 // description801 // preparation_date802 // volume_fraction803 // scattering_length_density804 Note/K scattering_length_density, "units=A-2"805 // thickness806 Note/K thickness, "units=cm"807 // rotation_angle808 Note/K rotation_angle, "units=degrees"809 // transmission810 // transmission_error811 // xs_incoh812 Note/K xs_incoh, "units=cm-1"813 // xs_coh814 Note/K xs_coh, "units=cm-1"815 // xs_absorb816 Note/K xs_absorb, "units=cm-1"803 // changer_position 804 // sample_holder_description 805 //// //mass 806 //Note/K mass, "units=g" 807 //// //density 808 //Note/K density, "units=g ml-1" 809 //// //molecular_weight 810 //Note/K molecular_weight, "units=g mol-1" 811 //// //description 812 //// //preparation_date 813 //// //volume_fraction 814 //// //scattering_length_density 815 //Note/K scattering_length_density, "units=A-2" 816 // thickness 817 Note/K thickness, "units=cm" 818 // rotation_angle 819 Note/K rotation_angle, "units=degrees" 820 // transmission 821 // transmission_error 822 //// //xs_incoh 823 //Note/K xs_incoh, "units=cm-1" 824 //// //xs_coh 825 //Note/K xs_coh, "units=cm-1" 826 //// //xs_absorb 827 //Note/K xs_absorb, "units=cm-1" 817 828 SetDataFolder root:VSANS_file:entry1:instrument 818 829 Make/O/N=0 Igor___folder_attributes 819 830 Note/K Igor___folder_attributes, "NX_class=NXinstrument" 820 // location821 // description822 // type823 // local_contact831 //// //location 832 // name 833 // type 834 // local_contact 824 835 SetDataFolder root:VSANS_file:entry1:instrument:source 825 836 Make/O/N=0 Igor___folder_attributes 826 837 Note/K Igor___folder_attributes, "NX_class=NXsource" 827 // name828 // type829 // probe830 // power838 // name 839 // type 840 // probe 841 // power 831 842 Note/K power, "units=MW" 832 843 833 SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_ 1844 SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_norm 834 845 Make/O/N=0 Igor___folder_attributes 835 846 Note/K Igor___folder_attributes, "NX_class=NXmonitor" 836 // data837 // type838 // efficiency839 // nx_distance847 // data 848 // type 849 // efficiency 850 // nx_distance 840 851 Note/K nx_distance, "units=m" 841 // saved_count842 SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_ 2852 // saved_count 853 SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_low 843 854 Make/O/N=0 Igor___folder_attributes 844 855 Note/K Igor___folder_attributes, "NX_class=NXmonitor" 845 // data846 // type847 // efficiency848 // nx_distance856 // data 857 // type 858 // efficiency 859 // nx_distance 849 860 Note/K nx_distance, "units=m" 850 // saved_count861 // saved_count 851 862 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 863 SetDataFolder root:VSANS_file:entry1:instrument:monochromator 864 Make/O/N=0 Igor___folder_attributes 865 Note/K Igor___folder_attributes, "NX_class=NXmonochromator" 866 // wavelength 867 Note/K wavelength, "units=A" 868 // wavelength_spread 869 // type 870 SetDataFolder root:VSANS_file:entry1:instrument:monochromator:velocity_selector 856 871 Make/O/N=0 Igor___folder_attributes 857 Note/K Igor___folder_attributes, "NX_class=NXmonochromator" 858 //wavelength 872 Note/K Igor___folder_attributes, "NX_class=NXvelocity_selector" 873 // status 874 // rotation_speed 875 Note/K rotation_speed, "units=RPM" 876 // wavelength 859 877 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:chopper 878 // wavelength_spread 879 // vs_tilt 880 Note/K vs_tilt, "units=degrees" 881 // nx_distance 882 Note/K nx_distance, "units=m" 883 // table (wave) 884 SetDataFolder root:VSANS_file:entry1:instrument:monochromator:crystal 901 885 Make/O/N=0 Igor___folder_attributes 902 Note/K Igor___folder_attributes, "NX_class=NXdisk_chopper" 903 //type 904 //rotation_speed 905 Note/K rotation_speed, "units=RPM" 906 //distance_from_source 907 Note/K distance_from_source, "units=m" 908 //distance_from_sample 909 Note/K distance_from_sample, "units=m" 910 //slits 911 //angular_opening 912 Note/K angular_opening, "units=degrees" 913 //duty_cycle 914 SetDataFolder root:VSANS_file:entry1:instrument:beam:polarizer 915 //type 916 //composition 917 //efficiency 918 //status 919 SetDataFolder root:VSANS_file:entry1:instrument:beam:flipper 920 //status 921 //driving_current 922 Note/K driving_current, "units=A" 923 //waveform 924 //frequency 925 Note/K frequency, "units=Hz" 926 //transmitted_power 927 SetDataFolder root:VSANS_file:entry1:instrument:beam:polarizer_analyzer 928 //status 929 //guide_field_current_1 930 Note/K guide_field_current_1, "units=A" 931 //guide_field_current_2 932 Note/K guide_field_current_2, "units=A" 933 //solenoid_current 934 Note/K solenoid_current, "units=A" 935 //cell_index 936 //cell_names 937 //cell_parameters 938 939 // +? 940 941 // ADD converging pinholes, etc 942 // converging_pinholes 943 // converging_slits 944 886 Note/K Igor___folder_attributes, "NX_class=NXcrystal" 887 // status 888 // nx_distance 889 Note/K nx_distance, "units=m" 890 // wavelength 891 Note/K wavelength, "units=A" 892 // wavelength_spread 893 // rotation 894 Note/K rotation, "units=degrees" 895 // energy 896 Note/K energy, "units=mV" 897 // wavevector 898 Note/K wavevector, "units=A-1" 899 // lattice_parameter 900 // reflection 901 // horizontal_curvature 902 // vertical_curvature 903 // horizontal_aperture 904 // vertical_aperture 905 SetDataFolder root:VSANS_file:entry1:instrument:monochromator:white_beam 906 // status 907 // wavelength 908 Note/K wavelength, "units=A" 909 // wavelength_spread 910 // description_of_distribution 911 SetDataFolder root:VSANS_file:entry1:instrument:chopper 912 Make/O/N=0 Igor___folder_attributes 913 Note/K Igor___folder_attributes, "NX_class=NXdisk_chopper" 914 // status 915 // type 916 // rotation_speed 917 Note/K rotation_speed, "units=RPM" 918 // distance_from_source 919 Note/K distance_from_source, "units=m" 920 // distance_from_sample 921 Note/K distance_from_sample, "units=m" 922 // slits 923 // angular_opening 924 Note/K angular_opening, "units=degrees" 925 // duty_cycle 926 // +? 927 SetDataFolder root:VSANS_file:entry1:instrument:polarizer 928 // status 929 // type 930 // composition 931 // efficiency 932 // status 933 SetDataFolder root:VSANS_file:entry1:instrument:flipper 934 // status 935 // driving_current 936 Note/K driving_current, "units=A" 937 // waveform 938 // frequency 939 Note/K frequency, "units=Hz" 940 // transmitted_power 941 SetDataFolder root:VSANS_file:entry1:instrument:polarizer_analyzer 942 // status 943 // guide_field_current_1 944 Note/K guide_field_current_1, "units=A" 945 // guide_field_current_2 946 Note/K guide_field_current_2, "units=A" 947 // solenoid_current 948 Note/K solenoid_current, "units=A" 949 // cell_index 950 // cell_names 951 // cell_parameters 945 952 946 953 SetDataFolder root:VSANS_file:entry1:instrument:attenuator 947 954 Make/O/N=0 Igor___folder_attributes 948 955 Note/K Igor___folder_attributes, "NX_class=NXattenuator" 949 // nx_distance956 // nx_distance 950 957 Note/K nx_distance, "units=m" 951 // type952 // thickness958 // type 959 // thickness 953 960 Note/K thickness, "units=cm" 954 // attenuator_transmission955 // status956 // atten_number957 // index961 // attenuator_transmission 962 // status 963 // atten_number 964 // index 958 965 SetDataFolder root:VSANS_file:entry1:instrument:source_aperture 959 966 Make/O/N=0 Igor___folder_attributes 960 967 Note/K Igor___folder_attributes, "NX_class=NXaperture" 961 // material962 // description963 // diameter968 // material 969 // description 970 // diameter 964 971 Note/K diameter, "units=cm" 965 // nx_distance972 // nx_distance 966 973 Note/K nx_distance, "units=m" 967 974 SetDataFolder root:VSANS_file:entry1:instrument:source_aperture:shape 968 975 Make/O/N=0 Igor___folder_attributes 969 976 Note/K Igor___folder_attributes, "NX_class=NXshape" 970 // size977 // size 971 978 Note/K size, "units=cm" 972 979 SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture 973 980 Make/O/N=0 Igor___folder_attributes 974 981 Note/K Igor___folder_attributes, "NX_class=NXaperture" 975 // material976 // description977 // diameter982 // material 983 // description 984 // diameter 978 985 Note/K diameter, "units=cm" 979 // nx_distance986 // nx_distance 980 987 Note/K nx_distance, "units=m" 981 988 SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture:shape 982 989 Make/O/N=0 Igor___folder_attributes 983 990 Note/K Igor___folder_attributes, "NX_class=NXshape" 984 // size991 // size 985 992 Note/K size, "units=cm" 986 SetDataFolder root:VSANS_file:entry1:instrument: 987 //nx_NumGuides 993 SetDataFolder root:VSANS_file:entry1:instrument:collimator 994 SetDataFolder root:VSANS_file:entry1:instrument:collimator:geometry 995 SetDataFolder root:VSANS_file:entry1:instrument:collimator:geometry:shape 996 // shape 997 // size 998 Note/K size, "units=m" 999 // nx_NumGuides 1000 SetDataFolder root:VSANS_file:entry1:instrument:converging_pinholes 1001 // status 1002 SetDataFolder root:VSANS_file:entry1:instrument:converging_slits 1003 // status 988 1004 SetDataFolder root:VSANS_file:entry1:instrument:lenses 989 1005 Make/O/N=0 Igor___folder_attributes 990 1006 Note/K Igor___folder_attributes, "NX_class=NXxraylens" 991 //lens_geometry 992 //focus_type 993 //number_of_lenses 994 //number_of_prisms 995 //curvature 996 //lens_distance 1007 // status 1008 // lens_geometry 1009 // focus_type 1010 // number_of_lenses 1011 // number_of_prisms 1012 // curvature 1013 // lens_distance 997 1014 Note/K lens_distance, "units=m" 998 // prism_distance1015 // prism_distance 999 1016 Note/K prism_distance, "units=m" 1000 // lens_material1001 // prism_material1017 // lens_material 1018 // prism_material 1002 1019 SetDataFolder root:VSANS_file:entry1:instrument:sample_table 1003 // location1004 // offset_distance1020 // location 1021 // offset_distance 1005 1022 Note/K offset_distance, "units=m" 1006 1023 SetDataFolder root:VSANS_file:entry1:instrument:beam_stop 1007 1024 Make/O/N=0 Igor___folder_attributes 1008 1025 Note/K Igor___folder_attributes, "NX_class=NXbeam_stop" 1009 //description 1010 //nx_distance 1026 // status 1027 // description 1028 // nx_distance 1011 1029 Note/K nx_distance, "units=m" 1012 // size1030 // size 1013 1031 Note/K size, "units=cm" 1014 //status 1015 //xPos 1016 //yPos 1017 //x_motor_position 1032 // xPos 1033 // yPos 1034 // x_motor_position 1018 1035 Note/K x_motor_position, "units=cm" 1019 // y_motor_position1036 // y_motor_position 1020 1037 Note/K y_motor_position, "units=cm" 1021 1038 … … 1023 1040 Make/O/N=0 Igor___folder_attributes 1024 1041 Note/K Igor___folder_attributes, "NX_class=NXdetector" 1025 // data1026 // data_error1027 // nx_distance1042 // data 1043 //// //data_error 1044 // nx_distance 1028 1045 Note/K nx_distance, "units=m" 1029 // description1030 // settings1031 // dead_time1046 // description 1047 // settings 1048 // dead_time 1032 1049 Note/K dead_time, "units=s" 1033 // x_pixel_size1050 // x_pixel_size 1034 1051 Note/K x_pixel_size, "units=cm" 1035 // y_pixel_size1052 // y_pixel_size 1036 1053 Note/K y_pixel_size, "units=cm" 1037 // beam_center_x1038 // beam_center_y1039 // type1040 // flatfield_applied1041 // countrate_correction_applied1042 // pixel_mask1043 // integrated_count1044 // lateral_offset1054 // beam_center_x 1055 // beam_center_y 1056 // type 1057 //// //flatfield_applied 1058 //// //countrate_correction_applied 1059 // pixel_mask 1060 // integrated_count 1061 // lateral_offset 1045 1062 Note/K lateral_offset, "units=cm" 1046 // PixelNumX1047 // PixelNumY1048 // PixelFWHM1049 // CALX1050 // CALY1051 // size1063 // PixelNumX 1064 // PixelNumY 1065 // PixelFWHM 1066 // CALX 1067 // CALY 1068 // size 1052 1069 Note/K size, "units=cm" 1053 // event_file_name1070 // event_file_name 1054 1071 SetDataFolder root:VSANS_file:entry1:instrument:detector_MR 1055 1072 Make/O/N=0 Igor___folder_attributes 1056 1073 Note/K Igor___folder_attributes, "NX_class=NXdetector" 1057 // data1058 // data_error1059 // nx_distance1074 // data 1075 //// //data_error 1076 // nx_distance 1060 1077 Note/K nx_distance, "units=m" 1061 // description1062 // settings1063 // dead_time1078 // description 1079 // settings 1080 // dead_time 1064 1081 Note/K dead_time, "units=s" 1065 // x_pixel_size1082 // x_pixel_size 1066 1083 Note/K x_pixel_size, "units=cm" 1067 // y_pixel_size1084 // y_pixel_size 1068 1085 Note/K y_pixel_size, "units=cm" 1069 // beam_center_x1070 // beam_center_y1071 // type1072 // flatfield_applied1073 // countrate_correction_applied1074 // pixel_mask1075 // integrated_count1076 // lateral_offset1086 // beam_center_x 1087 // beam_center_y 1088 // type 1089 //// //flatfield_applied 1090 //// //countrate_correction_applied 1091 // pixel_mask 1092 // integrated_count 1093 // lateral_offset 1077 1094 Note/K lateral_offset, "units=cm" 1078 // separation1095 // separation 1079 1096 Note/K separation, "units=cm" 1080 // PixelNumX1081 // PixelNumY1082 // PixelFWHM1083 // size1097 // PixelNumX 1098 // PixelNumY 1099 // PixelFWHM 1100 // size 1084 1101 Note/K size, "units=cm" 1085 // event_file_name1086 // tube_orientation1087 // number_of_tubes1088 // tube_index1089 // spatial_calibration1090 // tube_width1102 // event_file_name 1103 // tube_orientation 1104 // number_of_tubes 1105 // tube_index 1106 // spatial_calibration 1107 // tube_width 1091 1108 Note/K tube_width, "units=cm" 1092 1109 SetDataFolder root:VSANS_file:entry1:instrument:detector_ML 1093 1110 Make/O/N=0 Igor___folder_attributes 1094 1111 Note/K Igor___folder_attributes, "NX_class=NXdetector" 1095 // data1096 // data_error1097 // nx_distance1112 // data 1113 //// //data_error 1114 // nx_distance 1098 1115 Note/K nx_distance, "units=m" 1099 // description1100 // settings1101 // dead_time1116 // description 1117 // settings 1118 // dead_time 1102 1119 Note/K dead_time, "units=s" 1103 // x_pixel_size1120 // x_pixel_size 1104 1121 Note/K x_pixel_size, "units=cm" 1105 // y_pixel_size1122 // y_pixel_size 1106 1123 Note/K y_pixel_size, "units=cm" 1107 // beam_center_x1108 // beam_center_y1109 // type1110 // flatfield_applied1111 // countrate_correction_applied1112 // pixel_mask1113 // integrated_count1114 // lateral_offset1124 // beam_center_x 1125 // beam_center_y 1126 // type 1127 //// //flatfield_applied 1128 //// //countrate_correction_applied 1129 // pixel_mask 1130 // integrated_count 1131 // lateral_offset 1115 1132 Note/K lateral_offset, "units=cm" 1116 // separation1133 // separation 1117 1134 Note/K separation, "units=cm" 1118 // PixelNumX1119 // PixelNumY1120 // PixelFWHM1121 // size1135 // PixelNumX 1136 // PixelNumY 1137 // PixelFWHM 1138 // size 1122 1139 Note/K size, "units=cm" 1123 // event_file_name1124 // tube_orientation1125 // number_of_tubes1126 // tube_index1127 // spatial_calibration1128 // tube_width1140 // event_file_name 1141 // tube_orientation 1142 // number_of_tubes 1143 // tube_index 1144 // spatial_calibration 1145 // tube_width 1129 1146 Note/K tube_width, "units=cm" 1130 1147 SetDataFolder root:VSANS_file:entry1:instrument:detector_MT 1131 1148 Make/O/N=0 Igor___folder_attributes 1132 1149 Note/K Igor___folder_attributes, "NX_class=NXdetector" 1133 // data1134 // data_error1135 // nx_distance1150 // data 1151 //// //data_error 1152 // nx_distance 1136 1153 Note/K nx_distance, "units=m" 1137 // description1138 // settings1139 // dead_time1154 // description 1155 // settings 1156 // dead_time 1140 1157 Note/K dead_time, "units=s" 1141 // x_pixel_size1158 // x_pixel_size 1142 1159 Note/K x_pixel_size, "units=cm" 1143 // y_pixel_size1160 // y_pixel_size 1144 1161 Note/K y_pixel_size, "units=cm" 1145 // beam_center_x1146 // beam_center_y1147 // type1148 // flatfield_applied1149 // countrate_correction_applied1150 // pixel_mask1151 // integrated_count1152 // lateral_offset1162 // beam_center_x 1163 // beam_center_y 1164 // type 1165 //// //flatfield_applied 1166 //// //countrate_correction_applied 1167 // pixel_mask 1168 // integrated_count 1169 // lateral_offset 1153 1170 Note/K lateral_offset, "units=cm" 1154 // sdd_offset1171 // sdd_offset 1155 1172 Note/K sdd_offset, "units=cm" 1156 // separation1173 // separation 1157 1174 Note/K separation, "units=cm" 1158 // PixelNumX1159 // PixelNumY1160 // PixelFWHM1161 // size1175 // PixelNumX 1176 // PixelNumY 1177 // PixelFWHM 1178 // size 1162 1179 Note/K size, "units=cm" 1163 // event_file_name1164 // tube_orientation1165 // number_of_tubes1166 // tube_index1167 // spatial_calibration1168 // tube_width1180 // event_file_name 1181 // tube_orientation 1182 // number_of_tubes 1183 // tube_index 1184 // spatial_calibration 1185 // tube_width 1169 1186 Note/K tube_width, "units=cm" 1170 1187 SetDataFolder root:VSANS_file:entry1:instrument:detector_MB 1171 1188 Make/O/N=0 Igor___folder_attributes 1172 1189 Note/K Igor___folder_attributes, "NX_class=NXdetector" 1173 // data1174 // data_error1175 // nx_distance1190 // data 1191 //// //data_error 1192 // nx_distance 1176 1193 Note/K nx_distance, "units=m" 1177 // description1178 // settings1179 // dead_time1194 // description 1195 // settings 1196 // dead_time 1180 1197 Note/K dead_time, "units=s" 1181 // x_pixel_size1198 // x_pixel_size 1182 1199 Note/K x_pixel_size, "units=cm" 1183 // y_pixel_size1200 // y_pixel_size 1184 1201 Note/K y_pixel_size, "units=cm" 1185 // beam_center_x1186 // beam_center_y1187 // type1188 // flatfield_applied1189 // countrate_correction_applied1190 // pixel_mask1191 // integrated_count1192 // lateral_offset1202 // beam_center_x 1203 // beam_center_y 1204 // type 1205 //// //flatfield_applied 1206 //// //countrate_correction_applied 1207 // pixel_mask 1208 // integrated_count 1209 // lateral_offset 1193 1210 Note/K lateral_offset, "units=cm" 1194 // sdd_offset1211 // sdd_offset 1195 1212 Note/K sdd_offset, "units=cm" 1196 // separation1213 // separation 1197 1214 Note/K separation, "units=cm" 1198 // PixelNumX1199 // PixelNumY1200 // PixelFWHM1201 // size1215 // PixelNumX 1216 // PixelNumY 1217 // PixelFWHM 1218 // size 1202 1219 Note/K size, "units=cm" 1203 // event_file_name1204 // tube_orientation1205 // number_of_tubes1206 // tube_index1207 // spatial_calibration1208 // tube_width1220 // event_file_name 1221 // tube_orientation 1222 // number_of_tubes 1223 // tube_index 1224 // spatial_calibration 1225 // tube_width 1209 1226 Note/K tube_width, "units=cm" 1210 1227 SetDataFolder root:VSANS_file:entry1:instrument:detector_FR 1211 1228 Make/O/N=0 Igor___folder_attributes 1212 1229 Note/K Igor___folder_attributes, "NX_class=NXdetector" 1213 // data1214 // data_error1215 // nx_distance1230 // data 1231 //// //data_error 1232 // nx_distance 1216 1233 Note/K nx_distance, "units=m" 1217 // description1218 // settings1219 // dead_time1234 // description 1235 // settings 1236 // dead_time 1220 1237 Note/K dead_time, "units=s" 1221 // x_pixel_size1238 // x_pixel_size 1222 1239 Note/K x_pixel_size, "units=cm" 1223 // y_pixel_size1240 // y_pixel_size 1224 1241 Note/K y_pixel_size, "units=cm" 1225 // beam_center_x1226 // beam_center_y1227 // type1228 // flatfield_applied1229 // countrate_correction_applied1230 // pixel_mask1231 // integrated_count1232 // lateral_offset1242 // beam_center_x 1243 // beam_center_y 1244 // type 1245 //// //flatfield_applied 1246 //// //countrate_correction_applied 1247 // pixel_mask 1248 // integrated_count 1249 // lateral_offset 1233 1250 Note/K lateral_offset, "units=cm" 1234 // separation1251 // separation 1235 1252 Note/K separation, "units=cm" 1236 // PixelNumX1237 // PixelNumY1238 // PixelFWHM1239 // size1253 // PixelNumX 1254 // PixelNumY 1255 // PixelFWHM 1256 // size 1240 1257 Note/K size, "units=cm" 1241 // event_file_name1242 // tube_orientation1243 // number_of_tubes1244 // tube_index1245 // spatial_calibration1246 // tube_width1258 // event_file_name 1259 // tube_orientation 1260 // number_of_tubes 1261 // tube_index 1262 // spatial_calibration 1263 // tube_width 1247 1264 Note/K tube_width, "units=cm" 1248 1265 SetDataFolder root:VSANS_file:entry1:instrument:detector_FL 1249 1266 Make/O/N=0 Igor___folder_attributes 1250 1267 Note/K Igor___folder_attributes, "NX_class=NXdetector" 1251 // data1252 // data_error1253 // nx_distance1268 // data 1269 //// //data_error 1270 // nx_distance 1254 1271 Note/K nx_distance, "units=m" 1255 // description1256 // settings1257 // dead_time1272 // description 1273 // settings 1274 // dead_time 1258 1275 Note/K dead_time, "units=s" 1259 // x_pixel_size1276 // x_pixel_size 1260 1277 Note/K x_pixel_size, "units=cm" 1261 // y_pixel_size1278 // y_pixel_size 1262 1279 Note/K y_pixel_size, "units=cm" 1263 // beam_center_x1264 // beam_center_y1265 // type1266 // flatfield_applied1267 // countrate_correction_applied1268 // pixel_mask1269 // integrated_count1270 // lateral_offset1280 // beam_center_x 1281 // beam_center_y 1282 // type 1283 //// //flatfield_applied 1284 //// //countrate_correction_applied 1285 // pixel_mask 1286 // integrated_count 1287 // lateral_offset 1271 1288 Note/K lateral_offset, "units=cm" 1272 // separation1289 // separation 1273 1290 Note/K separation, "units=cm" 1274 // PixelNumX1275 // PixelNumY1276 // PixelFWHM1277 // size1291 // PixelNumX 1292 // PixelNumY 1293 // PixelFWHM 1294 // size 1278 1295 Note/K size, "units=cm" 1279 // event_file_name1280 // tube_orientation1281 // number_of_tubes1282 // tube_index1283 // spatial_calibration1284 // tube_width1296 // event_file_name 1297 // tube_orientation 1298 // number_of_tubes 1299 // tube_index 1300 // spatial_calibration 1301 // tube_width 1285 1302 Note/K tube_width, "units=cm" 1286 1303 SetDataFolder root:VSANS_file:entry1:instrument:detector_FT 1287 1304 Make/O/N=0 Igor___folder_attributes 1288 1305 Note/K Igor___folder_attributes, "NX_class=NXdetector" 1289 // data1290 // data_error1291 // nx_distance1306 // data 1307 //// //data_error 1308 // nx_distance 1292 1309 Note/K nx_distance, "units=m" 1293 // description1294 // settings1295 // dead_time1310 // description 1311 // settings 1312 // dead_time 1296 1313 Note/K dead_time, "units=s" 1297 // x_pixel_size1314 // x_pixel_size 1298 1315 Note/K x_pixel_size, "units=cm" 1299 // y_pixel_size1316 // y_pixel_size 1300 1317 Note/K y_pixel_size, "units=cm" 1301 // beam_center_x1302 // beam_center_y1303 // type1304 // flatfield_applied1305 // countrate_correction_applied1306 // pixel_mask1307 // integrated_count1308 // lateral_offset1318 // beam_center_x 1319 // beam_center_y 1320 // type 1321 //// //flatfield_applied 1322 //// //countrate_correction_applied 1323 // pixel_mask 1324 // integrated_count 1325 // lateral_offset 1309 1326 Note/K lateral_offset, "units=cm" 1310 // sdd_offset1327 // sdd_offset 1311 1328 Note/K sdd_offset, "units=cm" 1312 // separation1329 // separation 1313 1330 Note/K separation, "units=cm" 1314 // PixelNumX1315 // PixelNumY1316 // PixelFWHM1317 // size1331 // PixelNumX 1332 // PixelNumY 1333 // PixelFWHM 1334 // size 1318 1335 Note/K size, "units=cm" 1319 // event_file_name1320 // tube_orientation1321 // number_of_tubes1322 // tube_index1323 // spatial_calibration1324 // tube_width1336 // event_file_name 1337 // tube_orientation 1338 // number_of_tubes 1339 // tube_index 1340 // spatial_calibration 1341 // tube_width 1325 1342 Note/K tube_width, "units=cm" 1326 1343 SetDataFolder root:VSANS_file:entry1:instrument:detector_FB 1327 1344 Make/O/N=0 Igor___folder_attributes 1328 1345 Note/K Igor___folder_attributes, "NX_class=NXdetector" 1329 // data1330 // data_error1331 // nx_distance1346 // data 1347 //// //data_error 1348 // nx_distance 1332 1349 Note/K nx_distance, "units=m" 1333 // description1334 // settings1335 // dead_time1350 // description 1351 // settings 1352 // dead_time 1336 1353 Note/K dead_time, "units=s" 1337 // x_pixel_size1354 // x_pixel_size 1338 1355 Note/K x_pixel_size, "units=cm" 1339 // y_pixel_size1356 // y_pixel_size 1340 1357 Note/K y_pixel_size, "units=cm" 1341 // beam_center_x1342 // beam_center_y1343 // type1344 // flatfield_applied1345 // countrate_correction_applied1346 // pixel_mask1347 // integrated_count1348 // lateral_offset1358 // beam_center_x 1359 // beam_center_y 1360 // type 1361 //// //flatfield_applied 1362 //// //countrate_correction_applied 1363 // pixel_mask 1364 // integrated_count 1365 // lateral_offset 1349 1366 Note/K lateral_offset, "units=cm" 1350 // sdd_offset1367 // sdd_offset 1351 1368 Note/K sdd_offset, "units=cm" 1352 // separation1369 // separation 1353 1370 Note/K separation, "units=cm" 1354 // PixelNumX1355 // PixelNumY1356 // PixelFWHM1357 // size1371 // PixelNumX 1372 // PixelNumY 1373 // PixelFWHM 1374 // size 1358 1375 Note/K size, "units=cm" 1359 // event_file_name1360 // tube_orientation1361 // number_of_tubes1362 // tube_index1363 // spatial_calibration1364 // tube_width1376 // event_file_name 1377 // tube_orientation 1378 // number_of_tubes 1379 // tube_index 1380 // spatial_calibration 1381 // tube_width 1365 1382 Note/K tube_width, "units=cm" 1366 1383 … … 1369 1386 Make/O/N=0 Igor___folder_attributes 1370 1387 Note/K Igor___folder_attributes, "NX_class=NXdata" 1371 // data1372 // error1373 // variables1374 // data_image1388 // data 1389 //// //error 1390 // variables 1391 // data_image 1375 1392 SetDataFolder root:VSANS_file:entry1:data_MR 1376 1393 Make/O/N=0 Igor___folder_attributes 1377 1394 Note/K Igor___folder_attributes, "NX_class=NXdata" 1378 // data1379 // error1380 // variables1381 // data_image1395 // data 1396 //// //error 1397 // variables 1398 // data_image 1382 1399 SetDataFolder root:VSANS_file:entry1:data_ML 1383 1400 Make/O/N=0 Igor___folder_attributes 1384 1401 Note/K Igor___folder_attributes, "NX_class=NXdata" 1385 // data1386 // error1387 // variables1388 // data_image1402 // data 1403 //// //error 1404 // variables 1405 // data_image 1389 1406 SetDataFolder root:VSANS_file:entry1:data_MT 1390 1407 Make/O/N=0 Igor___folder_attributes 1391 1408 Note/K Igor___folder_attributes, "NX_class=NXdata" 1392 // data1393 // error1394 // variables1395 // data_image1409 // data 1410 //// //error 1411 // variables 1412 // data_image 1396 1413 SetDataFolder root:VSANS_file:entry1:data_MB 1397 1414 Make/O/N=0 Igor___folder_attributes 1398 1415 Note/K Igor___folder_attributes, "NX_class=NXdata" 1399 // data1400 // error1401 // variables1402 // data_image1416 // data 1417 //// //error 1418 // variables 1419 // data_image 1403 1420 SetDataFolder root:VSANS_file:entry1:data_FR 1404 1421 Make/O/N=0 Igor___folder_attributes 1405 1422 Note/K Igor___folder_attributes, "NX_class=NXdata" 1406 // data1407 // error1408 // variables1409 // data_image1423 // data 1424 //// //error 1425 // variables 1426 // data_image 1410 1427 SetDataFolder root:VSANS_file:entry1:data_FL 1411 1428 Make/O/N=0 Igor___folder_attributes 1412 1429 Note/K Igor___folder_attributes, "NX_class=NXdata" 1413 // data1414 // error1415 // variables1416 // data_image1430 // data 1431 //// //error 1432 // variables 1433 // data_image 1417 1434 SetDataFolder root:VSANS_file:entry1:data_FT 1418 1435 Make/O/N=0 Igor___folder_attributes 1419 1436 Note/K Igor___folder_attributes, "NX_class=NXdata" 1420 // data1421 // error1422 // variables1423 // data_image1437 // data 1438 //// //error 1439 // variables 1440 // data_image 1424 1441 SetDataFolder root:VSANS_file:entry1:data_FB 1425 1442 Make/O/N=0 Igor___folder_attributes 1426 1443 Note/K Igor___folder_attributes, "NX_class=NXdata" 1427 // data1428 // error1429 // variables1430 // data_image1444 // data 1445 //// //error 1446 // variables 1447 // data_image 1431 1448 1432 1449 SetDataFolder root:VSANS_file:entry1:reduction 1433 // intent1434 // transmission_file_name1435 // empty_beam_file_name1436 // background_file_name1437 // empty_file_name1438 // sensitivity_file_name1439 // mask_file_name1440 // sans_log_file_name1441 // whole_trans1442 // whole_trans_error1443 // box_count1444 // box_count_error1445 // box_coordinates1446 // comments1447 // absolute_scaling1450 // intent 1451 // transmission_file_name 1452 // empty_beam_file_name 1453 // background_file_name 1454 // empty_file_name 1455 // sensitivity_file_name 1456 // mask_file_name 1457 // sans_log_file_name 1458 // whole_trans 1459 // whole_trans_error 1460 // box_count 1461 // box_count_error 1462 // box_coordinates 1463 // comments 1464 // absolute_scaling 1448 1465 SetDataFolder root:VSANS_file:entry1:reduction:pol_sans 1449 // pol_sans_purpose1450 // cell_name1451 // cell_parameters1466 // pol_sans_purpose 1467 // cell_name 1468 // cell_parameters 1452 1469 1453 1470 SetDataFolder root:VSANS_file:DAS_Logs … … 1456 1473 //...multiple entries and levels... to add 1457 1474 //this will be enormous 1475 1458 1476 1459 1477 … … 1483 1501 Proc H_Fill_VSANS_wSim() 1484 1502 1485 SetDataFolder root:VSANS_file 1486 file_name = "VSANSTest.h5" 1487 file_time = "2015-02-28T08:15:30-5:00" 1488 facility = "NCNR" 1489 NeXus_version = "Nexus 0.0" 1490 hdf_version = "hdf5.x" 1491 file_history = "history log" 1503 1504 SetDataFolder root:VSANS_file 1505 file_name = "VSANSTest.h5" 1506 file_time = "2015-02-28T08:15:30-5:00" 1507 facility = "NCNR" 1508 NeXus_version = "Nexus 0.0" 1509 hdf_version = "hdf5.x" 1510 file_history = "history log" 1492 1511 SetDataFolder root:VSANS_file:entry1 1493 title = "title of entry1"1494 experiment_identifier = 6846361495 experiment_description = "description of expt"1496 entry_identifier = "S22-33"1497 definition = "NXsas"1498 start_time = "2015-02-28T08:15:30-5:00"1499 end_time = "2015-02-28T08:15:30-5:00"1500 duration = 3001501 collection_time = 3001502 run_cycle = "S22-23"1503 program_name = "runPoint={stuff}"1504 data_directory = "[VSANS_VSANS]"1512 title = "title of entry1" 1513 experiment_identifier = 684636 1514 experiment_description = "description of expt" 1515 entry_identifier = "S22-33" 1516 definition = "NXsas" 1517 start_time = "2015-02-28T08:15:30-5:00" 1518 end_time = "2015-02-28T08:15:30-5:00" 1519 duration = 300 1520 collection_time = 300 1521 run_cycle = "S22-23" 1522 data_directory = "[VSANS_VSANS]" 1523 program_name = "runPoint={stuff}" 1505 1524 SetDataFolder root:VSANS_file:entry1:user 1506 name = "Dr. Pi"1507 role = "evil scientist"1508 affiliation = "NIST"1509 address = "100 Bureau Drive"1510 telephoneNumber = "301-999-9999"1511 faxNumber = "301-999-9999"1512 email = "sans@nist"1513 facility_user_id = 69375961525 name = "Dr. Pi" 1526 role = "evil scientist" 1527 affiliation = "NIST" 1528 address = "100 Bureau Drive" 1529 telephoneNumber = "301-999-9999" 1530 faxNumber = "301-999-9999" 1531 email = "sans@nist" 1532 facility_user_id = 6937596 1514 1533 SetDataFolder root:VSANS_file:entry1:control 1515 mode = "timer"1516 preset = 5551517 integral = 5551518 monitor_counts = 6661519 monitor_preset = 1e81520 type = "monitor type"1521 efficiency = 0.011522 sampled_fraction = 11523 detector_counts = 1001112221524 detector_preset = 1e51525 count_start= 11526 count_end= 11527 count_time= 11528 count_time_preset= 11529 SetDataFolder root:VSANS_file:entry1:program_data1530 data = "program data"1531 description = "acquisition"1532 file_name = "NICE"1533 type = "client"1534 mode = "timer" 1535 preset = 555 1536 integral = 555 1537 monitor_counts = 666 1538 monitor_preset = 1e8 1539 //WAVE/T type = "monitor type" 1540 //WAVE efficiency = 0.01 1541 //WAVE sampled_fraction = 1 1542 detector_counts = 100111222 1543 detector_preset = 1e5 1544 count_start = 1 1545 count_end = 1 1546 count_time = 1 1547 count_time_preset = 1 1548 //SetDataFolder root:VSANS_file:entry1:program_name //program_data 1549 //WAVE/T //data = "program data" 1550 //WAVE/T //description = "acquisition" 1551 //WAVE/T //file_name = "NICE" 1552 //WAVE/T //type = "client" 1534 1553 SetDataFolder root:VSANS_file:entry1:sample 1535 name = "My Sample" 1536 chemical_formula = "C8H10N4O2" 1554 description = "My Sample" 1555 group_id = 12345 1556 //WAVE/T //chemical_formula = "C8H10N4O2" 1537 1557 SetDataFolder root:VSANS_file:entry1:sample:temperature_1 1538 name = "Sample temperature"1539 attached_to = "block"1540 measurement = "temperature"1558 name = "Sample temperature" 1559 attached_to = "block" 1560 measurement = "temperature" 1541 1561 SetDataFolder root:VSANS_file:entry1:sample:temperature_1:value_log 1542 start = "2015-02-28T08:15:30-5:00"1543 nx_time = p1544 value = 2*p1562 start = "2015-02-28T08:15:30-5:00" 1563 nx_time = p 1564 value = 2*p 1545 1565 SetDataFolder root:VSANS_file:entry1:sample:temperature_2 1546 name = "Sample temperature"1547 attached_to = "block"1548 measurement = "temperature"1566 name = "Sample temperature" 1567 attached_to = "block" 1568 measurement = "temperature" 1549 1569 SetDataFolder root:VSANS_file:entry1:sample:temperature_2:value_log 1550 start = "2015-02-28T08:15:30-5:00"1551 nx_time = p1552 value = 3*p1570 start = "2015-02-28T08:15:30-5:00" 1571 nx_time = p 1572 value = 3*p 1553 1573 SetDataFolder root:VSANS_file:entry1:sample:electric_field 1554 name = "electric meter"1555 attached_to = "sample"1556 measurement = "voltage"1574 name = "electric meter" 1575 attached_to = "sample" 1576 measurement = "voltage" 1557 1577 SetDataFolder root:VSANS_file:entry1:sample:electric_field:value_log 1558 start = "2015-02-28T08:15:30-5:00"1559 nx_time = 2*p1560 value = sin(p/10)1578 start = "2015-02-28T08:15:30-5:00" 1579 nx_time = 2*p 1580 value = sin(p/10) 1561 1581 SetDataFolder root:VSANS_file:entry1:sample:shear_field 1562 name = "rheometer"1563 attached_to = "sample"1564 measurement = "stress"1582 name = "rheometer" 1583 attached_to = "sample" 1584 measurement = "stress" 1565 1585 SetDataFolder root:VSANS_file:entry1:sample:shear_field:value_log 1566 start = "2015-02-28T08:15:30-5:00"1567 nx_time = p1568 value = cos(p/5)1586 start = "2015-02-28T08:15:30-5:00" 1587 nx_time = p 1588 value = cos(p/5) 1569 1589 SetDataFolder root:VSANS_file:entry1:sample:pressure 1570 name = "Sample pressure"1571 attached_to = "pressure cell"1572 measurement = "pressure"1590 name = "Sample pressure" 1591 attached_to = "pressure cell" 1592 measurement = "pressure" 1573 1593 SetDataFolder root:VSANS_file:entry1:sample:pressure:value_log 1574 start = "2015-02-28T08:15:30-5:00"1575 nx_time = p1576 value = p/21594 start = "2015-02-28T08:15:30-5:00" 1595 nx_time = p 1596 value = p/2 1577 1597 SetDataFolder root:VSANS_file:entry1:sample:magnetic_field 1578 name = "magnetic field (direction)"1579 attached_to = "cryostat"1580 measurement = "magnetic field"1598 name = "magnetic field (direction)" 1599 attached_to = "cryostat" 1600 measurement = "magnetic field" 1581 1601 SetDataFolder root:VSANS_file:entry1:sample:magnetic_field:value_log 1582 start = "2015-02-28T08:15:30-5:00"1583 nx_time = p1584 value = 10*p1602 start = "2015-02-28T08:15:30-5:00" 1603 nx_time = p 1604 value = 10*p 1585 1605 SetDataFolder root:VSANS_file:entry1:sample 1586 changer_position = 51587 sample_holder_description = "10CB"1588 mass = 0.31589 density = 1.021590 molecular_weight = 194.191591 description = "My Sample"1592 preparation_date = "2015-02-28T08:15:30-5:00"1593 volume_fraction = 0.21594 scattering_length_density = 6.35e-61595 thickness = 0.11596 rotation_angle = 301597 transmission = 0.8881598 transmission_error = 0.0111599 xs_incoh = 5.51600 xs_coh = 22.21601 xs_absorb = 3.11606 changer_position = 5 1607 sample_holder_description = "10CB" 1608 //WAVE //mass = 0.3 1609 //WAVE //density = 1.02 1610 //WAVE //molecular_weight = 194.19 1611 //WAVE/T //description = "My Sample" 1612 //WAVE/T //preparation_date = "2015-02-28T08:15:30-5:00" 1613 //WAVE //volume_fraction = 0.2 1614 //WAVE //scattering_length_density = 6.35e-6 1615 thickness = 0.1 1616 rotation_angle = 30 1617 transmission = 0.888 1618 transmission_error = 0.011 1619 //WAVE //xs_incoh = 5.5 1620 //WAVE //xs_coh = 22.2 1621 //WAVE //xs_absorb = 3.1 1602 1622 SetDataFolder root:VSANS_file:entry1:instrument 1603 location = "NCNR"1604 description= "NG3-VSANS"1605 type = "VSANS"1606 local_contact = "Steve Kline"1623 //WAVE/T //location = "NCNR" 1624 name = "NG3-VSANS" 1625 type = "VSANS" 1626 local_contact = "Steve Kline" 1607 1627 SetDataFolder root:VSANS_file:entry1:instrument:source 1608 name = "NCNR"1609 type = "Reactor Neutron Source"1610 probe = "neutron"1611 power = 201628 name = "NCNR" 1629 type = "Reactor Neutron Source" 1630 probe = "neutron" 1631 power = 20 1612 1632 1613 SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_ 11614 data = 12345671615 type = "monitor"1616 efficiency = 0.011617 nx_distance = 161618 saved_count = 1e81619 SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_ 21620 data = 12345671621 type = "monitor"1622 efficiency = 0.011623 nx_distance = 161624 saved_count = 1e81633 SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_norm 1634 data = 1234567 1635 type = "monitor" 1636 efficiency = 0.01 1637 nx_distance = 16 1638 saved_count = 1e8 1639 SetDataFolder root:VSANS_file:entry1:instrument:beam_monitor_low 1640 data = 1234567 1641 type = "monitor" 1642 efficiency = 0.001 1643 nx_distance = 16 1644 saved_count = 1e8 1625 1645 1626 SetDataFolder root:VSANS_file:entry1:instrument:beam 1627 SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator 1628 wavelength = VCALC_getWavelength() 1646 SetDataFolder root:VSANS_file:entry1:instrument:monochromator 1647 wavelength = 5.1 1629 1648 wavelength_spread = 0.02 1630 SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:velocity_selector 1631 type = "VS" 1649 type = "VS" 1650 SetDataFolder root:VSANS_file:entry1:instrument:monochromator:velocity_selector 1651 status = "in" 1632 1652 rotation_speed = 5100 1633 wavelength = VCALC_getWavelength()1653 wavelength = 6 1634 1654 wavelength_spread = 0.15 1635 1655 vs_tilt = 3 1636 1656 nx_distance = 18.8 1637 // table (wave) 1638 SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:crystal 1657 // table (wave) 1658 SetDataFolder root:VSANS_file:entry1:instrument:monochromator:crystal 1659 status = "in" 1639 1660 nx_distance = 1 1640 wavelength = VCALC_getWavelength()1661 wavelength = 5.1 1641 1662 wavelength_spread = 0.02 1642 1663 rotation = 1.1 … … 1649 1670 horizontal_aperture = 1 1650 1671 vertical_aperture = 1 1651 SetDataFolder root:VSANS_file:entry1:instrument:beam:monochromator:white_beam 1652 wavelength = VCALC_getWavelength() 1672 SetDataFolder root:VSANS_file:entry1:instrument:monochromator:white_beam 1673 status = "in" 1674 wavelength = 5.1 1653 1675 wavelength_spread = 0.8 1654 // description_of_distribution 1655 SetDataFolder root:VSANS_file:entry1:instrument:beam:chopper 1676 // description_of_distribution 1677 SetDataFolder root:VSANS_file:entry1:instrument:chopper 1678 status = "in" 1656 1679 type = "single" 1657 1680 rotation_speed = 12000 … … 1660 1683 slits = 2 1661 1684 angular_opening = 15 1662 duty_cycle = 0.25 1663 SetDataFolder root:VSANS_file:entry1:instrument:beam:polarizer 1685 duty_cycle = 0.25 1686 // +? 1687 SetDataFolder root:VSANS_file:entry1:instrument:polarizer 1688 status = "in" 1664 1689 type = "supermirror" 1665 1690 composition = "multilayer" 1666 1691 efficiency = 0.95 1667 1692 status = "in" 1668 SetDataFolder root:VSANS_file:entry1:instrument:beam:flipper1693 SetDataFolder root:VSANS_file:entry1:instrument:flipper 1669 1694 status = "on" 1670 1695 driving_current = 42 … … 1672 1697 frequency = 400 1673 1698 transmitted_power = 0.99 1674 SetDataFolder root:VSANS_file:entry1:instrument:beam:polarizer_analyzer1699 SetDataFolder root:VSANS_file:entry1:instrument:polarizer_analyzer 1675 1700 status = "down" 1676 1701 guide_field_current_1 = 33 … … 1680 1705 cell_names = {"Burgundy","Olaf","Jim","Bob","Joe"} 1681 1706 cell_parameters = 1 1682 1683 // +?1684 1707 1685 // ADD converging pinholes, etc 1686 // converging_pinholes 1687 // converging_slits 1708 SetDataFolder root:VSANS_file:entry1:instrument:attenuator 1709 nx_distance = 1500 1710 type = "PMMA" 1711 thickness = 0 1712 attenuator_transmission = 1 1713 status = "in" 1714 atten_number = "0101" 1715 index = 1 1716 SetDataFolder root:VSANS_file:entry1:instrument:source_aperture 1717 material = "Gd" 1718 description = "source aperture" 1719 diameter = 1.27 1720 nx_distance = 13.0 1721 SetDataFolder root:VSANS_file:entry1:instrument:source_aperture:shape 1722 size = 1.27 1723 SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture 1724 material = "Gd" 1725 description = "sample aperture" 1726 diameter = 1.27 1727 nx_distance = 10 1728 SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture:shape 1729 size = 1.27 1730 SetDataFolder root:VSANS_file:entry1:instrument:collimator 1731 SetDataFolder root:VSANS_file:entry1:instrument:collimator:geometry 1732 SetDataFolder root:VSANS_file:entry1:instrument:collimator:geometry:shape 1733 shape = "box" 1734 size = 11 1735 nx_NumGuides = 1 1736 SetDataFolder root:VSANS_file:entry1:instrument:converging_pinholes 1737 status = "in" 1738 SetDataFolder root:VSANS_file:entry1:instrument:converging_slits 1739 status = "in" 1740 SetDataFolder root:VSANS_file:entry1:instrument:lenses 1741 status = "in" 1742 lens_geometry = "concave_lens" 1743 focus_type = "point" 1744 number_of_lenses = 28 1745 number_of_prisms = 7 1746 curvature = 1 1747 lens_distance = 123 1748 prism_distance = 123 1749 lens_material = "MgF2" 1750 prism_material = "MgF2" 1751 SetDataFolder root:VSANS_file:entry1:instrument:sample_table 1752 location = "chamber" 1753 offset_distance = 0 1754 SetDataFolder root:VSANS_file:entry1:instrument:beam_stop 1755 status = "out" 1756 description = "circular" 1757 nx_distance = 12.5 1758 size = 7.62 1759 xPos = 66.4 1760 yPos = 64.4 1761 x_motor_position = 0.15 1762 y_motor_position = 0.55 1763 1764 SetDataFolder root:VSANS_file:entry1:instrument:detector_B 1765 data = trunc(abs(gnoise(p+q))) 1766 //WAVE //data_error = 0.01*abs(gnoise(p+q)) 1767 nx_distance = 21.1 1768 description = "fancy model" 1769 settings = "just right" 1770 dead_time = 5e-6 1771 x_pixel_size = 5.08 1772 y_pixel_size = 5.08 1773 beam_center_x = 165.55 1774 beam_center_y = 162.33 1775 type = "??" 1776 //WAVE //flatfield_applied = 0 1777 //WAVE //countrate_correction_applied = 0 1778 pixel_mask = 0 1779 integrated_count = 100111222 1780 lateral_offset = 20 1781 PixelNumX = 320 1782 PixelNumY = 320 1783 PixelFWHM = 0.5 1784 CALX = {0.5,0.5,10000} 1785 CALY = {0.5,0.5,10000} 1786 size = 65 1787 event_file_name ="something.hst" 1788 SetDataFolder root:VSANS_file:entry1:instrument:detector_MR 1789 data = trunc(abs(gnoise(p+q))) 1790 //WAVE //data_error = 0.01*abs(gnoise(p+q)) 1791 nx_distance = 13.1 1792 description = "fancy model" 1793 settings = "just right" 1794 dead_time = 5e-6 1795 x_pixel_size = 5.08 1796 y_pixel_size = 5.08 1797 beam_center_x = 65.55 1798 beam_center_y = 62.33 1799 type = "??" 1800 //WAVE //flatfield_applied = 0 1801 //WAVE //countrate_correction_applied = 0 1802 pixel_mask = 0 1803 integrated_count = 100111222 1804 lateral_offset = 20 1805 separation = 150 1806 PixelNumX = 48 1807 PixelNumY = 256 1808 PixelFWHM = 0.5 1809 size = 65 1810 event_file_name ="something.hst" 1811 tube_orientation = "vertical" 1812 number_of_tubes = 48 1813 tube_index = p 1814 spatial_calibration = 1 1815 tube_width = 8 1816 SetDataFolder root:VSANS_file:entry1:instrument:detector_ML 1817 data = trunc(abs(gnoise(p+q))) 1818 //WAVE //data_error = 0.01*abs(gnoise(p+q)) 1819 nx_distance = 13.1 1820 description = "fancy model" 1821 settings = "just right" 1822 dead_time = 5e-6 1823 x_pixel_size = 5.08 1824 y_pixel_size = 5.08 1825 beam_center_x = 65.55 1826 beam_center_y = 62.33 1827 type = "??" 1828 //WAVE //flatfield_applied = 0 1829 //WAVE //countrate_correction_applied = 0 1830 pixel_mask = 0 1831 integrated_count = 100111222 1832 lateral_offset = 20 1833 separation = 150 1834 PixelNumX = 48 1835 PixelNumY = 256 1836 PixelFWHM = 0.5 1837 size = 65 1838 event_file_name ="something.hst" 1839 tube_orientation = "vertical" 1840 number_of_tubes = 48 1841 tube_index = p 1842 spatial_calibration = 1 1843 tube_width = 8 1844 SetDataFolder root:VSANS_file:entry1:instrument:detector_MT 1845 data = trunc(abs(gnoise(p+q))) 1846 //WAVE //data_error = 0.01*abs(gnoise(p+q)) 1847 nx_distance = 13.4 1848 description = "fancy model" 1849 settings = "just right" 1850 dead_time = 5e-6 1851 x_pixel_size = 5.08 1852 y_pixel_size = 5.08 1853 beam_center_x = 65.55 1854 beam_center_y = 62.33 1855 type = "??" 1856 //WAVE //flatfield_applied = 0 1857 //WAVE //countrate_correction_applied = 0 1858 pixel_mask = 0 1859 integrated_count = 100111222 1860 lateral_offset = 20 1861 sdd_offset = 30 1862 separation = 150 1863 PixelNumX = 128 1864 PixelNumY = 48 1865 PixelFWHM = 0.5 1866 size = 65 1867 event_file_name ="something.hst" 1868 tube_orientation = "horizontal" 1869 number_of_tubes = 48 1870 tube_index = p 1871 spatial_calibration = 1 1872 tube_width = 8 1873 SetDataFolder root:VSANS_file:entry1:instrument:detector_MB 1874 data = trunc(abs(gnoise(p+q))) 1875 //WAVE //data_error = 0.01*abs(gnoise(p+q)) 1876 nx_distance = 13.4 1877 description = "fancy model" 1878 settings = "just right" 1879 dead_time = 5e-6 1880 x_pixel_size = 5.08 1881 y_pixel_size = 5.08 1882 beam_center_x = 65.55 1883 beam_center_y = 62.33 1884 type = "??" 1885 //WAVE //flatfield_applied = 0 1886 //WAVE //countrate_correction_applied = 0 1887 pixel_mask = 0 1888 integrated_count = 100111222 1889 lateral_offset = 20 1890 sdd_offset = 30 1891 separation = 150 1892 PixelNumX = 128 1893 PixelNumY = 48 1894 PixelFWHM = 0.5 1895 size = 65 1896 event_file_name ="something.hst" 1897 tube_orientation = "horizontal" 1898 number_of_tubes = 48 1899 tube_index = p 1900 spatial_calibration = 1 1901 tube_width = 8 1902 SetDataFolder root:VSANS_file:entry1:instrument:detector_FR 1903 data = trunc(abs(gnoise(p+q))) 1904 //WAVE //data_error = 0.01*abs(gnoise(p+q)) 1905 nx_distance = 2.1 1906 description = "fancy model" 1907 settings = "just right" 1908 dead_time = 5e-6 1909 x_pixel_size = 5.08 1910 y_pixel_size = 5.08 1911 beam_center_x = 65.55 1912 beam_center_y = 62.33 1913 type = "??" 1914 //WAVE //flatfield_applied = 0 1915 //WAVE //countrate_correction_applied = 0 1916 pixel_mask = 0 1917 integrated_count = 100111222 1918 lateral_offset = 20 1919 separation = 150 1920 PixelNumX = 48 1921 PixelNumY = 256 1922 PixelFWHM = 0.5 1923 size = 65 1924 event_file_name ="something.hst" 1925 tube_orientation = "vertical" 1926 number_of_tubes = 48 1927 tube_index = p 1928 spatial_calibration = 1 1929 tube_width = 8 1930 SetDataFolder root:VSANS_file:entry1:instrument:detector_FL 1931 data = trunc(abs(gnoise(p+q))) 1932 //WAVE //data_error = 0.01*abs(gnoise(p+q)) 1933 nx_distance = 2.1 1934 description = "fancy model" 1935 settings = "just right" 1936 dead_time = 5e-6 1937 x_pixel_size = 5.08 1938 y_pixel_size = 5.08 1939 beam_center_x = 65.55 1940 beam_center_y = 62.33 1941 type = "??" 1942 //WAVE //flatfield_applied = 0 1943 //WAVE //countrate_correction_applied = 0 1944 pixel_mask = 0 1945 integrated_count = 100111222 1946 lateral_offset = 20 1947 separation = 150 1948 PixelNumX = 48 1949 PixelNumY = 256 1950 PixelFWHM = 0.5 1951 size = 65 1952 event_file_name ="something.hst" 1953 tube_orientation = "vertical" 1954 number_of_tubes = 48 1955 tube_index = p 1956 spatial_calibration = 1 1957 tube_width = 8 1958 SetDataFolder root:VSANS_file:entry1:instrument:detector_FT 1959 data = trunc(abs(gnoise(p+q))) 1960 //WAVE //data_error = 0.01*abs(gnoise(p+q)) 1961 nx_distance = 2.1 1962 description = "fancy model" 1963 settings = "just right" 1964 dead_time = 5e-6 1965 x_pixel_size = 5.08 1966 y_pixel_size = 5.08 1967 beam_center_x = 65.55 1968 beam_center_y = 62.33 1969 type = "??" 1970 //WAVE //flatfield_applied = 0 1971 //WAVE //countrate_correction_applied = 0 1972 pixel_mask = 0 1973 integrated_count = 100111222 1974 lateral_offset = 20 1975 sdd_offset = 30 1976 separation = 150 1977 PixelNumX = 128 1978 PixelNumY = 48 1979 PixelFWHM = 0.5 1980 size = 65 1981 event_file_name ="something.hst" 1982 tube_orientation = "horizontal" 1983 number_of_tubes = 48 1984 tube_index = p 1985 spatial_calibration = 1 1986 tube_width = 8 1987 SetDataFolder root:VSANS_file:entry1:instrument:detector_FB 1988 data = trunc(abs(gnoise(p+q))) 1989 //WAVE //data_error = 0.01*abs(gnoise(p+q)) 1990 nx_distance = 2.1 1991 description = "fancy model" 1992 settings = "just right" 1993 dead_time = 5e-6 1994 x_pixel_size = 5.08 1995 y_pixel_size = 5.08 1996 beam_center_x = 65.55 1997 beam_center_y = 62.33 1998 type = "??" 1999 //WAVE //flatfield_applied = 0 2000 //WAVE //countrate_correction_applied = 0 2001 pixel_mask = 0 2002 integrated_count = 100111222 2003 lateral_offset = 20 2004 sdd_offset = 30 2005 separation = 150 2006 PixelNumX = 128 2007 PixelNumY = 48 2008 PixelFWHM = 0.5 2009 size = 65 2010 event_file_name ="something.hst" 2011 tube_orientation = "horizontal" 2012 number_of_tubes = 48 2013 tube_index = p 2014 spatial_calibration = 1 2015 tube_width = 8 1688 2016 1689 2017 1690 SetDataFolder root:VSANS_file:entry1:instrument:attenuator 1691 nx_distance = 1500 1692 type = "PMMA" 1693 thickness = 0 1694 attenuator_transmission = 1 1695 status = "in" 1696 atten_number = "0101" 1697 index = 1 1698 SetDataFolder root:VSANS_file:entry1:instrument:source_aperture 1699 material = "Gd" 1700 description = "source aperture" 1701 diameter = 1.27 1702 nx_distance = 13.0 1703 SetDataFolder root:VSANS_file:entry1:instrument:source_aperture:shape 1704 size = 1.27 1705 SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture 1706 material = "Gd" 1707 description = "sample aperture" 1708 diameter = 1.27 1709 nx_distance = 10 1710 SetDataFolder root:VSANS_file:entry1:instrument:sample_aperture:shape 1711 size = 1.27 1712 SetDataFolder root:VSANS_file:entry1:instrument: 1713 nx_NumGuides = 1 1714 SetDataFolder root:VSANS_file:entry1:instrument:lenses 1715 lens_geometry = "concave_lens" 1716 focus_type = "point" 1717 number_of_lenses = 28 1718 number_of_prisms = 7 1719 curvature = 1 1720 lens_distance = 123 1721 prism_distance = 123 1722 lens_material = "MgF2" 1723 prism_material = "MgF2" 1724 SetDataFolder root:VSANS_file:entry1:instrument:sample_table 1725 location = "chamber" 1726 offset_distance = 0 1727 SetDataFolder root:VSANS_file:entry1:instrument:beam_stop 1728 description = "circular" 1729 nx_distance = 12.5 1730 size = 7.62 1731 status = "out" 1732 xPos = 66.4 1733 yPos = 64.4 1734 x_motor_position = 0.15 1735 y_motor_position = 0.55 2018 SetDataFolder root:VSANS_file:entry1:data_B 2019 data = trunc(abs(gnoise(p+q))) 2020 //WAVE //error = 0.01*abs(gnoise(p+q)) 2021 variables = {320,320} 2022 data_image = p 2023 SetDataFolder root:VSANS_file:entry1:data_MR 2024 data = trunc(abs(gnoise(p+q))) 2025 //WAVE //error = 0.01*abs(gnoise(p+q)) 2026 variables = {48,256} 2027 data_image = p 2028 SetDataFolder root:VSANS_file:entry1:data_ML 2029 data = trunc(abs(gnoise(p+q))) 2030 //WAVE //error = 0.01*abs(gnoise(p+q)) 2031 variables = {48,256} 2032 data_image = p 2033 SetDataFolder root:VSANS_file:entry1:data_MT 2034 data = trunc(abs(gnoise(p+q))) 2035 //WAVE //error = 0.01*abs(gnoise(p+q)) 2036 variables = {128,48} 2037 data_image = p 2038 SetDataFolder root:VSANS_file:entry1:data_MB 2039 data = trunc(abs(gnoise(p+q))) 2040 //WAVE //error = 0.01*abs(gnoise(p+q)) 2041 variables = {128,48} 2042 data_image = p 2043 SetDataFolder root:VSANS_file:entry1:data_FR 2044 data = trunc(abs(gnoise(p+q))) 2045 //WAVE //error = 0.01*abs(gnoise(p+q)) 2046 variables = {48,256} 2047 data_image = p 2048 SetDataFolder root:VSANS_file:entry1:data_FL 2049 data = trunc(abs(gnoise(p+q))) 2050 //WAVE //error = 0.01*abs(gnoise(p+q)) 2051 variables = {48,256} 2052 data_image = p 2053 SetDataFolder root:VSANS_file:entry1:data_FT 2054 data = trunc(abs(gnoise(p+q))) 2055 //WAVE //error = 0.01*abs(gnoise(p+q)) 2056 variables = {128,48} 2057 data_image = p 2058 SetDataFolder root:VSANS_file:entry1:data_FB 2059 data = trunc(abs(gnoise(p+q))) 2060 //WAVE //error = 0.01*abs(gnoise(p+q)) 2061 variables = {128,48} 2062 data_image = p 2063 2064 SetDataFolder root:VSANS_file:entry1:reduction 2065 intent = "SCATTER" 2066 transmission_file_name = "SANSFile_TRN.h5" 2067 empty_beam_file_name = "SANSFile_EB.h5" 2068 background_file_name = "SANSFile_BKG.h5" 2069 empty_file_name = "SANSFile_EMP.h5" 2070 sensitivity_file_name = "SANSFile_DIV.h5" 2071 mask_file_name = "SANSFile_MASK.h5" 2072 sans_log_file_name = "SANSFile_log.txt" 2073 whole_trans = 0.888 2074 whole_trans_error = 0.008 2075 box_count = 23232 2076 box_count_error = 22 2077 box_coordinates = {50,80,45,75} 2078 comments = "extra data comments" 2079 absolute_scaling = {1,1,1e5,1} 2080 SetDataFolder root:VSANS_file:entry1:reduction:pol_sans 2081 pol_sans_purpose = "name from the list" 2082 cell_name = "Burgundy" 2083 cell_parameters = {1,2,3,4,5} 2084 2085 SetDataFolder root:VSANS_file:DAS_Logs 2086 //...multiple entries and levels... to add 2087 //this will be enormous 2088 2089 2090 2091 2092 2093 2094 2095 ///// DO NOT DELETE WHAT IS BELOW THIS LINE ///////////// 2096 2097 /////////////////////////// 2098 // 2099 // these are all of the VCALC changes to the simulated files. ADD to these as needed, making these changes to the 2100 // folder structure after the "default" values have been re-filled in the waves (to make sure something is really there) 2101 // 2102 //////////////////////// 2103 2104 SetDataFolder root:VSANS_file:entry1:instrument 2105 SetDataFolder root:VSANS_file:entry1:instrument:monochromator 2106 wavelength = VCALC_getWavelength() 2107 SetDataFolder root:VSANS_file:entry1:instrument:monochromator:velocity_selector 2108 wavelength = VCALC_getWavelength() 2109 // table (wave) 2110 SetDataFolder root:VSANS_file:entry1:instrument:monochromator:crystal 2111 wavelength = VCALC_getWavelength() 2112 2113 SetDataFolder root:VSANS_file:entry1:instrument:monochromator:white_beam 2114 wavelength = VCALC_getWavelength() 2115 // description_of_distribution 2116 2117 1736 2118 1737 2119 SetDataFolder root:VSANS_file:entry1:instrument:detector_B 1738 2120 data = root:Packages:NIST:VSANS:VCALC:Back:det_B 1739 data_error = 0.01*abs(gnoise(p+q))1740 2121 nx_distance = VCALC_getSDD("B") 1741 description = "fancy model" 1742 settings = "just right" 1743 dead_time = 5e-6 1744 x_pixel_size = 5.08 1745 y_pixel_size = 5.08 1746 beam_center_x = 165.55 1747 beam_center_y = 162.33 1748 type = "??" 1749 flatfield_applied = 0 1750 countrate_correction_applied = 0 1751 pixel_mask = 0 1752 integrated_count = 100111222 1753 lateral_offset = 20 1754 PixelNumX = 320 1755 PixelNumY = 320 1756 PixelFWHM = 0.5 1757 CALX = {0.5,0.5,10000} 1758 CALY = {0.5,0.5,10000} 1759 size = 65 1760 event_file_name ="something.hst" 2122 1761 2123 SetDataFolder root:VSANS_file:entry1:instrument:detector_MR 1762 2124 data = root:Packages:NIST:VSANS:VCALC:Middle:det_MR