Changeset 5fc8e22 in sasview for sansmodels/src


Ignore:
Timestamp:
Apr 21, 2009 6:28:02 PM (16 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:
6fdfc8f
Parents:
29953e2
Message:

set value of orientation parameters

File:
1 edited

Legend:

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

    r3740b11 r5fc8e22  
    5656        self.model2= model2 
    5757         
    58         #if modelDiam != None: 
    59            #self.model2.params["radius"]= DiamEllipFunc() 
    60          
    61            #print "self.modelD",self.modelD.params,self.model1.params,self.model2.params     
    62  
     58        
    6359        ## dispersion 
    6460        self._set_dispersion() 
     
    6965        #list of parameter that can be fitted 
    7066        self._set_fixed_params()   
     67        ## parameters with orientation 
     68        for item in self.model1.orientation_params: 
     69            self.orientation_params.append(item) 
     70             
     71        for item in self.model2.orientation_params: 
     72            if not item in self.orientation_params: 
     73                self.orientation_params.append(item) 
     74                 
    7175         
    7276    def _clone(self, obj): 
Note: See TracChangeset for help on using the changeset viewer.