ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change
on this file since 7c487846 was
f1f3e6a,
checked in by Piotr Rozyczko <rozyczko@…>, 7 years ago
|
Initial commit of Celine's Invariant Perspective work SASVIEW-52
|
-
Property mode set to
100755
|
File size:
1.3 KB
|
Line | |
---|
1 | def enum(*sequential, **named): |
---|
2 | enums = dict(list(zip(sequential, list(range(len(sequential))))), **named) |
---|
3 | return type('Enum', (), enums) |
---|
4 | |
---|
5 | WIDGETS = enum( 'W_FILENAME', |
---|
6 | 'W_QMIN', |
---|
7 | 'W_QMAX', |
---|
8 | 'W_BACKGROUND', |
---|
9 | 'W_SCALE', |
---|
10 | 'W_CONTRAST', |
---|
11 | 'W_POROD_CST', |
---|
12 | 'W_EX_QMIN', |
---|
13 | 'W_EX_QMAX', |
---|
14 | 'W_ENABLE_LOWQ', |
---|
15 | 'W_ENABLE_HIGHQ', |
---|
16 | 'W_NPTS_LOWQ', |
---|
17 | 'W_NPTS_HIGHQ', |
---|
18 | 'W_LOWQ_GUINIER', |
---|
19 | 'W_LOWQ_POWER', |
---|
20 | 'W_LOWQ_FIT', |
---|
21 | 'W_LOWQ_FIX', |
---|
22 | 'W_LOWQ_POWER_VALUE', |
---|
23 | 'W_HIGHQ_FIT', |
---|
24 | 'W_HIGHQ_FIX', |
---|
25 | 'W_HIGHQ_POWER_VALUE', |
---|
26 | # results |
---|
27 | 'W_VOLUME_FRACTION', |
---|
28 | 'W_VOLUME_FRACTION_ERR', |
---|
29 | 'W_SPECIFIC_SURFACE', |
---|
30 | 'W_SPECIFIC_SURFACE_ERR', |
---|
31 | 'W_INVARIANT', |
---|
32 | 'W_INVARIANT_ERR', |
---|
33 | # for the details widget |
---|
34 | 'D_TOTAL_QSTAR', |
---|
35 | 'D_TOTAL_QSTAR_ERR', |
---|
36 | 'D_LOW_QSTAR', |
---|
37 | 'D_LOW_QSTAR_ERR', |
---|
38 | 'D_HIGH_QSTAR', |
---|
39 | 'D_HIGH_QSTAR_ERR', |
---|
40 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.