Changeset a890be6 in sasview


Ignore:
Timestamp:
Oct 17, 2008 4:40:30 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
4274c0e
Parents:
d4f7262
Message:

modified fitting for data 2dD

File:
1 edited

Legend:

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

    r9d31a8b ra890be6  
    528528                if ymax==None: 
    529529                    qmin=data.ymax 
     530               
    530531                for i in range(len(data.y_bins)): 
    531532                    if data.y_bins[i]>= ymin and data.y_bins[i]<= ymax: 
     
    533534                            if data.x_bins[i]>= xmin and data.x_bins[i]<= xmax: 
    534535                                theory.image= model.runXY([data.x_bins[j],data.y_bins[i]]) 
     536                
     537                     
    535538                    #print "fitting : plot_helper:", theory.image 
    536539                #print data.image 
    537540                #theory.image=model.runXY(data.image) 
    538                 theory.image=model.run(data.image) 
    539                 print "fitting : plot_helper:",theory.image 
     541                
     542                #print "fitting : plot_helper:",theory.image 
    540543                theory.zmin= data.zmin 
    541544                theory.zmax= data.zmax 
Note: See TracChangeset for help on using the changeset viewer.