source: sasview/src/sas/qtgui/Perspectives/Inversion/InversionUtils.py @ fa81e94

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 fa81e94 was fa81e94, checked in by Piotr Rozyczko <rozyczko@…>, 6 years ago

Initial commit of the P(r) inversion perspective.
Code merged from Jeff Krzywon's ESS_GUI_Pr branch.
Also, minor 2to3 mods to sascalc/sasgui to enble error free setup.

  • Property mode set to 100755
File size: 1.2 KB
Line 
1def enum(*sequential, **named):
2    enums = dict(list(zip(sequential, list(range(len(sequential))))), **named)
3    return type('Enum', (), enums)
4
5WIDGETS = enum( 'W_FILENAME',               #0
6                'W_BACKGROUND_INPUT',             #1
7                'W_ESTIMATE',               #2
8                'W_MANUAL_INPUT',           #3
9                'W_QMIN',                   #4
10                'W_QMAX',                   #5
11                'W_SLIT_HEIGHT',            #6
12                'W_SLIT_WIDTH',             #7
13                'W_NO_TERMS',               #8
14                'W_NO_TERMS_SUGGEST',       #9
15                'W_REGULARIZATION',         #10
16                'W_REGULARIZATION_SUGGEST', #11
17                'W_MAX_DIST',               #12
18                'W_EXPLORE',                #13
19                # results
20                'W_RG',
21                'W_I_ZERO',
22                'W_BACKGROUND_OUTPUT',
23                'W_COMP_TIME',
24                'W_CHI_SQUARED',
25                'W_OSCILLATION',
26                'W_POS_FRACTION',
27                'W_SIGMA_POS_FRACTION',
28                # bottom buttons
29                'W_REMOVE',
30                'W_CALCULATE_ALL',
31                'W_CALCULATE_VISIBLE',
32                'W_HELP'
33)
Note: See TracBrowser for help on using the repository browser.