- Timestamp:
- Nov 25, 2009 2:40:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/COR_Graph.ipf
r577 r605 488 488 Wave/T listW=$(USANSFolder+":Globals:MainPanel:"+type+"Wave") 489 489 Variable ii,num=numpnts(listW) 490 String fname="",fpath="" 490 String fname="",fpath="",str="" 491 491 PathInfo bt5PathName 492 492 fpath = S_Path … … 519 519 Variable pkHt=0 520 520 pkHt = interp(zeroAngle,tmpangle,tmpdetcts) 521 String str="" 521 522 if(numtype(pkHt) != 0) // bad but it warns, useful if only positive angles are available, use the smallest 523 str = "Can't find peak at angle = "+num2str(zeroAngle)+" Using the value at angle = "+num2str(tmpAngle[0]) 524 pkHt = tmpDetCts[0] 525 endif 526 522 527 str=note(tmpDetCts) 523 528 str = ReplaceNumberByKey("PEAKANG",str,zeroAngle,":",";")
Note: See TracChangeset
for help on using the changeset viewer.