Changeset 386ffe1 in sasview for src/sas/perspectives/fitting/fit_thread.py
- Timestamp:
- Feb 20, 2015 5:02:38 AM (9 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- cda1cf8
- Parents:
- 018582f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/fit_thread.py
r79492222 r386ffe1 28 28 yieldtime = 0.03, 29 29 worktime = 0.03, 30 ftol = None,31 30 reset_flag = False): 32 31 CalcThread.__init__(self, … … 44 43 self.updatefn = updatefn 45 44 #Relative error desired in the sum of squares. 46 self.ftol = ftol47 45 self.reset_flag = reset_flag 48 46 … … 67 65 list_handler = [] 68 66 list_curr_thread = [] 69 list_ftol = []70 67 list_reset_flag = [] 71 68 list_map_get_attr = [] … … 76 73 list_q.append(None) 77 74 list_curr_thread.append(self) 78 list_ftol.append(self.ftol)79 75 list_reset_flag.append(self.reset_flag) 80 76 list_fit_function.append('fit') … … 82 78 #from multiprocessing import Pool 83 79 inputs = zip(list_map_get_attr, self.fitter, list_fit_function, 84 list_q, list_q, list_handler,list_curr_thread, list_ftol,80 list_q, list_q, list_handler,list_curr_thread, 85 81 list_reset_flag) 86 82 result = map(map_apply, inputs)
Note: See TracChangeset
for help on using the changeset viewer.