fgasdia / LongwaveModePropagator.jl

Model the propagation of VLF radio waves in the Earth-ionosphere waveguide.
https://fgasdia.github.io/LongwaveModePropagator.jl/dev
MIT License
15 stars 5 forks source link

Smooth interpolating functions for Species profiles #35

Closed fgasdia closed 3 years ago

fgasdia commented 3 years ago

Related to #34, but doesn't close it because linear interpolation is retained in the TableInput. As described in the example added in this PR, the linear interpolation is double the runtime compared to smooth interpolators. Unfortunately, the Interpolations.jl CubicSplineInterpolation requires AbstractRange input and the table is a Vector. We really need a PCHIP implementation that accepts irregularly spaced inputs.