Ignore:
Timestamp:
Aug 7, 2009 9:10:34 AM (15 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:
58c6ba6
Parents:
83a25da
Message:

recompiled all due to Alina's new eval(run) function

File:
1 edited

Legend:

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

    r988130c6 r9bd69098  
    1717 
    1818        WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 
    19                  DO NOT MODIFY THIS FILE, MODIFY ../c_extensions/gaussian.h 
     19                 DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\gaussian.h 
    2020                 AND RE-RUN THE GENERATOR SCRIPT 
    2121 
     
    2828class Gaussian(CGaussian, BaseComponent): 
    2929    """ Class that evaluates a Gaussian model.  
    30         This file was auto-generated from ../c_extensions/gaussian.h. 
     30        This file was auto-generated from ..\c_extensions\gaussian.h. 
    3131        Refer to that file and the structure it contains 
    3232        for details of the model. 
     
    4747        ## Name of the model 
    4848        self.name = "Gaussian" 
     49        ## Model description 
    4950        self.description ="""f(x)=scale * 1/(sigma^2*2pi)e^(-(x-mu)^2/2sigma^2)""" 
     51        
    5052                ## Parameter details [units, min, max] 
    5153        self.details = {} 
     
    5355        self.details['sigma'] = ['', None, None] 
    5456        self.details['center'] = ['', None, None] 
    55         #list of parameter that cannot be fitted 
    56         self.fixed= [] 
     57 
     58                ## fittable parameters 
     59        self.fixed=[] 
     60         
     61        ## parameters with orientation 
     62        self.orientation_params =[] 
    5763    
    5864    def clone(self): 
     
    7682        return CGaussian.runXY(self, x) 
    7783         
     84    def evalDistribition(self, x = []): 
     85        """ Evaluate the model in cartesian coordinates 
     86            @param x: input q[], or [qx[], qy[]] 
     87            @return: scattering function P(q[]) 
     88        """ 
     89        return CGaussian.evalDistribition(self, x) 
     90         
    7891    def set_dispersion(self, parameter, dispersion): 
    7992        """ 
Note: See TracChangeset for help on using the changeset viewer.