Warning: Trying to access array offset on value of type null in /home/site/wwwroot/lib/plugins/move/action/rename.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/Action/Export.php on line 106

Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/Action/Export.php on line 106
powgen_peak_shape

Powgen 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):

'{{{ 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 
'}}}