Ignore:
Timestamp:
Feb 17, 2012 12:04:13 PM (11 years ago)
Author:
srkline
Message:

changes to FFT routines to clean things up for a beta release at the next startup. No functionality changes, just cleaning up the operation, interface, and menu items.

Some important changes to the polarization routines. New equations for calculating the coefficient matrix. Now appears to be correct. Also, proper proportions are used when adding multiple files together to the matrix.

Change to the Model Docs is an updated reference.

WorkFileUtils? was broken when I changed to use linear_data exclusively. This has now been fixed and it operates as expected.

PackageLoader? now has menu items (under Macros) for the Polarization routines. These may later be moved to the SANS menu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_Cylinder_Fills.ipf

    r800 r836  
    55// most is still being worked out and verified in 2D 
    66// 
     7/// search for "crude core-shell cylinder" for an example of how this can be done 
     8// -- maybe the same filling, but no mat=0 (ask) 
    79 
    810 
     
    1113//process of calculating a series of configurations. 
    1214 
    13  
    14  
    15 Proc ConnectDots3D(maxNumConn) 
    16         Variable maxNumConn=1 
     15         
     16Proc ConnectDots3D(w,np,maxNumConn,sobol) 
     17        String w="mat" 
     18        Variable np=100,maxNumConn=2,sobol=1 
     19        Prompt w,"matrix" 
     20        Prompt np,"number of points" 
     21        prompt maxNumConn,"number of connections per point" 
     22        Prompt sobol,"1=Sobol, 0=random" 
     23         
     24        $w=0 
     25 
     26        if(sobol) 
     27                SobolFill3DMat($w,np) 
     28        else 
     29                RandomFill3DMat($w,np) 
     30        endif 
     31         
     32        ParseMatrix3DToXYZ(w) 
    1733         
    1834        Variable num=numpnts(x3d) 
Note: See TracChangeset for help on using the changeset viewer.