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/StackedDisksModel.py

    r9bd69098 r975ec8e  
    3434         scale           = 0.01  
    3535         radius          = 3000.0 [A] 
    36          length          = 10.0 [A] 
    37          thickness       = 15.0 [A] 
     36         core_thick      = 10.0 [A] 
     37         layer_thick     = 15.0 [A] 
    3838         core_sld        = 4e-006 [1/A²] 
    3939         layer_sld       = -4e-007 [1/A²] 
    4040         solvent_sld     = 5e-006 [1/A²] 
    41          nlayers         = 1.0  
    42          spacing         = 0.0  
     41         n_stacking      = 1.0  
     42         sigma_d         = 0.0  
    4343         background      = 0.001 [1/cm] 
    44          axis_theta      = 1.0 [rad] 
    45          axis_phi        = 1.0 [rad] 
     44         axis_theta      = 0.0 [rad] 
     45         axis_phi        = 0.0 [rad] 
    4646 
    4747    """ 
     
    6363        self.details['scale'] = ['', None, None] 
    6464        self.details['radius'] = ['[A]', None, None] 
    65         self.details['length'] = ['[A]', None, None] 
    66         self.details['thickness'] = ['[A]', None, None] 
     65        self.details['core_thick'] = ['[A]', None, None] 
     66        self.details['layer_thick'] = ['[A]', None, None] 
    6767        self.details['core_sld'] = ['[1/A²]', None, None] 
    6868        self.details['layer_sld'] = ['[1/A²]', None, None] 
    6969        self.details['solvent_sld'] = ['[1/A²]', None, None] 
    70         self.details['nlayers'] = ['', None, None] 
    71         self.details['spacing'] = ['', None, None] 
     70        self.details['n_stacking'] = ['', None, None] 
     71        self.details['sigma_d'] = ['', None, None] 
    7272        self.details['background'] = ['[1/cm]', None, None] 
    7373        self.details['axis_theta'] = ['[rad]', None, None] 
     
    7575 
    7676                ## fittable parameters 
    77         self.fixed=['length.width', 'radius.width', 'axis_theta.width', 'axis_phi.width'] 
     77        self.fixed=['core_thick.width', 'layer_thick.width', 'radius.width', 'axis_theta.width', 'axis_phi.width'] 
    7878         
    7979        ## parameters with orientation 
Note: See TracChangeset for help on using the changeset viewer.