Differences

This shows you the differences between two versions of the page.

Link to this comparison view

time_of_flight_tof_peak_shape [2012/06/22 14:52] (current)
johnsoevans created
Line 1: Line 1:
 +====== tof Peak Shapes ======
  
 +There are several macros for tof peak shapes for different instruments on the user macros page.
 +
 +For powgen the following peak shape seems to work reasonably (though only tested on lowish quality data):
 +
 +<code topas>'​{{{ instrumental peak shape for this bank here
 +   ​push_peak
 +   ​TOF_Exponential(a0_1_bank5,​ 25.09796`, a1_1_bank5, 58.58890`, 1, difc_bank5, +)
 +   ​bring_2nd_peak_to_top ​  
 +   ​TOF_Exponential(a0_2_bank5,​ 40.39882`, a1_2_bank5, 1260.50074`,​ 4, difc_bank5, +)
 +   ​scale_top_peak @  25.2088988` min 0.0 max 200
 +   ​add_pop_1st_2nd_peak ​
 +'​}}}</​code>​

Personal Tools