Changeset 4e2f6ef8 in sasview


Ignore:
Timestamp:
Oct 23, 2008 11:13:59 AM (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:
753552d
Parents:
f6cc57c
Message:

add description

Location:
sansmodels/src/sans/models
Files:
5 edited

Legend:

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

    rf6cc57c r4e2f6ef8  
    2929        ## Name of the model 
    3030        self.name = "DAB_Model" 
    31         self.description=" Name: DAB model.\n\ 
     31        self.description=" DAB (Debye Anderson Brumberger) function.\n\ 
    3232        F(x) = scale/( 1 + (x*L)^2 )^(2) + background\n\ 
    3333        The model has three parameters:\n \ 
  • sansmodels/src/sans/models/LorentzModel.py

    r5f89fb8 r4e2f6ef8  
    2929        ## Name of the model 
    3030        self.name = "Lorentz" 
    31         self.description='' 
     31        self.description="Lorentz (Ornstein-Zernicke) model.\n\ 
     32        F(x) = scale/( 1 + (x*L)^2 ) + bkd\n\ 
     33        The model has three parameters:\n \ 
     34        L     =  screen Length\n\ 
     35        scale  =  scale factor\n\ 
     36        bkd    =  incoherent background" 
    3237        ## Define parameters 
    3338        self.params = {} 
  • sansmodels/src/sans/models/c_extensions/core_shell_cylinder.h

    r0f5bc9f r4e2f6ef8  
    77 //[PYTHONCLASS] = CoreShellCylinderModel 
    88 //[DISP_PARAMS] = radius, thickness, length, axis_theta, axis_phi 
     9 //[DESCRIPTION] = '' 
    910typedef struct { 
    1011    /// Scale factor 
  • sansmodels/src/sans/models/c_extensions/cylinder.h

    raf03ddd r4e2f6ef8  
    11#if !defined(cylinder_h) 
    22#define cylinder_h 
    3  
     3#include string  
    44/** Structure definition for cylinder parameters 
    55 * [PYTHONCLASS] = CylinderModel 
    66 * [DISP_PARAMS] = radius, length, cyl_theta, cyl_phi 
     7   [DESCRIPTION] = '' 
     8         
    79 * */ 
    810typedef struct { 
     
    2830    //  [DEFAULT]=cyl_phi=1.0 rad 
    2931    double cyl_phi; 
     32         
    3033} CylinderParameters; 
    3134 
  • sansmodels/src/sans/models/c_models/WrapperGenerator.py

    r0f5bc9f r4e2f6ef8  
    7979        ## List of dispersed parameters 
    8080        self.disp_params = [] 
     81        #model description 
     82        self.description='' 
    8183         
    8284    def __repr__(self): 
     
    330332            newline = self.replaceToken(newline,  
    331333                                        "[PAR_DETAILS]", self.details) 
     334            # Parameter details 
     335            newline = self.replaceToken(newline,  
     336                                        "[DESCRIPTION]", self.description) 
    332337 
    333338            # Write new line to the wrapper .c file 
Note: See TracChangeset for help on using the changeset viewer.