A function to generate penalty functions to use while linking particles
penaltyFunctionGenerator(
epsilon1 = 0.1,
epsilon2 = 2,
lambda1 = 1,
lambda2 = 1
)
A numeric value, to be used in the formula. Jitter for allowing angular displacements
A numeric value, to be used in the formula. Jitter for allowing spatial displacements
A numeric value. Multiplicative factor for the penalty function
A numeric value. Multiplicative factor applied to the angular displacement
A function object, to be used as penalty function
custom.function <- penaltyFunctionGenerator(epsilon1=0.1,epsilon2=6,lambda1=1.5,lambda2=0)