We're currently using eqs (2) and (3) from Rosen et al. which are a piecewise constant discretization of the integral of eqn (1). We need to recast this as piecewise linear so we can properly penalize the derivative.
When this is done, also change the plotting code to plt.plot instead of plt.step.
We're currently using eqs (2) and (3) from Rosen et al. which are a piecewise constant discretization of the integral of eqn (1). We need to recast this as piecewise linear so we can properly penalize the derivative.
When this is done, also change the plotting code to
plt.plot
instead ofplt.step
.