Differences

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

Link to this comparison view

tof_sample_peakshape [2009/11/18 16:48]
dch3sl
tof_sample_peakshape [2020/07/16 11:29]
Line 1: Line 1:
-====== tof_sample_peakshape ====== 
  
- 
-Description:​ sample contribution to tof peak shape 
- 
-Contributed by: John Evans 
- 
-<code topas> 
-macro tof_sample_peakshape(lor,​lor_val,​dsp,​dsp_val,​dspsq,​dspsq_val) ​ 
-{          
-      prm dsp dsp_val del = 0.05 Val + 1; min 1 
-      prm dspsq dspsq_val del = 0.05 Val + 1; min 0 
-      peak_type pv              
-         ​pv_lor lor lor_val 
-         ​pv_fwhm ​ = dsp D_spacing + dspsq D_spacing^2; ​   ​ 
-} 
- 
-</​code>​ 

Personal Tools