Changes in src/sas/sasgui/plottools/LineModel.py [959eb01:a26f67f] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/plottools/LineModel.py
r959eb01 ra26f67f 2 2 """ 3 3 Provide Line function (y= Ax + B). Until July 10, 2016 this function provided 4 (y= A + Bx). This however was contrary to all the other code using it which 4 (y= A + Bx). This however was contrary to all the other code using it which 5 5 assumed (y= mx+b) or in this nomenclature (y=Ax + B). This lead to some 6 6 contortions in the code and worse incorrect calculations until now for at least … … 67 67 Evaluate the model 68 68 69 :note: This is the function called by fitDialog to calculate the70 the y(xmin) and y(xmax), but the only difference between this and71 runXY is when the if statement is true. I however cannot see what that72 function is for. It needs to be documented here or removed.73 PDB 7/10/1674 75 69 :param x: simple value 76 70 77 71 :return: (Line value) 72 73 .. note:: 74 This is the function called by fitDialog to calculate the 75 the y(xmin) and y(xmax), but the only difference between this and 76 runXY is when the if statement is true. I however cannot see what 77 that function is for. It needs to be documented here or removed. 78 PDB 7/10/16 78 79 """ 79 80 if x.__class__.__name__ == 'list': … … 89 90 """ 90 91 Evaluate the model. 91 92 :note: This is to be what is called by fitDialog for the actual fit93 but the only difference between this and run is when the if94 statement is true. I however cannot see what that function95 is for. It needs to be documented here or removed. PDB 7/10/1696 92 97 93 :param x: simple value … … 99 95 :return: Line value 100 96 97 .. note:: 98 This is to be what is called by fitDialog for the actual fit 99 the only difference between this and run is when the if 100 statement is true. I however cannot see what that function 101 is for. It needs to be documented here or removed. PDB 7/10/16 101 102 """ 102 103 if x.__class__.__name__ == 'list':
Note: See TracChangeset
for help on using the changeset viewer.