Ignore:
Timestamp:
Mar 2, 2012 10:56:30 AM (11 years ago)
Author:
srkline
Message:

Corrected the FFT fit functions to use the 10-7 multiplier for the SLD. Included the MixedDumbbell? model to the included model list. Tested all of the functions.

File:
1 edited

Legend:

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

    r816 r843  
    9797        NVAR FFT_N = root:FFT_N 
    9898        NVAR FFT_SolventSLD = root:FFT_SolventSLD 
    99          
    100         FFT_SolventSLD = trunc(rhos*1e6)                //spits back an integer, maybe not correct 
     99        NVAR FFT_delRho = root:FFT_delRho               //the SLD multiplier, should have been initialized to 1e-7 
     100 
     101         
     102        FFT_SolventSLD = trunc(rhos/FFT_delRho)         //spits back an integer, maybe not correct 
    101103 
    102104// generate the matrix and erase it 
     
    110112// with the input parameters, build the structure 
    111113        ctr = trunc(FFT_N/2) 
    112         fill1 = trunc(rho1*1e6) 
    113         fill2 = trunc(rho2*1e6) 
     114        fill1 = trunc(rho1/FFT_delRho) 
     115        fill2 = trunc(rho2/FFT_delRho) 
    114116         
    115117        FillSphereRadius(m,FFT_T,radius1,ctr,ctr,ctr,fill1) 
Note: See TracChangeset for help on using the changeset viewer.