Changeset 448
- Timestamp:
- Nov 14, 2008 12:03:24 PM (14 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Common/NCNR_Package_Loader.ipf
r433 r448 124 124 strswitch(itemStr) // string switch 125 125 case "Load NCNR SANS Reduction Macros": 126 Execute/P "INSERTINCLUDE \"Includes_v5 10\""126 Execute/P "INSERTINCLUDE \"Includes_v520\"" 127 127 Execute/P "COMPILEPROCEDURES " 128 128 Execute/P ("Initialize()") … … 136 136 case "Unload NCNR SANS Reduction Macros": 137 137 // very dangerous - don't really want to implement this because it will surely crash 138 Execute/P "DELETEINCLUDE \"Includes_v5 10\""138 Execute/P "DELETEINCLUDE \"Includes_v520\"" 139 139 Execute/P "COMPILEPROCEDURES " 140 140 DoWindow Main_Panel -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ILL_DataReadWrite.ipf
r412 r448 793 793 // 794 794 // necessary values 795 realw[10]= 5//detector calibration constants, needed for averaging795 realw[10]=8 //detector calibration constants, needed for averaging 796 796 realw[11]=10000 797 797 realw[12]=0 798 realw[13]= 5798 realw[13]=8 799 799 realw[14]=10000 800 800 realw[15]=0 801 801 // 802 802 // used in the resolution calculation, ONLY here to keep the routine from crashing 803 realw[20]= 65//det size803 realw[20]=102 //det size 804 804 realw[27]=dlam //delta lambda 805 805 realw[21]=bsDiam //BS size … … 1143 1143 1144 1144 //your code here 1145 WriteReal(fname,num,5152) 1145 //WriteReal(fname,num,5152) 1146 1147 1148 WriteReal(fname,num,5265) 1146 1149 1147 1150 // line 4 column 4 1151 1152 // real calculated distance line 6 colunm1 1148 1153 1149 1154 return(0) … … 1514 1519 // your code returning value 1515 1520 // value = getRealValueFromHeader_2(fname,60,28,5,4,4) 1516 value = getRealValueFromHeader(fname,18) 1521 // value = getRealValueFromHeader(fname,18) detector distance but need to add the offset due to the table 1522 1523 value = getRealValueFromHeader(fname,25) 1524 1517 1525 1518 1526 return(value) -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ILL_Utils.ipf
r412 r448 27 27 // Variable/G root:myGlobals:PixelResDefault = 0.5 //pixel resolution in cm 28 28 29 Variable/G root:myGlobals:DeadtimeDefault = 0.9e-6//deadtime in seconds29 Variable/G root:myGlobals:DeadtimeDefault = (0.9e-6 )/128 //deadtime in seconds 30 30 31 31 Variable/G root:myGlobals:BeamstopYTol = 100 … … 173 173 174 174 // your code here 175 deadtime = 0.9e-6175 deadtime = (2e-6) 176 176 177 177 return(deadtime) -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/Includes_v520.ipf
r420 r448 30 30 #include "PlotUtilsMacro_v40" 31 31 #include "NIST_XML_v40" 32 #include "cansasXML_v11" 32 33 #include "USANS_SlitSmearing_v40" 33 34 #include "GaussUtils_v40" // for isSANSResolution - could put this function elsewhere … … 57 58 #include "SASCALC" 58 59 #include "CheckVersionFTP" //added June 2008 60 #include "MultScatter_MonteCarlo_2D" //Oct 2008 SRK for SASCALC simulation 61 59 62 60 63 #include "TISANE"
Note: See TracChangeset
for help on using the changeset viewer.