source: sasview/src/sas/qtgui/Perspectives/Corfunc/CorfuncUtils.py @ e4a3302

Last change on this file since e4a3302 was e4a3302, checked in by Adam Washington <adam.washington@…>, 7 years ago

Move more data into the model

  • Property mode set to 100644
File size: 417 bytes
Line 
1def enum(*sequential, **named):
2    enums = dict(zip(sequential, range(len(sequential))), **named)
3    return type('Enum', (), enums)
4
5WIDGETS = enum( 'W_QMIN',
6                'W_QMAX',
7                'W_QCUTOFF',
8                'W_BACKGROUND',
9                'W_TRANSFORM',
10                'W_GUINIERA',
11                'W_GUINIERB',
12                'W_PORODK',
13                'W_PORODSIGMA',
14                )
Note: See TracBrowser for help on using the repository browser.