source: sasview/src/sas/qtgui/Perspectives/Fitting/FitPage.py @ 2add354

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

Code review fixes for SASVIEW-273

  • Property mode set to 100755
File size: 1.1 KB
Line 
1class FitPage(object):
2    """
3    Container for all data related to the current fit page
4    """
5    MIN_RANGE=0
6    MAX_RANGE=1
7    NPTS=2
8    NPTS_FIT=3
9    LOG_POINTS=4
10    WEIGHTING=5
11    SMEARING_OPTION=6
12    SMEARING_ACCURACY=7
13    SMEARING_MIN=8
14    SMEARING_MAX=9
15    def __init__(self, parent=None):
16        """
17        Define the dictionary
18        """
19        # Main tab
20        self.current_category = ""
21        self.current_model = ""
22        self.current_factor = ""
23
24        self.page_id = 0
25        self.is_data_loaded = False
26        self.filename = ""
27       
28        # QModels
29        self.param_model = None
30        self.poly_model = None
31        self.magnetism_model = None
32
33        # Displayed values - tab #1
34        self.is_polydisperse = False
35        self.is2D = False
36        self.is_magnetism = False
37        self.displayed_values = {}
38        self.chi2 = None
39
40        # Fit options - tab #2
41        self.fit_options = {}
42        # Weight options - tab #2
43        #self.weighting_options = {}
44        # Smearing options - tab #3
45        self.smearing_options = {}
46
Note: See TracBrowser for help on using the repository browser.