Changeset cbcdd2c in sasview for src/sas/sasgui/perspectives/fitting/model_thread.py
- Timestamp:
- Mar 10, 2017 9:44:44 AM (8 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- cd31251
- Parents:
- 5236449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/model_thread.py
r934ce649 rcbcdd2c 99 99 output[index_model] = value 100 100 elapsed = time.time() - self.starttime 101 self.complete(image=output, 102 data=self.data, 103 page_id=self.page_id, 104 model=self.model, 105 state=self.state, 106 toggle_mode_on=self.toggle_mode_on, 107 elapsed=elapsed, 108 index=index_model, 109 fid=self.fid, 110 qmin=self.qmin, 111 qmax=self.qmax, 112 weight=self.weight, 113 #qstep=self.qstep, 114 update_chisqr=self.update_chisqr, 115 source=self.source) 101 #self.complete(image=output, 102 # data=self.data, 103 # page_id=self.page_id, 104 # model=self.model, 105 # state=self.state, 106 # toggle_mode_on=self.toggle_mode_on, 107 # elapsed=elapsed, 108 # index=index_model, 109 # fid=self.fid, 110 # qmin=self.qmin, 111 # qmax=self.qmax, 112 # weight=self.weight, 113 # #qstep=self.qstep, 114 # update_chisqr=self.update_chisqr, 115 # source=self.source) 116 return (output, 117 self.data, 118 self.page_id, 119 self.model, 120 self.state, 121 self.toggle_mode_on, 122 elapsed, 123 index_model, 124 self.fid, 125 self.qmin, 126 self.qmax, 127 self.weight, 128 self.update_chisqr, 129 self.source) 116 130 117 131 … … 178 192 elapsed = time.time() - self.starttime 179 193 180 self.complete(x=self.data.x[index], y=output[index], 181 page_id=self.page_id, 182 state=self.state, 183 weight=self.weight, 184 fid=self.fid, 185 toggle_mode_on=self.toggle_mode_on, 186 elapsed=elapsed, index=index, model=self.model, 187 data=self.data, 188 update_chisqr=self.update_chisqr, 189 source=self.source) 194 #self.complete(x=self.data.x[index], y=output[index], 195 # page_id=self.page_id, 196 # state=self.state, 197 # weight=self.weight, 198 # fid=self.fid, 199 # toggle_mode_on=self.toggle_mode_on, 200 # elapsed=elapsed, index=index, model=self.model, 201 # data=self.data, 202 # update_chisqr=self.update_chisqr, 203 # source=self.source) 204 return (self.data.x[index], output[index], 205 self.page_id, 206 self.state, 207 self.weight, 208 self.fid, 209 self.toggle_mode_on, 210 elapsed, index, self.model, 211 self.data, 212 self.update_chisqr, 213 self.source) 190 214 191 215 def results(self):
Note: See TracChangeset
for help on using the changeset viewer.