Ignore:
Timestamp:
Oct 12, 2010 6:22:08 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
20f00bed
Parents:
aaad3098
Message:

added some models and tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/SphereExpShellModel.py

    rfbae881 r339ce67  
    3939        self._set_fixed_params()   
    4040        self.model.params['n_shells'] = self.n_shells 
     41        ## functional multiplicity info of the model 
     42        # [int(maximum no. of functionality),"str(Titl), 
     43        # [str(name of function0),...], [str(x-asix name of sld),...]] 
     44        self.multiplicity_info = [max_nshells,"No. of Shells:",[],['Radius']] 
     45 
    4146        ## parameters with orientation: can be removed since there is no orientational params 
    4247        for item in self.model.orientation_params: 
     
    146151        # for core at r=0 
    147152        r.append(0) 
    148         beta.append(self.params['sld_core']) 
     153        beta.append(self.params['sld_core0']) 
    149154        # for core at r=rad_core 
    150         r.append(self.params['rad_core']) 
    151         beta.append(self.params['sld_core']) 
     155        r.append(self.params['rad_core0']) 
     156        beta.append(self.params['sld_core0']) 
    152157         
    153158        # for shells 
Note: See TracChangeset for help on using the changeset viewer.