Changeset 35647ab in sasmodels


Ignore:
Timestamp:
Mar 19, 2016 1:08:56 PM (9 years ago)
Author:
wojciech
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:
352964b
Parents:
ed048b2
Message:

Few checks in the code

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/core.py

    re79f0a5 r35647ab  
    217217    uncertainty. 
    218218    """ 
     219    print pars 
    219220    fixed_pars = [pars.get(name, kernel.info['defaults'][name]) 
    220221                  for name in kernel.fixed_pars] 
  • sasmodels/kernelpy.py

    rfcd7bbd r35647ab  
    128128 
    129129    def __call__(self, fixed, pd, cutoff=1e-5): 
    130         #print("fixed",fixed) 
    131         #print("pd", pd) 
     130        print("fixed",fixed) 
     131        print("pd", pd) 
    132132        args = self.args[:]  # grab a copy of the args 
    133133        form, form_volume = self.kernel, self.info['form_volume'] 
     
    187187    ################################################################ 
    188188 
     189    #TODO: Wojtek's notes 
     190    #TODO: The goal is to restructure polydispersity loop 
     191    #so it allows fitting arbitrary polydispersity parameters 
     192    #and it accepts cases like coupled parameters 
    189193    weight = np.empty(len(pd), 'd') 
    190194    if weight.size > 0: 
Note: See TracChangeset for help on using the changeset viewer.