Changeset 5536035 in sasview for sansview/perspectives/fitting
- Timestamp:
- May 24, 2010 5:26:03 PM (15 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:
- f83b94a
- Parents:
- 9c38ed4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r4d5fa8c r5536035 9 9 """ 10 10 import re 11 import sys, wx, logging 12 import string, numpy, math 11 import sys 12 import wx 13 import logging 14 import numpy 15 import math 16 import string 13 17 import time 14 18 import thread 15 19 from copy import deepcopy 16 20 17 from danse.common.plottools.PlotPanel import PlotPanel21 from DataLoader import Loader 18 22 19 23 from sans.guiframe.dataFitting import Data2D 20 24 from sans.guiframe.dataFitting import Data1D 21 25 from sans.guiframe.dataFitting import Theory1D 22 23 from sans.guiframe.utils import format_number24 26 25 27 from sans.guicomm.events import NewPlotEvent, StatusEvent … … 807 809 return 808 810 809 for page, value in self.page_finder.iteritems(): 810 """ 811 if format_number(result.fitness) == page.get_chi2(): 812 #ToDo: Compare parameter inputs with outputs too. 813 wx.PostEvent(self.parent, StatusEvent(status="%s " % msg)) 814 break 815 """ 811 for page, value in self.page_finder.iteritems(): 816 812 if value.get_scheduled()==1: 817 813 model = value.get_model()
Note: See TracChangeset
for help on using the changeset viewer.