Changeset 2e643a8 in sasview for sansview/perspectives


Ignore:
Timestamp:
Aug 3, 2011 11:32:41 AM (13 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:
43aef76
Parents:
49c92de
Message:

working on batch fit

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    r4225aed r2e643a8  
    385385        data_1d_list = [] 
    386386        data_2d_list = [] 
     387        group_id_1d = wx.NewId() 
    387388        # separate data into data1d and data2d list 
    388389        for data in data_list: 
    389390            if data.__class__.__name__ == "Data1D": 
     391                data.group_id = group_id_1d 
    390392                data_1d_list.append(data) 
    391393            if data.__class__.__name__ == "Data2D": 
     394                data.group_id = NewId() 
    392395                data_2d_list.append(data) 
    393396        page = None 
  • sansview/perspectives/fitting/fitting.py

    r67ae937 r2e643a8  
    693693        ## perform single fit 
    694694        if fitproblem_count == 1: 
    695             print "fitter_list", fitter_list 
    696695            calc_fit = FitThread(handler = handler, 
    697696                                    fn=fitter_list, 
Note: See TracChangeset for help on using the changeset viewer.