Changeset 947 for sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS
- Timestamp:
- Oct 16, 2014 10:59:26 AM (8 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/HFIR_Utils.ipf
r940 r947 1077 1077 End 1078 1078 1079 Function/S GetASCDataFileList() 1080 1081 //make sure that path exists 1082 PathInfo catPathName 1083 if (V_flag == 0) 1084 Abort "Folder path does not exist - use Pick Path button on Main Panel" 1085 Endif 1086 1087 String list=IndexedFile(catPathName,-1,"????") 1088 String newList="",item="" 1089 Variable num=ItemsInList(list,";"),ii 1090 for(ii=0;ii<num;ii+=1) 1091 item = StringFromList(ii, list ,";") 1092 if(stringmatch(item,"*.ASC") ) 1093 newlist += item + ";" 1094 endif 1095 endfor 1096 1097 newList = SortList(newList,";",0) 1098 return(newList) 1099 End 1100 1079 1101 //********************** 1080 1102 // 2D resolution function calculation - in terms of X and Y -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ILL_Utils.ipf
r940 r947 1052 1052 End 1053 1053 1054 Function/S GetASCDataFileList() 1055 1056 //make sure that path exists 1057 PathInfo catPathName 1058 if (V_flag == 0) 1059 Abort "Folder path does not exist - use Pick Path button on Main Panel" 1060 Endif 1061 1062 String list=IndexedFile(catPathName,-1,"????") 1063 String newList="",item="" 1064 Variable num=ItemsInList(list,";"),ii 1065 for(ii=0;ii<num;ii+=1) 1066 item = StringFromList(ii, list ,";") 1067 if(stringmatch(item,"*.ASC") ) 1068 newlist += item + ";" 1069 endif 1070 endfor 1071 1072 newList = SortList(newList,";",0) 1073 return(newList) 1074 End 1075 1076 1077 1054 1078 //********************** 1055 1079 // 2D resolution function calculation - in terms of X and Y -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/Marquee.ipf
r794 r947 375 375 Sort FileID BoxCounts,FileID //sort the waves, in case the run numbers were entered out of numerical order 376 376 377 Display /W=(5,44,383,306) BoxCounts vs FileID 378 ModifyGraph mode=4 379 ModifyGraph marker=8 380 ModifyGraph grid=2 381 ModifyGraph mirror=2 382 ErrorBars/T=0 BoxCounts Y,wave=(BoxCount_err,BoxCount_err) 383 Label left "Counts (per 10^8 monitor counts)" 384 Label bottom "Run Number" 385 377 DoWindow BoxCountGraph 378 if(V_flag == 0) 379 Display /W=(5,44,383,306) BoxCounts vs FileID 380 DoWindow/C BoxCountGraph 381 ModifyGraph mode=4 382 ModifyGraph marker=8 383 ModifyGraph grid=2 384 ModifyGraph mirror=2 385 ErrorBars/T=0 BoxCounts Y,wave=(BoxCount_err,BoxCount_err) 386 Label left "Counts (per 10^8 monitor counts)" 387 Label bottom "Run Number" 388 endif 386 389 return(0) 387 390 End -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NCNR_DataReadWrite.ipf
r940 r947 1367 1367 endif 1368 1368 str = "["+str+"]" 1369 1370 if(strlen(str) < 11) //pad to 11 characters if the account number is only one digit 1371 str = PadString(str,11,0x20) 1372 endif 1373 1369 1374 WriteTextToHeader(fname,str,78) 1370 1375 return(0) -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NCNR_Utils_HDF5.ipf
r946 r947 2 2 #pragma version=5.0 3 3 #pragma IgorVersion=6.1 4 5 // 6 // *** modified JUNL2014 to work with HDF5 raw data files. 7 // when finally implemented, be sure to compare with NCNR_Utils.ipf 8 // to pick up any changes there, especially those related to CGB 9 // 10 // 11 // 12 // 4 13 5 14 // this file contains globals and functions that are specific to a
Note: See TracChangeset
for help on using the changeset viewer.