Changeset 844 for sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_Fit_MixedDumbbell.ipf
 Timestamp:
 Mar 6, 2012 5:40:08 PM (11 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_Fit_MixedDumbbell.ipf
r843 r844 176 176 End 177 177 178 179 180 // 178 181 //Function MixTest() 179 182 // … … 182 185 // NVAR FFT_N = root:FFT_N 183 186 // NVAR FFT_SolventSLD = root:FFT_SolventSLD 187 // NVAR FFT_delRho = root:FFT_delRho //the SLD multiplier, should have been initialized to 1e7 184 188 // 185 189 // Variable rho1,rho2,rhos,radius1,radius2,ctr,separation,fill1,fill2 … … 193 197 // separation = radius1 + radius2 194 198 // 195 // FFT_SolventSLD = trunc(rhos *1e6) //spits back an integer, maybe not correct199 // FFT_SolventSLD = trunc(rhos/FFT_delRho) //spits back an integer, maybe not correct 196 200 // 197 201 //// generate the matrix and erase it … … 205 209 //// with the input parameters, build the structure 206 210 // 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) 209 213 // 210 214 // FillSphereRadius(m,FFT_T,radius1,ctr,ctr,ctr,fill1) … … 212 216 // 213 217 //End 218 // 214 219 // 215 220 //Function CoreShellTest() … … 219 224 // NVAR FFT_N = root:FFT_N 220 225 // NVAR FFT_SolventSLD = root:FFT_SolventSLD 226 // NVAR FFT_delRho = root:FFT_delRho //the SLD multiplier, should have been initialized to 1e7 221 227 // 222 228 // Variable rho1,rho2,rhos,radius1,radius2,ctr,separation,fill1,fill2 … … 233 239 // ctr=50 234 240 // 235 // FFT_SolventSLD = trunc(rhos *1e6) //spits back an integer, maybe not correct241 // FFT_SolventSLD = trunc(rhos/FFT_delRho) //spits back an integer, maybe not correct 236 242 // 237 243 //// generate the matrix and erase it … … 245 251 //// with the input parameters, build the structure 246 252 // 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) 249 255 // 250 256 // FillSphereRadius(m,FFT_T,radius2,ctr,ctr,ctr,fill2) … … 259 265 // NVAR FFT_N = root:FFT_N 260 266 // NVAR FFT_SolventSLD = root:FFT_SolventSLD 267 // NVAR FFT_delRho = root:FFT_delRho //the SLD multiplier, should have been initialized to 1e7 261 268 // 262 269 // Variable rcore,rhocore,thick1,rhoshel1,thick2,rhoshel2,thick3,rhoshel3,rhos,fill1,fill2,fill3,fillc,ctr … … 277 284 //// rhos += 3e6 278 285 // 279 // FFT_SolventSLD = trunc(rhos *1e6) //spits back an integer, maybe not correct286 // FFT_SolventSLD = trunc(rhos/FFT_delRho) //spits back an integer, maybe not correct 280 287 // 281 288 //// generate the matrix and erase it … … 289 296 //// with the input parameters, build the structure 290 297 // 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) 295 302 // 296 303 // 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.