- 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/HFIR_Utils.ipf
r750 r795 164 164 // detStr is passed as TextRead[9] and is an identifier for the detector 165 165 // 166 Function DetectorDeadtime(fileStr,detStr) 167 String fileStr,detStr 166 // [dateAndTimeStr] is optional, and could be used as a switch for 167 // different historical detector configurations 168 Function DetectorDeadtime(fileStr,detStr,[dateAndTimeStr]) 169 String fileStr,detStr,dateAndTimeStr 168 170 169 171 Variable deadtime … … 977 979 // called by Correct.ipf, ProtocolAsPanel.ipf, Transmission.ipf 978 980 // 979 Function AttenuationFactor(fileStr,lam,attenuation) 981 // atten_err is one std. deviation, passed back by reference 982 Function AttenuationFactor(fileStr,lam,attenuation, atten_err) 980 983 String fileStr 981 Variable lam,attenuation // 0 =< attenuation <= 100 (%) : where no attenuator stands for 0.984 Variable lam,attenuation, &atten_err // 0 =< attenuation <= 100 (%) : where no attenuator stands for 0. 982 985 983 986 Variable attenFactor=1 … … 986 989 attenFactor = 1- attenuation*0.01 //???Attenuate transmission 987 990 991 // Change April 2011 - now returns error in atten trans 992 atten_err = 0 993 988 994 return(attenFactor) 989 995 End
Note: See TracChangeset
for help on using the changeset viewer.