source: sasview/sansview/docs/notes.txt @ fc6ea43

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since fc6ea43 was d89f09b, checked in by Gervaise Alina <gervyh@…>, 16 years ago
  • Property mode set to 100644
File size: 4.4 KB
Line 
1Organisation
2
3  fitting module
4        +
5        |                        + - - + sim_page (from fitpanel2 import AUIPanel)
6        +                        |
7  Fit_panel +- - -+ Notebook +
8  ( from fitpanel2           |
9    import FitPanel2)        |
10                             + -- + page(from fitpanel import Fitpanel)
11 
12 
13 Dictionary page_finder keys= page value= FitProblem(list of data ,theory.name and models )
14 
15            +---------------------------------------------------------------------------+             
16 +-------+  |   +--------+       +------------+       +---------------+
17 |page   |+----+|  data  |+-----+|theory name |+-----+|[Models,M_name]|  FitProblem     |
18 +-------+  |   +--------+       +------------+       +---------------+     
19 |          +---------------------------------------------------------------------------+
20 +-------+      +--------+       +------------+       +---------------+
21 |page   |+----+|  data  |+-----+|theory name |+-----+|[Models,M_name]|
22 +-------+      +--------+       +------------+       +---------------+   
23 
24 
25 Dictionary was replace by class   
26 
271- [Problem] Data loaded from files of 2 columns do not have group_id as field.
28   thus will always generates a theory unattached to data (2 columns)
29   
302- [Problem] not fit able to fit 2 data and one model  since unable to select
31         two data at the same time.       
32         
333- [Problem ] when fitting two model of same nature   how will the user entered the proper expression
34    Need a txtcrl to specify a new name for a each type model
35    example lineModel = M1
36                lineModel = M2   
37 [solve] but can be improve?
38   
39               
40 4- I create a page given an group_id  so the 2 columns data need group_id to be add twice
41 since for them i create a page call fit but if a page called fit is already added it will not
42 added again if a 2 nd data of 2 columns is selected   
43[Question] if  a page is not created should i post a status event message? 
44
45
465- [To Do]take care of data range with park
47
486- [Problem]when the user close the fitting panel and load a data and what to do the fit again with the
49the panel fit does not show up automatically
50[solve]
51
527- [To do ]we need a way to close tab may be a close button for current tab
53        [solve] close button added
54
558- [Problem ] when selecting all check buttons manually , the main check button does
56 not changed accordingly
57 [FIXED]
58 
599- [Problem] when the user select a model first and want to perform a fit , we should fine a
60 way to give the data the same group_id as the model loaded.
61 [ANSWER] the user will perferm the fit only starting by loading data
62 [tentative of answer]  when selecting a model from the menu is the draw in the separate
63 window from data. it is only when selecting data that a fit page is added
64 
65 10- [Problem] How to tackle the problem the other way around? when the user select a model
66 from the menu bar , does a new place has to be create to? which name to give to this page?
67 since when loading a data a new page is created?
68 []SAME ANSWER AS 9]
69
70 11-[TO DO] when enter value in parameter fields redraw model
71 [DONE]
72 
73 12-[TO DO] comment code and refine
74 
75 13- [UNABLE TO USE] post event on status bar and use calthread
76 [solve] except calthread
77 
78 14- [TO DO] more error checking
79 
80 15-[suggestion ] keep only one button close and close the current page except simpage
81 [suggestion accepted]only one close button to close the current page
82 
83 
84 16-[Question]redraw with evt_kill_focus or evt_text_enter
85 
86 17-[QUESTION] does the model need to be redraw when change fitting data range?
87[tentative of answer] _ontextEnter : when xmin and xmax changed redraw model
88[fixed]
89
90
9118-[Problem] when fitting cylinder model with cylinder data some fitting results are swapped
92[fixed] sort() method not remove yet
93
9419-[problem] when closing a windows model fitted doesn't disappear fron simpage
95[fixed]
96
9719-[Problem] how to catch not converging fitting? both scipy and park?
98 exception: raise LinAlgError, 'SVD did not converge'
99LinAlgError: SVD did not converge
100
10120- fitness class in Models was helping to overwrite a theory plot since always
102has the same name: so do I put back fitness class or always name theory with fitness?
103
10421- [question] should the data being replot when changing xmin and xmax???
105
10622-[Question ] how to best design sim_page functionalities?
10723- [Question] how to use one object result from scipy? park returning one result
Note: See TracBrowser for help on using the repository browser.