- Timestamp:
- Apr 4, 2011 12:18:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ILL_Utils.ipf
r764 r795 175 175 // detStr is passed as TextRead[9] and is an identifier for the detector 176 176 // 177 Function DetectorDeadtime(fileStr,detStr) 178 String fileStr,detStr 177 // [dateAndTimeStr] is optional, and could be used as a switch for 178 // different historical detector configurations 179 Function DetectorDeadtime(fileStr,detStr,[dateAndTimeStr]) 180 String fileStr,detStr,dateAndTimeStr 179 181 180 182 Variable deadtime 181 183 182 // your code here183 deadtime = (2e-6)184 // your code here 185 deadtime = (2e-6) 184 186 185 187 return(deadtime) … … 922 924 // called by Correct.ipf, ProtocolAsPanel.ipf, Transmission.ipf 923 925 // 924 Function AttenuationFactor(fileStr,lam,attenNo) 926 // atten_err is one std. deviation, passed back by reference 927 Function AttenuationFactor(fileStr,lam,attenNo,atten_err) 925 928 String fileStr 926 Variable lam,attenNo 929 Variable lam,attenNo,&atten_err 927 930 928 931 Variable attenFactor … … 930 933 931 934 attenFactor = Attenuators_ILL[attenNo] 932 935 936 // Change April 2011 - now returns error in atten trans 937 atten_err = 0 938 933 939 // print attenfactor 934 940
Note: See TracChangeset
for help on using the changeset viewer.