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
tof_sample_peakshape [2024/04/22 22:25] – removed 169.254.138.1tof_sample_peakshape [2024/06/21 09:41] (current) – created - 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>
tof_sample_peakshape.1713824708.txt.gz · Last modified: 2024/04/22 22:25 by 169.254.138.1