Changeset 9112910e in sasview for sansview/perspectives/fitting
- Timestamp:
- Jun 19, 2011 3:01:36 PM (14 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:
- 58c90ba
- Parents:
- 9e4365b
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r9e4365b r9112910e 1893 1893 if cov[ind]!=None : 1894 1894 if numpy.isfinite(float(cov[ind])): 1895 print "cov[ind]",cov[ind] 1895 1896 val_err = format_number(cov[ind], True) 1896 1897 if not self.is_mac: … … 1898 1899 item[4].Show(True) 1899 1900 item[4].SetValue(val_err) 1900 1901 1901 1902 has_error = True 1902 1903 i += 1 … … 1905 1906 if not self.text2_3.IsShown(): 1906 1907 self.text2_3.Show(True) 1907 1908 print "err" 1908 1909 ## save current state 1909 1910 self.save_current_state() … … 1913 1914 self.Layout() 1914 1915 self.Refresh() 1915 time.sleep(0.1)1916 #time.sleep(0.1) 1916 1917 #plot model ( when drawing, do not update chisqr value again) 1917 1918 self._draw_model(update_chisqr=False) -
sansview/perspectives/fitting/fitting.py
r9e4365b r9112910e 513 513 enable1D=enable1D, enable2D=enable2D, 514 514 qmin=qmin, qmax=qmax) 515 time.sleep(0.2)515 #time.sleep(0.2) 516 516 517 517 def draw_model(self, model, page_id, data=None, smearer=None, … … 642 642 improvement_delta=0.1) 643 643 644 time.sleep(0.2)644 #time.sleep(0.2) 645 645 ## perform single fit 646 646 … … 663 663 664 664 self.fit_thread_list[current_page_id] = calc_fit 665 time.sleep(0.3)665 #time.sleep(0.3) 666 666 667 667 #self.ready_fit(calc_fit=calc_fit) … … 914 914 """ 915 915 if page_id[0] in self.fit_thread_list.keys(): 916 del self.fit_thread_list[page_id[0]] 917 time.sleep(0.2) 916 del self.fit_thread_list[page_id[0]] 918 917 try: 919 918 if result == None: … … 985 984 page_id = [] 986 985 ## fit more than 1 model at the same time 987 time.sleep(0.2)986 #time.sleep(0.2) 988 987 try: 989 988 msg = ""
Note: See TracChangeset
for help on using the changeset viewer.