Ignore:
Timestamp:
Aug 20, 2009 1:24:23 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:
1d67243
Parents:
191b369
Message:

fixed and tested ppmodel 2d and cleaned it up.

File:
1 edited

Legend:

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

    r2cb89e7 r8e36cdd  
    3434         scale           = 1.0  
    3535         short_a         = 35.0 [A] 
    36          long_b          = 75.0 [A] 
    37          longer_c        = 400.0 [A] 
     36         short_b         = 75.0 [A] 
     37         long_c          = 400.0 [A] 
    3838         contrast        = 5.3e-006 [1/A²] 
    3939         background      = 0.0 [1/cm] 
     
    5757                 
    5858                scale:Scale factor 
    59                 short_a: length of short side of the parallelepiped [A] 
    60                 long_b: length of long side of the parallelepiped [A] 
    61                 longer_c: length of longer side of the parallelepiped [A] 
     59                short_a: length of short edge [A] 
     60                short_b: length of another short edge [A] 
     61                long_c: length of long edge of the parallelepiped [A] 
    6262                contrast: particle_sld - solvent_sld 
    6363                background:Incoherent Background [1/cm]""" 
     
    6767        self.details['scale'] = ['', None, None] 
    6868        self.details['short_a'] = ['[A]', None, None] 
    69         self.details['long_b'] = ['[A]', None, None] 
    70         self.details['longer_c'] = ['[A]', None, None] 
     69        self.details['short_b'] = ['[A]', None, None] 
     70        self.details['long_c'] = ['[A]', None, None] 
    7171        self.details['contrast'] = ['[1/A²]', None, None] 
    7272        self.details['background'] = ['[1/cm]', None, None] 
     
    7676 
    7777                ## fittable parameters 
    78         self.fixed=['short_a.width', 'long_b.width', 'longer_c.width', 'parallel_phi.width', 'parallel_psi.width', 'parallel_theta.width'] 
     78        self.fixed=['short_a.width', 'short_b.width', 'long_c.width', 'parallel_phi.width', 'parallel_psi.width', 'parallel_theta.width'] 
    7979         
    8080        ## parameters with orientation 
Note: See TracChangeset for help on using the changeset viewer.