Ignore:
Timestamp:
Mar 10, 2015 10:50:03 AM (8 years ago)
Author:
srkline
Message:

some minor changes to the FFT filling procedures to help out Abhiram

Replaced cansasXML.ipf v1.11 with v1.12 (current version)

some restructuring of the VSANS file names.

Location:
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker
Files:
2 edited

Legend:

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

    r943 r953  
    350350        y1 = yc - trunc(rad/grid) - 2 
    351351        y2 = yc + trunc(rad/grid) + 2 
    352  
    353352         
    354353        y1 = y1 < 0 ? 0 : y1 
     
    807806Function XYZV_FillMat_Centered(xx,yy,zz,xc,yc,zc,rad,len,val,erase) 
    808807        Wave xx,yy,zz 
    809         Variable xc,yc,zc,rad,len 
    810         Wave val 
    811         Variable erase 
     808        Variable xc,yc,zc,rad,len,val,erase 
    812809         
    813810        Variable x1,x2,y1,y2,z1,z2,ii,jj,kk,num,npt,minp,maxp 
     
    817814        NVAR FFT_T=root:FFT_T 
    818815 
    819         if(erase) 
     816        if(erase == 1) 
    820817                mat = solventSLD 
    821818        endif 
     
    824821         
    825822        for(ii=0;ii<num;ii+=1) 
    826                 mat[xx[ii]][yy[ii]][zz[ii]] = val[ii] 
     823                mat[xx[ii]][yy[ii]][zz[ii]] = val 
    827824        endfor 
    828825         
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_KR_Parser.ipf

    r943 r953  
    6161        KR_MultiCylinder_Units(xx,yy,zz,rri,hti,sbp,rotx,roty,sld) 
    6262 
    63         XYZV_FillMat_Centered(xoutW,youtW,ZoutW,xc,yc,zc,rad,len,sldW,0)                        //last 1 will erase the matrix, 0 retains matrix 
     63        XYZV_FillMat_Centered(xoutW,youtW,ZoutW,xc,yc,zc,rad,len,fill,0)                        //last 1 will erase the matrix, 0 retains matrix 
    6464 
    6565        //force a redraw (re-coloring) of the gizmo window 
Note: See TracChangeset for help on using the changeset viewer.