Ignore:
Timestamp:
Jun 4, 2010 3:04:49 PM (14 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:
5062bbf
Parents:
7116b6e0
Message:

working on documentation

File:
1 edited

Legend:

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

    r9ce41c6 r79ac6f8  
    11#!/usr/bin/env python 
    22"""  
    3      
    4     Provide F(x)= P(|x|)*S(|x|) + bkd 
    5     Fractal as a BaseComponent model 
     3Provide F(x)= P(|x|)*S(|x|) + bkd 
     4Fractal as a BaseComponent model 
    65""" 
    76 
     
    1110class FractalAbsModel(FractalModel): 
    1211    """ 
    13         Class that evaluates a Fractal function. 
    14          
    15         F(|x|)= P(|x|)*S(|x|) + bkd 
    16         The model has Seven parameters:  
    17             scale        =  Volume fraction 
    18             radius       =  Block radius 
    19             fractal_dim  =  Fractal dimension 
    20             corr_length  =  correlation Length 
    21             block_sld    =  SDL block 
    22             solvent_sld  =  SDL solvent 
    23             background   =  background 
    24             
     12    Class that evaluates a Fractal function. 
     13     
     14    F(|x|)= P(|x|)*S(|x|) + bkd 
     15    The model has Seven parameters:  
     16        scale        =  Volume fraction 
     17        radius       =  Block radius 
     18        fractal_dim  =  Fractal dimension 
     19        corr_length  =  correlation Length 
     20        block_sld    =  SDL block 
     21        solvent_sld  =  SDL solvent 
     22        background   =  background 
     23        
    2524    """ 
    2625    def __init__(self): 
    27         """ Initialization """ 
     26        """Initialization """ 
    2827        # Initialize FractalModel  
    2928 
     
    4746        """ 
    4847    def _Fractal(self, x): 
     48        """ 
     49        """ 
    4950        return FractalModel._Fractal(self, math.fabs(x)) 
     51     
     52     
Note: See TracChangeset for help on using the changeset viewer.