Ignore:
Timestamp:
Apr 15, 2009 7:59:36 AM (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:
27c5c26
Parents:
b22748b
Message:

changed notation of units

File:
1 edited

Legend:

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

    r25a608f5 r0824909  
    3333        List of default parameters: 
    3434         scale           = 1.0  
    35          r_minor         = 20.0 A 
    36          r_ratio         = 1.5 A 
    37          length          = 400.0 A 
    38          contrast        = 3e-006 A-2 
    39          background      = 0.0 cm-1 
    40          cyl_theta       = 1.57 rad 
    41          cyl_phi         = 0.0 rad 
    42          cyl_psi         = 0.0 rad 
     35         r_minor         = 20.0 [Å] 
     36         r_ratio         = 1.5  
     37         length          = 400.0 [Å] 
     38         contrast        = 3e-006 [1/Ų] 
     39         background      = 0.0 [1/cm] 
     40         cyl_theta       = 1.57 [rad] 
     41         cyl_phi         = 0.0 [rad] 
     42         cyl_psi         = 0.0 [rad] 
    4343 
    4444    """ 
     
    5454        self.name = "EllipticalCylinderModel" 
    5555        ## Model description 
    56         self.description ="""""""" 
     56        self.description ="""Please see details...""" 
    5757        
    5858                ## Parameter details [units, min, max] 
    5959        self.details = {} 
    6060        self.details['scale'] = ['', None, None] 
    61         self.details['r_minor'] = ['A', None, None] 
    62         self.details['r_ratio'] = ['A', None, None] 
    63         self.details['length'] = ['A', None, None] 
    64         self.details['contrast'] = ['A-2', None, None] 
    65         self.details['background'] = ['cm-1', None, None] 
    66         self.details['cyl_theta'] = ['rad', None, None] 
    67         self.details['cyl_phi'] = ['rad', None, None] 
    68         self.details['cyl_psi'] = ['rad', None, None] 
     61        self.details['r_minor'] = ['[Å]', None, None] 
     62        self.details['r_ratio'] = ['', None, None] 
     63        self.details['length'] = ['[Å]', None, None] 
     64        self.details['contrast'] = ['[1/Ų]', None, None] 
     65        self.details['background'] = ['[1/cm]', None, None] 
     66        self.details['cyl_theta'] = ['[rad]', None, None] 
     67        self.details['cyl_phi'] = ['[rad]', None, None] 
     68        self.details['cyl_psi'] = ['[rad]', None, None] 
    6969 
    7070                ## fittable parameters 
Note: See TracChangeset for help on using the changeset viewer.