- Timestamp:
- Nov 24, 2010 4:23:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ProtocolAsPanel.ipf
r750 r764 36 36 // DRAWING routines only use a subset of the total list, since saving, naming, etc. don't apply 37 37 // (10) possible keywords, some numerical, some string values 38 // AVTYPE=string string from set {Circular,Annular,Rectangular,Sector,2D_ASCII,QxQy_ASCII,PNG_Graphic }38 // AVTYPE=string string from set {Circular,Annular,Rectangular,Sector,2D_ASCII,QxQy_ASCII,PNG_Graphic;Sector_PlusMinus;} 39 39 // PHI=value azimuthal angle (-90,90) 40 40 // DPHI=value +/- angular range around phi for average … … 969 969 String av_typ,autoSave,AutoName,autoPlot,side 970 970 Variable phi=0,dphi=10,width=10,Qctr = 0.01,qDelta=10 971 Prompt av_typ, "Type of Average",popup,"Circular;Sector;Rectangular;Annular;2D_ASCII;QxQy_ASCII;PNG_Graphic "971 Prompt av_typ, "Type of Average",popup,"Circular;Sector;Rectangular;Annular;2D_ASCII;QxQy_ASCII;PNG_Graphic;Sector_PlusMinus;" 972 972 // comment out above line in DEMO_MODIFIED version, and uncomment the line below (to disable PNG save) 973 973 // Prompt av_typ, "Type of Average",popup,"Circular;Sector;Rectangular;Annular;2D_ASCII;QxQy_ASCII" … … 992 992 root:myGlobals:Protocols:gAvgInfoStr += "PLOT=" + autoPlot + ";" 993 993 994 if(cmpstr(av_typ,"Sector")==0 )994 if(cmpstr(av_typ,"Sector")==0 || cmpstr(av_typ,"Sector_PlusMinus")==0) 995 995 root:myGlobals:Protocols:gAvgInfoStr += "SIDE=" + side + ";" 996 996 root:myGlobals:Protocols:gAvgInfoStr += "PHI=" + num2str(phi) + ";" … … 1859 1859 case "Sector": 1860 1860 CircularAverageTo1D(activeType) 1861 break 1862 case "Sector_PlusMinus": 1863 Sector_PlusMinus1D(activeType) 1861 1864 break 1862 1865 default: … … 2254 2257 2255 2258 PathInfo/S catPathName 2256 fullPath = DoSaveFileDialog("Export Protocol as" )2259 fullPath = DoSaveFileDialog("Export Protocol as",fname=Protocol,suffix="") 2257 2260 If(cmpstr(fullPath,"")==0) 2258 2261 //user cancel, don't write out a file
Note: See TracChangeset
for help on using the changeset viewer.