function to find the optimum of a momentum distribution for constant perpendicular momentum.

optimize_distribution_perp(distribution, p_perp, maximum = TRUE)

Arguments

distribution

list with the momentum distributions.

p_perp

numeric value of perpendicular momentum component.

maximum

logical maximize (TRUE) or minimize (FALSE).

Value

numeric values of p_par and the distribution at the optimum