Changeset 500be82 in sasview for sansmodels/src/sans/models


Ignore:
Timestamp:
Dec 7, 2011 6:10:23 PM (13 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:
d760c0a
Parents:
33aea7f
Message:

revert

File:
1 edited

Legend:

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

    r33aea7f r500be82  
    22 
    33############################################################################## 
    4 #       This software was developed by the University of Tennessee as part of the 
    5 #       Distributed Data Analysis of Neutron Scattering Experiments (DANSE) 
    6 #       project funded by the US National Science Foundation. 
     4#    This software was developed by the University of Tennessee as part of the 
     5#    Distributed Data Analysis of Neutron Scattering Experiments (DANSE) 
     6#    project funded by the US National Science Foundation. 
    77# 
    8 #       If you use DANSE applications to do scientific research that leads to 
    9 #       publication, we ask that you acknowledge the use of the software with the 
    10 #       following sentence: 
     8#    If you use DANSE applications to do scientific research that leads to 
     9#    publication, we ask that you acknowledge the use of the software with the 
     10#    following sentence: 
    1111# 
    12 #       "This work benefited from DANSE software developed under NSF award DMR-0520547." 
     12#    "This work benefited from DANSE software developed under NSF award DMR-0520547." 
    1313# 
    14 #       copyright 2008, University of Tennessee 
     14#    copyright 2008, University of Tennessee 
    1515############################################################################## 
    1616 
     
    2020 
    2121:WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 
    22          DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\refl.h 
     22         DO NOT MODIFY THIS FILE, MODIFY ../c_extensions/refl.h 
    2323         AND RE-RUN THE GENERATOR SCRIPT 
    2424 
     
    3737    """  
    3838    Class that evaluates a ReflModel model.  
    39     This file was auto-generated from ..\c_extensions\refl.h. 
     39    This file was auto-generated from ../c_extensions/refl.h. 
    4040    Refer to that file and the structure it contains 
    4141    for details of the model. 
     
    4545         thick_inter0    = 1.0 [A] 
    4646         func_inter0     = 0.0  
    47          sld_bottom0     = 2.07e-006 [1/A^(2)] 
    48          sld_medium      = 1e-006 [1/A^(2)] 
     47         sld_bottom0     = 2.07e-06 [1/A^(2)] 
     48         sld_medium      = 1e-06 [1/A^(2)] 
    4949         background      = 0.0  
    50          sld_flat1       = 4e-006 [1/A^(2)] 
    51          sld_flat2       = 3.5e-006 [1/A^(2)] 
    52          sld_flat3       = 4e-006 [1/A^(2)] 
    53          sld_flat4       = 3.5e-006 [1/A^(2)] 
    54          sld_flat5       = 4e-006 [1/A^(2)] 
    55          sld_flat6       = 3.5e-006 [1/A^(2)] 
    56          sld_flat7       = 4e-006 [1/A^(2)] 
    57          sld_flat8       = 3.5e-006 [1/A^(2)] 
    58          sld_flat9       = 4e-006 [1/A^(2)] 
    59          sld_flat10      = 3.5e-006 [1/A^(2)] 
     50         sld_flat1       = 4e-06 [1/A^(2)] 
     51         sld_flat2       = 3.5e-06 [1/A^(2)] 
     52         sld_flat3       = 4e-06 [1/A^(2)] 
     53         sld_flat4       = 3.5e-06 [1/A^(2)] 
     54         sld_flat5       = 4e-06 [1/A^(2)] 
     55         sld_flat6       = 3.5e-06 [1/A^(2)] 
     56         sld_flat7       = 4e-06 [1/A^(2)] 
     57         sld_flat8       = 3.5e-06 [1/A^(2)] 
     58         sld_flat9       = 4e-06 [1/A^(2)] 
     59         sld_flat10      = 3.5e-06 [1/A^(2)] 
    6060         thick_inter1    = 1.0 [A] 
    6161         thick_inter2    = 1.0 [A] 
     
    103103        ## Model description 
    104104        self.description ="""Calculate neutron reflectivity using the Parratt iterative formula 
    105                 Parameters: 
    106                 background:background 
    107                 scale: scale factor 
    108                 sld_bottom0: the SLD of the substrate 
    109                 sld_medium: the SLD of the incident medium 
    110                 or superstrate 
    111                 sld_flatN: the SLD of the flat region of 
    112                 the N'th layer 
    113                 thick_flatN: the thickness of the flat 
    114                 region of the N'th layer 
    115                 func_interN: the function used to describe 
    116                 the interface of the N'th layer 
    117                 thick_interN: the thickness of the interface 
    118                 of the N'th layer 
    119                 Note: the layer number starts to increase 
    120                 from the bottom (substrate) to the top.""" 
     105        Parameters: 
     106        background:background 
     107        scale: scale factor 
     108        sld_bottom0: the SLD of the substrate 
     109        sld_medium: the SLD of the incident medium 
     110        or superstrate 
     111        sld_flatN: the SLD of the flat region of 
     112        the N'th layer 
     113        thick_flatN: the thickness of the flat 
     114        region of the N'th layer 
     115        func_interN: the function used to describe 
     116        the interface of the N'th layer 
     117        thick_interN: the thickness of the interface 
     118        of the N'th layer 
     119        Note: the layer number starts to increase 
     120        from the bottom (substrate) to the top.""" 
    121121        
    122122        ## Parameter details [units, min, max] 
     
    196196        """ Return a identical copy of self """ 
    197197        return self._clone(ReflModel())    
    198          
     198            
    199199    
    200200    def run(self, x=0.0): 
Note: See TracChangeset for help on using the changeset viewer.