- Timestamp:
- Jun 10, 2016 3:40:55 PM (7 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/ModelPicker/SANSModelPicker_v40.ipf
r999 r1001 56 56 57 57 if(cmpstr("Macintosh",IgorInfo(2)) == 0) 58 String/G root:Packages:NIST:gAngstStr = num2char(-127) 58 if(IgorVersion() >= 7) 59 String/G root:Packages:NIST:gAngstStr = num2char(8491) 60 else 61 String/G root:Packages:NIST:gAngstStr = num2char(-127) 62 endif 59 63 // Variable/G root:myGlobals:gIsMac = 1 60 64 else 61 65 //either Windows or Windows NT 62 String/G root:Packages:NIST:gAngstStr = num2char(-59) 66 if(IgorVersion() >= 7) 67 String/G root:Packages:NIST:gAngstStr = num2char(8491) 68 else 69 String/G root:Packages:NIST:gAngstStr = num2char(-59) 70 endif 63 71 // Variable/G root:myGlobals:gIsMac = 0 64 72 //SetIgorOption to keep some PC's (graphics cards?) from smoothing the 2D image -
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/Wrapper_v40.ipf
r999 r1001 822 822 823 823 endif 824 825 // for Igor 7 -- add the flag /N=0 to force the curve fit to update at each iteration. Some loss in speed 826 // over the new default of no update, but the user can see what is happening. 824 827 825 828 // now useCursors, useEps, and useConstr are all handled w/ /NWOK … … 827 830 828 831 if(useResol && useResiduals && useTextBox) //do it all 829 FuncFit/H=getHStr(hold) / M=2 /NTHR=0 /TBOX=(tb) $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs /R /NWOK832 FuncFit/H=getHStr(hold) /N=0 /M=2 /NTHR=0 /TBOX=(tb) $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs /R /NWOK 830 833 break 831 834 endif 832 835 833 836 if(useResol && useResiduals) //res + resid 834 FuncFit/H=getHStr(hold) / M=2 /NTHR=0 $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs /R /NWOK837 FuncFit/H=getHStr(hold) /N=0 /M=2 /NTHR=0 $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs /R /NWOK 835 838 break 836 839 endif … … 838 841 839 842 if(useResol && useTextBox) //res + text 840 FuncFit/H=getHStr(hold) / M=2 /NTHR=0 /TBOX=(tb) $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs /NWOK843 FuncFit/H=getHStr(hold) /N=0 /M=2 /NTHR=0 /TBOX=(tb) $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs /NWOK 841 844 break 842 845 endif … … 846 849 // Variable t0 = stopMStimer(-2) 847 850 848 FuncFit/H=getHStr(hold) / M=2 /NTHR=0 $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs /NWOK851 FuncFit/H=getHStr(hold) /N=0 /M=2 /NTHR=0 $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs /NWOK 849 852 850 853 // t0 = (stopMSTimer(-2) - t0)*1e-6 … … 868 871 ///// same as above, but all without useResol (no /STRC flag) 869 872 if(useResiduals && useTextBox) //resid+ text 870 FuncFit/H=getHStr(hold) / M=2 /NTHR=0 /TBOX=(tb) $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /R /NWOK873 FuncFit/H=getHStr(hold) /N=0 /M=2 /NTHR=0 /TBOX=(tb) $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /R /NWOK 871 874 break 872 875 endif 873 876 874 877 if(useResiduals) //resid 875 FuncFit/H=getHStr(hold) / M=2 /NTHR=0 $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /R /NWOK878 FuncFit/H=getHStr(hold) /N=0 /M=2 /NTHR=0 $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /R /NWOK 876 879 break 877 880 endif … … 879 882 880 883 if(useTextBox) //text 881 FuncFit/H=getHStr(hold) / M=2 /NTHR=0 /TBOX=(tb) $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /NWOK884 FuncFit/H=getHStr(hold) /N=0 /M=2 /NTHR=0 /TBOX=(tb) $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /NWOK 882 885 break 883 886 endif … … 885 888 //just a plain vanilla fit 886 889 887 FuncFit/H=getHStr(hold) / M=2 /NTHR=0 $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /NWOK890 FuncFit/H=getHStr(hold) /N=0 /M=2 /NTHR=0 $funcStr cw, yw[pt1,pt2] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /NWOK 888 891 889 892 while(0) … … 924 927 925 928 DoUpdate //force update of table and graph with fitted values (why doesn't this work? - the table still does not update) 926 929 930 // this is the top graph, and I do this in Igor 7 to force update of the infoBox and for the report to appear 931 DoWindow/F $(WinName(0,1)) 927 932 // report the results (to the panel?) 928 933 if(useGenCurveFit) -
sans/Dev/trunk/NCNR_User_Procedures/Common/Installer/CheckVersionFTP.ipf
r769 r1001 94 94 95 95 Function OpenHelpMoviePage() 96 DoAlert 1,"Your web browser will open to a page where you can view help movies. OK? (You must have QuickTime installed)"96 DoAlert 1,"Your web browser will open to a page where you can view help movies. OK?" 97 97 if(V_flag==1) 98 98 // BrowseURL "ftp://webster.ncnr.nist.gov/pub/sans/kline/movies/" -
sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotManager_v40.ipf
r888 r1001 157 157 Variable rr,gg,bb 158 158 159 SVAR angst = root:Packages:NIST:gAngstStr 160 159 161 SetDataFolder $("root:"+DF) 160 162 //iStr will end in "i" … … 175 177 176 178 Label left "I(q)" 177 Label bottom "q (A\\S-1\\M)"178 179 // Label bottom "q (A\\S-1\\M)" 180 Label bottom "q ("+angst+"\\S-1\\M)" 179 181 Legend 180 182 -
sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtils2D_v40.ipf
r956 r1001 997 997 EndMacro 998 998 999 999 // 1000 // in Igor 6, Gizmo windows are code 4096 1001 // in Igor 7, Gizmo windows are code 65536 1002 // need to check for version, since code 65536 is not allowed in Igor 6 1003 // 1004 // this function returns only the topmost window from the list 1000 1005 Function/S TopGizmoWindow() 1001 Return(StringFromList(0,WinList("*",";","WIN:4096"))) 1006 if(IgorVersion() >= 7) 1007 return(StringFromList(0,WinList("*",";","WIN:65536"))) 1008 else 1009 return(StringFromList(0,WinList("*",";","WIN:4096"))) 1010 endif 1002 1011 end 1003 1012 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/EventModeProcessing.ipf
r999 r1001 3397 3397 3398 3398 3399 MacroDisplayForSlicing()3399 Proc DisplayForSlicing() 3400 3400 3401 3401 // plot the EventBarGraph? -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/Menu.ipf
r999 r1001 48 48 "Adjust Events",ShowEventCorrectionPanel() 49 49 "Create Custom Bins",Show_CustomBinPanel() 50 "Display Data For Slicing",DisplayForSlicing() 50 51 "-" 51 52 "Split Large File",SplitBigFile()
Note: See TracChangeset
for help on using the changeset viewer.