Ignore:
Timestamp:
Aug 14, 2009 5:58:58 PM (15 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:
d5bd424
Parents:
cad821b
Message:

working on 2D models. Still need smore corrections and unit tests.

File:
1 edited

Legend:

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

    r9bd69098 r975ec8e  
    3838         contrast        = 5.3e-006 [1/A²] 
    3939         background      = 0.0 [1/cm] 
    40          axis_theta      = 1.0 [rad] 
    41          axis_phi        = 1.0 [rad] 
     40         axis_theta      = 0.0 [rad] 
     41         axis_phi        = 0.0 [rad] 
     42         axis_psi        = 0.0 [rad] 
    4243 
    4344    """ 
     
    6768        self.details['axis_theta'] = ['[rad]', None, None] 
    6869        self.details['axis_phi'] = ['[rad]', None, None] 
     70        self.details['axis_psi'] = ['[rad]', None, None] 
    6971 
    7072                ## fittable parameters 
    71         self.fixed=['axis_phi.width', 'axis_theta.width', 'semi_axisA.width', 'semi_axisB.width', 'semi_axisC.width'] 
     73        self.fixed=['axis_psi.width', 'axis_phi.width', 'axis_theta.width', 'semi_axisA.width', 'semi_axisB.width', 'semi_axisC.width'] 
    7274         
    7375        ## parameters with orientation 
    74         self.orientation_params =['axis_phi', 'axis_theta', 'axis_phi.width', 'axis_theta.width'] 
     76        self.orientation_params =['axis_psi', 'axis_phi', 'axis_theta', 'axis_psi.width', 'axis_phi.width', 'axis_theta.width'] 
    7577    
    7678    def clone(self): 
Note: See TracChangeset for help on using the changeset viewer.