Changeset a69e233 in sasview


Ignore:
Timestamp:
Feb 9, 2009 11:42:16 AM (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:
fd25fb0
Parents:
72637e8
Message:

Disabled fitting range modifying 2d model plot

File:
1 edited

Legend:

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

    r22210ef ra69e233  
    659659                    for i in range(len(data.x_bins)): 
    660660                        tempqij=math.sqrt((math.pow(data.y_bins[j],2)+math.pow(data.x_bins[i],2))) 
    661                         if tempqij>= qmin and tempqij<= qmax:  
    662                             theory.data[j][i]=model.runXY([data.y_bins[j],data.x_bins[i]]) 
    663                         else: 
    664                             theory.data[j][i]=None 
    665                 print "len(data.x_bins),len(data.y_bins);",len(data.x_bins),len(data.y_bins),i,j 
     661                        #if tempqij>= qmin and tempqij<= qmax:  
     662                        theory.data[j][i]=model.runXY([data.y_bins[j],data.x_bins[i]]) 
     663                        #else: 
     664                            #theory.data[j][i]=None 
     665                #print "len(data.x_bins),len(data.y_bins);",len(data.x_bins),len(data.y_bins),i,j 
    666666                #print "fitting : plot_helper:", theory.image 
    667667                #print "fitting : plot_helper:",theory.image 
Note: See TracChangeset for help on using the changeset viewer.