Ignore:
Timestamp:
Apr 16, 2009 2:37:39 PM (16 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:
fca9cbd9
Parents:
3fef0a8
Message:

unit symbol Angst. back to A and re-organized model descriptions

File:
1 edited

Legend:

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

    r0824909 r1ed3834  
    2929        ## Name of the model 
    3030        self.name = "Lorentz" 
    31         self.description="Lorentz (Ornstein-Zernicke) model.\n\ 
    32         F(x) = scale/( 1 + (x*L)^2 ) + bkd \nThe model has three parameters:\n \ 
     31        self.description="""Lorentz (Ornstein-Zernicke) model. 
     32        F(x) = scale/( 1 + (x*L)^2 ) + bkd  
     33         
     34        The model has three parameters:       
    3335        L     =  screen Length\n\ 
    3436        scale  =  scale factor\n\ 
    35         bkd    =  incoherent background" 
     37        bkd    =  incoherent background""" 
    3638        ## Define parameters 
    3739        self.params = {} 
     
    4244        ## Parameter details [units, min, max] 
    4345        self.details = {} 
    44         self.details['length']     = ['[Å]', None, None] 
     46        self.details['length']     = ['[A]', None, None] 
    4547        self.details['scale']      = ['', None, None] 
    4648        self.details['background'] = ['[1/cm]', None, None] 
Note: See TracChangeset for help on using the changeset viewer.