Ignore:
Timestamp:
Jan 29, 2009 5:34:59 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
da3dae3
Parents:
1f3655a
Message:

c_model wrappergenerator modified…
self.fixed list added to model

File:
1 edited

Legend:

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

    r988130c6 r836fe6e  
    1717 
    1818        WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 
    19                  DO NOT MODIFY THIS FILE, MODIFY ../c_extensions/core_shell_cylinder.h 
     19                 DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\core_shell_cylinder.h 
    2020                 AND RE-RUN THE GENERATOR SCRIPT 
    2121 
     
    2828class CoreShellCylinderModel(CCoreShellCylinderModel, BaseComponent): 
    2929    """ Class that evaluates a CoreShellCylinderModel model.  
    30         This file was auto-generated from ../c_extensions/core_shell_cylinder.h. 
     30        This file was auto-generated from ..\c_extensions\core_shell_cylinder.h. 
    3131        Refer to that file and the structure it contains 
    3232        for details of the model. 
     
    5454        ## Name of the model 
    5555        self.name = "CoreShellCylinderModel" 
     56        ## Model description 
    5657        self.description ="""P(q,alpha)= scale/Vs*f(q)^(2) + bkg  Where:\n\ 
    5758                f(q)= 2(core_sld- solvant_sld)* Vc*sin[qLcos(alpha/2)]/\n\ 
     
    7273                theta: axis_theta of the cylinder 
    7374                phi: the axis_phi of the cylinder""" 
     75        
    7476                ## Parameter details [units, min, max] 
    7577        self.details = {} 
     
    8486        self.details['axis_theta'] = ['rad', None, None] 
    8587        self.details['axis_phi'] = ['rad', None, None] 
    86         # fixed paramaters 
    87         self.fixed=['axis_phi.npts','axis_phi.nsigmas', 
    88                                     'axis_theta.npts','axis_theta.nsigmas', 
    89                                     'length.npts','length.nsigmas', 
    90                                     'radius.npts','radius.nsigmas', 
    91                                     'thickness.npts','thickness.nsigmas' ] 
     88 
     89                ## fittable parameters 
     90        self.fixed=['axis_phi.width', 'axis_theta.width', 'length.width', 'radius.width', 'thickness_width'] 
    9291    
    9392    def clone(self): 
Note: See TracChangeset for help on using the changeset viewer.