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/actions.php on line 38
tof_sample_peakshape [topas wiki]

User Tools

Site Tools


tof_sample_peakshape

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tof_sample_peakshape [2009/08/06 13:55] claretof_sample_peakshape [2022/11/03 15:08] (current) – external edit 127.0.0.1
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>