Ignore:
Timestamp:
Jun 29, 2009 1:51:03 PM (14 years ago)
Author:
srkline
Message:

Fixed bugs introduced in r515 concerning the back-compatibility of the kw=val strings for the
model functions. Now should work correctly when no models are loaded.

Changed integration limits on paracrystal models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Models/NewModels_2008/SC_ParaCrystal_v40.ipf

    r515 r516  
    126126        Variable integral,loLim,upLim 
    127127        loLim = 0 
    128         upLim = 2*Pi 
     128        upLim = Pi/2 
    129129         
    130130        Variable/G root:gDumY=0         //root:gDumX=0 
     
    169169        // 
    170170        loLim = 0 
    171         upLim = Pi 
     171        upLim = Pi/2 
    172172 
    173173        NVAR/Z nord=root:gNordSC 
     
    213213         
    214214        retVal = temp2*SCeval(xx,yy,temp3,temp4,temp5) 
    215         retVal /=4*Pi 
     215        retVal *= 2/pi 
    216216         
    217217        return(retVal) 
Note: See TracChangeset for help on using the changeset viewer.