Changeset f1ecfa92 in sasmodels for sasmodels/bumps_model.py


Ignore:
Timestamp:
Feb 20, 2015 9:38:00 AM (9 years ago)
Author:
ajj
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
6ea6902
Parents:
4c8f9cd
Message:

towards fixing the 'models with no polydispersity' problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/bumps_model.py

    r29f5536 rf1ecfa92  
    348348                self._fn = self.model(input) 
    349349 
    350             pars = [getattr(self,p).value for p in self._fn.fixed_pars] 
     350            fixed_pars = [getattr(self,p).value for p in self._fn.fixed_pars] 
    351351            pd_pars = [self._get_weights(p) for p in self._fn.pd_pars] 
    352             #print pars 
    353             self._theory[self.index] = self._fn(pars, pd_pars, self.cutoff) 
     352            #print fixed_pars,pd_pars 
     353            self._theory[self.index] = self._fn(fixed_pars, pd_pars, self.cutoff) 
    354354            #self._theory[:] = self._fn.eval(pars, pd_pars) 
    355355            if self.data_type == 'sesans': 
Note: See TracChangeset for help on using the changeset viewer.