Changeset 2cce133 in sasview


Ignore:
Timestamp:
Nov 24, 2009 4:51:01 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:
2733188
Parents:
669aaf9
Message:

add more comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Invariant/invariant.py

    r669aaf9 r2cce133  
    317317              Compute the surface given by: 
    318318                surface = (2*pi *V(1- V)*porod_const)/ q_star 
    319                  
     319                
    320320            @param contrast: contrast value to compute the volume 
    321321            @param porod_const: Porod constant to compute the surface  
    322             @return: specific surface 
     322            @return: specific surface  
    323323        """ 
    324324        
     
    418418    def get_volume_fraction_with_error(self, contrast): 
    419419        """ 
    420             Compute uncertainty on volume value. 
     420            Compute uncertainty on volume value as well as the volume fraction 
    421421            This uncertainty is given by the following equation: 
    422422            dV = 0.5 * (4*k* dq_star) /(2* math.sqrt(1-k* q_star)) 
    423423                                  
    424424            for k = 10^(8)*q_star/(2*(pi*|contrast|)**2) 
     425             
    425426            q_star: the invariant value including extrapolated value if existing 
    426427            dq_star: the invariant uncertainty 
    427428            dV: the volume uncertainty 
    428429            @param contrast: contrast value  
    429             @return: v, dv 
     430            @return: V, dV = self.get_volume_fraction_with_error(contrast), dV 
    430431        """ 
    431432         
    432433    def get_surface_with_error(self, contrast, porod_const): 
    433434        """ 
    434             Compute uncertainty of the surface value. 
     435            Compute uncertainty of the surface value as well as thesurface value 
    435436            this uncertainty is given as follow: 
    436437             
Note: See TracChangeset for help on using the changeset viewer.