Changeset 18e6c5e in sasview for sansview


Ignore:
Timestamp:
Mar 26, 2010 5:35:44 PM (15 years ago)
Author:
Jae Cho <jhjcho@…>
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:
c4f52e3
Parents:
dde2d44
Message:

fixed 2d fitting w/park problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage.py

    r83ad478 r18e6c5e  
    322322                self.enable_smearer.Disable()   
    323323            else: 
    324                 print "2dl" 
    325324                self.smear_description_2d.Show(True)  
    326325                self.pinhole_smearer.Disable()  
     
    831830                    flag1 = self.update_pinhole_smear() 
    832831                    flag = flag or flag1 
    833             else: 
     832            elif self.data.__class__.__name__ !="Data2D": 
    834833                self.manager.set_smearer(smearer=temp_smearer, qmin= float(self.qmin_x), 
    835834                                                         qmax= float(self.qmax_x))  
     
    11731172        qmin,qmax = self.get_range() 
    11741173        if self.data.__class__.__name__ =="Data2D": 
    1175             npts2fit = len(self.data[self.mask]) 
     1174            npts2fit = len(self.data.data[self.mask]) 
    11761175        else: 
    11771176            for qx in self.data.x: 
Note: See TracChangeset for help on using the changeset viewer.