Changeset 426df2e in sasview for src/sas/sasgui/perspectives/fitting


Ignore:
Timestamp:
Apr 11, 2017 9:31:49 AM (8 years ago)
Author:
butler
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
c44bb26a
Parents:
24b3821
Message:

clean up code on branch addressing #741

Location:
src/sas/sasgui/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/fitting.py

    r24b3821 r426df2e  
    17471747                                          data_id="Data  " + data.name + " unsmeared", 
    17481748                                          dy=unsmeared_error) 
    1749             # Comment this out until we can get P*S models with correctly populated parameters 
    17501749            if sq_model is not None and pq_model is not None: 
    17511750                self.create_theory_1D(x, sq_model, page_id, model, data, state, 
  • src/sas/sasgui/perspectives/fitting/model_thread.py

    r24b3821 r426df2e  
    206206            s_model = self.model.s_model 
    207207            p_model = self.model.p_model 
    208             #sq_values = np.zeros((len(self.data.x))) 
    209             #pq_values = np.zeros((len(self.data.x))) 
    210             #sq_values[index] = s_model.evalDistribution(self.data.x[index]) 
    211             #pq_values[index] = p_model.evalDistribution(self.data.x[index]) 
    212208            sq_values = s_model.evalDistribution(x) 
    213209            pq_values = p_model.evalDistribution(x) 
Note: See TracChangeset for help on using the changeset viewer.