Ignore:
Timestamp:
Oct 28, 2008 3:22:22 PM (16 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:
92320e5
Parents:
89fef2c
Message:

added description to model

File:
1 edited

Legend:

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

    r96672c0 r9316609  
    33 
    44        WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 
    5                  DO NOT MODIFY THIS FILE, MODIFY cylinder.h 
     5                 DO NOT MODIFY THIS FILE, MODIFY Cylinder.h 
    66                 AND RE-RUN THE GENERATOR SCRIPT 
    77 
     
    1616class CylinderModel(CCylinderModel, BaseComponent): 
    1717    """ Class that evaluates a CylinderModel model.  
    18         This file was auto-generated from cylinder.h. 
     18        This file was auto-generated from Cylinder.h. 
    1919        Refer to that file and the structure it contains 
    2020        for details of the model. 
     
    3939        ## Name of the model 
    4040        self.name = "CylinderModel" 
    41  
     41        self.description= """P(q,alpha)= scale/V*f(q)^(2)+bkg 
     42                f(q)= 2*(scatter_sld - solvent_sld)*V*sin(qLcos(alpha/2))/[qLcos(alpha/2)]* 
     43                J1(qRsin(alpha/2))/[qRsin(alpha)] 
     44                V: Volume of the cylinder 
     45                R: Radius of the cylinder 
     46                L: Length of the cylinder 
     47                J1: The bessel function 
     48                alpha: angle betweenthe axis of the cylinder and the q-vector 
     49                for 1D:the ouput is P(q)=scale/V*integral from pi/2 to zero of f(q)^(2)* 
     50                sin(alpha)*dalpha+ bkg""" 
    4251                ## Parameter details [units, min, max] 
    4352        self.details = {} 
Note: See TracChangeset for help on using the changeset viewer.