source: sasview/test/sasdataloader/test/sesans_examples/no_spin_echo_unit.ses @ 5ae40e7

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 5ae40e7 was 5ae40e7, checked in by Adam Washington <adam.washington@…>, 7 years ago

Throw an exception if sesans file has conflicting units

We've decided to mandate identical units for the current file format
version to allow other programs to import the files more easily. This
may change in later versions

  • Property mode set to 100644
File size: 2.7 KB
Line 
1FileFormatVersion       1.0
2DataFileTitle           PMMA in Mixed Deuterated decalin
3Sample                  Ostensibly 40$ 100nm radius PMMA hard spheres in mixed deuterarted decalin.
4Thickness               2
5Thickness_unit          mm
6Theta_zmax              0.09
7Theta_zmax_unit         radians
8Theta_ymax              0.09
9Theta_ymax_unit         radians
10Orientation             Z
11Depolarisation_unit     A-2 cm-1
12Wavelength_unit         A
13
14BEGIN_DATA
15SpinEchoLength Depolarisation Depolarisation_error Wavelength
16            ntif "Theta_zmax_unit" not in self.params:
17                raise RuntimeError("Wavelength has no units")
18            if "Theta_unit" not in self.params:
19                raise RuntimeError("Wavelength has no units")
20260.0 -1.42E-3 2.04E-3 1.612452
21280.8 -1.45E-3 1.87E-3 1.675709
22303.264 -1.64E-3 1.23E-3 1.741448
23327.525 -1.69E-3 1.17E-3 1.809765
24353.727 -2.23E-3 9.09E-4 1.880763
25382.025 -2.26E-3 8.58E-4 1.954546
26412.587 -2.41E-3 7.29E-4 2.031224
27445.594 -2.58E-3 6.75E-4 2.11091
28481.242 -2.88E-3 6.04E-4 2.193723
29519.741 -3.35E-3 5.56E-4 2.279783
30561.32 -3.60E-3 5.22E-4 2.369219
31606.226 -3.92E-3 4.91E-4 2.462166
32654.724 -4.36E-3 4.73E-4 2.558758
33707.102 -4.67E-3 4.54E-4 2.659139
34763.67 -4.91E-3 4.22E-4 2.763458
35824.764 -5.32E-3 3.88E-4 2.87187
36890.745 -5.43E-3 3.53E-4 2.984535
37962.005 -5.61E-3 3.28E-4 3.101621
381038.97 -5.83E-3 3.07E-4 3.223306
391122.08 -5.88E-3 2.91E-4 3.349746
401211.85 -5.91E-3 2.73E-4 3.481164
411308.8 -5.71E-3 2.61E-4 3.617734
421413.5 -5.40E-3 2.49E-4 3.759654
431526.58 -5.10E-3 2.41E-4 3.907147
441648.71 -4.77E-3 2.34E-4 4.060431
451780.6 -4.34E-3 2.26E-4 4.219716
461923.05 -4.18E-3 2.20E-4 4.385259
472076.9 -4.08E-3 2.16E-4 4.557302
482243.05 -4.37E-3 2.13E-4 4.736085
492422.49 -4.66E-3 2.10E-4 4.92188
502616.29 -4.96E-3 2.06E-4 5.114968
512825.59 -5.04E-3 2.03E-4 5.315628
523051.64 -4.96E-3 1.99E-4 5.524165
533295.77 -4.72E-3 1.97E-4 5.74088
543559.43 -4.52E-3 1.92E-4 5.966096
553844.19 -4.65E-3 1.93E-4 6.200153
564151.72 -4.74E-3 1.96E-4 6.443384
574483.86 -4.87E-3 1.99E-4 6.696163
584842.57 -4.81E-3 2.05E-4 6.958858
595229.98 -4.57E-3 2.09E-4 7.23186
605648.38 -4.72E-3 2.17E-4 7.515571
616100.25 -4.79E-3 2.23E-4 7.81041
626588.27 -4.68E-3 2.28E-4 8.116816
637115.33 -4.61E-3 2.32E-4 8.435242
647684.55 -4.78E-3 2.46E-4 8.766157
658299.32 -4.74E-3 2.46E-4 9.11006
668963.26 -4.56E-3 2.50E-4 9.467449
679680.32 -4.70E-3 2.58E-4 9.838862
6810454.7 -4.81E-3 2.64E-4 10.224823
6911291.1 -4.65E-3 2.69E-4 10.625959
7012194.4 -4.43E-3 2.79E-4 11.042826
7113170.0 -4.55E-3 3.01E-4 11.476062
7214223.6 -4.35E-3 3.20E-4 11.926274
7315361.5 -4.24E-3 3.51E-4 12.394152
7416590.4 -4.68E-3 4.12E-4 12.880373
7517917.6 -4.96E-3 4.98E-4 13.385664
7619303.4 -4.56E-3 5.98E-4 13.893668
Note: See TracBrowser for help on using the repository browser.