AT.SPC.spectrum.at.depth.g.cm2 {libamtrack} | R Documentation |
Returns spectrum from spc data in given depth step.
AT.SPC.spectrum.at.depth.g.cm2( spc, depth.g.cm2, interpolate = TRUE)
spc |
spc data |
depth.g.cm2 |
depth the spectrum should be taken at (up to now, the data from the closest depth step will be taken) |
interpolate |
if true, the spectra between the closest depth steps will be linearly interpolated, if false, the depth step just in front of the chosen depth will be taken directly |
A data frame with the following columns (ready to use in most libamtrack functions):
E.MeV.u |
Energy [MeV/u] - mid point of bin |
particle.no |
Particle index number |
fluence.cm2 |
Fluence for each bin |
Uses AT.SPC.spectrum.at.depth.step
. spc data should be read in
by AT.SPC.read
.
# None yet.