Ignore:
Timestamp:
Mar 6, 2012 5:40:08 PM (11 years ago)
Author:
srkline
Message:

fixed model wave listings to allow save/freeze of the FFT-generated waves.

updated Real-space help file

load/save of FFT matrix buttons on main panel

File:
1 edited

Legend:

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

    r843 r844  
    176176End 
    177177 
     178 
     179 
     180// 
    178181//Function MixTest() 
    179182// 
     
    182185//      NVAR FFT_N = root:FFT_N 
    183186//      NVAR FFT_SolventSLD = root:FFT_SolventSLD 
     187//      NVAR FFT_delRho = root:FFT_delRho               //the SLD multiplier, should have been initialized to 1e-7 
    184188//       
    185189//      Variable rho1,rho2,rhos,radius1,radius2,ctr,separation,fill1,fill2 
     
    193197//      separation = radius1 + radius2 
    194198//       
    195 //      FFT_SolventSLD = trunc(rhos*1e6)                //spits back an integer, maybe not correct 
     199//      FFT_SolventSLD = trunc(rhos/FFT_delRho)         //spits back an integer, maybe not correct 
    196200// 
    197201//// generate the matrix and erase it 
     
    205209//// with the input parameters, build the structure 
    206210//      ctr = trunc(FFT_N/2) 
    207 //      fill1 = trunc(rho1*1e6) 
    208 //      fill2 = trunc(rho2*1e6) 
     211//      fill1 = trunc(rho1/FFT_delRho) 
     212//      fill2 = trunc(rho2/FFT_delRho) 
    209213//       
    210214//      FillSphereRadius(m,FFT_T,radius1,ctr,ctr,ctr,fill1) 
     
    212216//       
    213217//End 
     218// 
    214219// 
    215220//Function CoreShellTest() 
     
    219224//      NVAR FFT_N = root:FFT_N 
    220225//      NVAR FFT_SolventSLD = root:FFT_SolventSLD 
     226//      NVAR FFT_delRho = root:FFT_delRho               //the SLD multiplier, should have been initialized to 1e-7 
    221227//       
    222228//      Variable rho1,rho2,rhos,radius1,radius2,ctr,separation,fill1,fill2 
     
    233239//      ctr=50 
    234240//       
    235 //      FFT_SolventSLD = trunc(rhos*1e6)                //spits back an integer, maybe not correct 
     241//      FFT_SolventSLD = trunc(rhos/FFT_delRho)         //spits back an integer, maybe not correct 
    236242// 
    237243//// generate the matrix and erase it 
     
    245251//// with the input parameters, build the structure 
    246252//      ctr = trunc(FFT_N/2) 
    247 //      fill1 = trunc(rho1*1e6) 
    248 //      fill2 = trunc(rho2*1e6) 
     253//      fill1 = trunc(rho1/FFT_delRho) 
     254//      fill2 = trunc(rho2/FFT_delRho) 
    249255//       
    250256//      FillSphereRadius(m,FFT_T,radius2,ctr,ctr,ctr,fill2) 
     
    259265//      NVAR FFT_N = root:FFT_N 
    260266//      NVAR FFT_SolventSLD = root:FFT_SolventSLD 
     267//      NVAR FFT_delRho = root:FFT_delRho               //the SLD multiplier, should have been initialized to 1e-7 
    261268//       
    262269//      Variable rcore,rhocore,thick1,rhoshel1,thick2,rhoshel2,thick3,rhoshel3,rhos,fill1,fill2,fill3,fillc,ctr 
     
    277284////    rhos += 3e-6 
    278285//               
    279 //      FFT_SolventSLD = trunc(rhos*1e6)                //spits back an integer, maybe not correct 
     286//      FFT_SolventSLD = trunc(rhos/FFT_delRho)         //spits back an integer, maybe not correct 
    280287// 
    281288//// generate the matrix and erase it 
     
    289296//// with the input parameters, build the structure 
    290297//      ctr = trunc(FFT_N/2) 
    291 //      fillc = trunc(rhocore*1e6) 
    292 //      fill1 = trunc(rhoshel1*1e6) 
    293 //      fill2 = trunc(rhoshel2*1e6) 
    294 //      fill3 = trunc(rhoshel3*1e6) 
     298//      fillc = trunc(rhocore/FFT_delRho) 
     299//      fill1 = trunc(rhoshel1/FFT_delRho) 
     300//      fill2 = trunc(rhoshel2/FFT_delRho) 
     301//      fill3 = trunc(rhoshel3/FFT_delRho) 
    295302//       
    296303//      FillSphereRadius(m,FFT_T,rcore+thick1+thick2+thick3,ctr,ctr,ctr,fill3)          //outer size (shell 3) 
Note: See TracChangeset for help on using the changeset viewer.