AT.Vavilov.PDF {libamtrack} | R Documentation |
Computes the Vavilov probability density function using CERNLIB (G116) CAVE: CERNLIB functions for the Vavilov distribution work with the Landau definition for lambda, not the Vavilov definition. Use AT_energy_loss_from_lambda_Landau... to convert to energy loss. AT_energy_loss_from_lambda_Vavilov... will only work AFTER converting to the Vavilov definition by AT_lambda_Vavilov_from_lambda_Landau...
AT.Vavilov.PDF(lambda.landau, kappa, beta)
lambda.landau |
Landau (not Vavilov!) lambda (array of size n). |
kappa |
straggling parameter. |
beta |
relativistic speed, between 0 and 1. |
density |
resulting density (array of size n) |
View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/trunk/src/AT_EnergyLoss.c#L216