Ignore:
Timestamp:
Mar 26, 2012 11:26:28 AM (11 years ago)
Author:
srkline
Message:

Changes to the real-space modeling to sped up the drawing of cylinders, and to provide a few more examples of scritped, unattended calculations, and saving the 3D matrix.

File:
1 edited

Legend:

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

    r846 r849  
    178178         
    179179                LoadWave/M/O/W/P=home           fileStr         //will ask for a file, Igor Binary format is assumed here 
     180                if(V_flag == 0) 
     181                        return(0)               //user cancel 
     182                endif 
     183                 
    180184                String str 
    181185                str=note(mat) 
     
    663667        Variable isOn=0 
    664668        String str 
    665         str = TraceNameList("winStr",";",1)             //only normal traces 
    666         isOn = stringmatch(str,traceStr)                //must be an exact match 
     669        str = TraceNameList(winStr,";",1)               //only normal traces 
     670        isOn = strsearch(str,traceStr,0)                //is the trace there? 
     671        isOn = isOn == -1 ? 0 : 1                       // return 0 if not there, 1 if there 
    667672 
    668673        return(isOn) 
Note: See TracChangeset for help on using the changeset viewer.