Changeset 7ce6c72 in sasview for sansview


Ignore:
Timestamp:
Feb 3, 2009 6:51:09 PM (16 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:
ee69839
Parents:
c4550b0
Message:

redefined qmin and qmax for 2D-fitting

File:
1 edited

Legend:

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

    re5af88b r7ce6c72  
    626626                theory.y_bins= data.y_bins 
    627627                tempy=[] 
    628                 if qmin==None: 
    629                     qmin=data.xmin 
    630                 if qmax==None: 
    631                     qmax=data.xmax 
    632                 if ymin==None: 
    633                     ymin=data.ymin 
    634                 if ymax==None: 
    635                     ymax=data.ymax 
    636                      
     628                #if qmin==None: 
     629                qmin=data.xmin 
     630                #if qmax==None: 
     631                qmax=data.xmax 
     632                #if ymin==None: 
     633                ymin=data.ymin 
     634                #if ymax==None: 
     635                ymax=data.ymax 
     636                print " q range =",     
    637637                theory.data = numpy.zeros((len(data.y_bins),len(data.x_bins))) 
    638638                for i in range(len(data.y_bins)): 
Note: See TracChangeset for help on using the changeset viewer.