function to find a root (to within tol) of a momentum distribution for constant perpendicular momentum.

root_distribution_perp(distribution, p_perp, tol = 1e-10)

Arguments

distribution

list with the momentum distributions.

p_perp

numeric value of perpendicular momentum component.

tol

numeric tolerance.

Value

numeric values of p_par and the distribution at the root