Skip to contents

Explores a space of k x L to find the smooth-compact closest to the given smooth-compact, but with a halflife of 'halflife' (say 2 instead of 3)

Usage

.calculateSmoothCompactHalflife(
  k = 2.14,
  L = 6.08,
  halflife = 2,
  threshold = 0.5,
  grid_n = 50
)

Arguments

k

Scaling factor in smooth compact

L

Other factor in smooth compact

halflife

Desired halflife (positive number)

threshold

Set to 0.50 for 'halflife'

grid_n

How fine of a grid to explore (50 x 50)