- Timestamp:
- Mar 21, 2007 10:25:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.00/NSORT.ipf
r41 r59 1594 1594 ///////////////////////////////////////////////////////////// 1595 1595 //testing, may speed up NSORT 1596 Proc Set3NSORTFiles(low,med,hi,pref ix)1596 Proc Set3NSORTFiles(low,med,hi,pref) 1597 1597 Variable low=1,med=2,hi=3 1598 String pref ix="LIPID"1598 String pref="LIPID" 1599 1599 1600 1600 //make strings from the numbers … … 1604 1604 1605 1605 //lowQ menu 1606 absStr = pref ix+ThreeDigitString(low)+".ABS"1606 absStr = pref+ThreeDigitString(low)+".ABS" 1607 1607 popNum = 1+WhichListItem(absStr,root:myGlobals:NSORT:gDataPopList,";",0) 1608 1608 PopupMenu popup_1,win=NSORT_Panel,mode=(popNum) 1609 1609 //medQ (a different list for the popup) 1610 absStr = pref ix+ThreeDigitString(med)+".ABS"1610 absStr = pref+ThreeDigitString(med)+".ABS" 1611 1611 popNum = 1+WhichListItem(absStr,root:myGlobals:NSORT:gDataPopList_3,";",0) 1612 1612 PopupMenu popup_2,win=NSORT_Panel,mode=(popNum) 1613 1613 //highQ (same pop list as medQ) 1614 1614 if(hi != 0) 1615 absStr = pref ix+ThreeDigitString(hi)+".ABS"1615 absStr = pref+ThreeDigitString(hi)+".ABS" 1616 1616 popNum = 1+WhichListItem(absStr,root:myGlobals:NSORT:gDataPopList_3,";",0) 1617 1617 PopupMenu popup_3,win=NSORT_Panel,mode=(popNum) … … 1713 1713 // 1714 1714 // make the waves and table for the sets to combine 1715 Make/O/N=0 $"root:myGlobals:CombineTable:Low "1716 Make/O/N=0 $"root:myGlobals:CombineTable:Medium "1717 Make/O/N=0 $"root:myGlobals:CombineTable:High "1715 Make/O/N=0 $"root:myGlobals:CombineTable:LowRun" 1716 Make/O/N=0 $"root:myGlobals:CombineTable:MediumRun" 1717 Make/O/N=0 $"root:myGlobals:CombineTable:HighRun" 1718 1718 Make/O/T/N=0 $"root:myGlobals:CombineTable:Prefix" 1719 1719 Make/O/T/N=0 $"root:myGlobals:CombineTable:SaveName" … … 1744 1744 Function MakeTabletoCombine() 1745 1745 1746 Wave low = $"root:myGlobals:CombineTable:Low "1747 Wave medium = $"root:myGlobals:CombineTable:Medium "1748 Wave high = $"root:myGlobals:CombineTable:High "1746 Wave low = $"root:myGlobals:CombineTable:LowRun" 1747 Wave medium = $"root:myGlobals:CombineTable:MediumRun" 1748 Wave high = $"root:myGlobals:CombineTable:HighRun" 1749 1749 Wave/T prefix = $"root:myGlobals:CombineTable:Prefix" 1750 1750 Wave/T saveName = $"root:myGlobals:CombineTable:SaveName" … … 1893 1893 Variable/G useTable=1 1894 1894 1895 Variable num=numpnts(low ),ii,lowFile,medFile,hiFile1895 Variable num=numpnts(lowRun),ii,lowFile,medFile,hiFile 1896 1896 String prefixStr = "" 1897 1897 Pathinfo catPathName … … 1900 1900 ii=0 1901 1901 do 1902 lowFile = Low [ii]1903 medFile = Medium [ii]1904 hiFile = high [ii]1902 lowFile = LowRun[ii] 1903 medFile = MediumRun[ii] 1904 hiFile = highRun[ii] 1905 1905 prefixStr = prefix[ii] 1906 1906
Note: See TracChangeset
for help on using the changeset viewer.