astro-group-bristol / Gradus.jl

Extensible spacetime agnostic general relativistic ray-tracing (GRRT).
https://astro-group-bristol.github.io/Gradus.jl/dev/
GNU General Public License v3.0
16 stars 2 forks source link

Transfer function tables #191

Closed fjebaker closed 2 weeks ago

fjebaker commented 2 weeks ago

This PR ticks probably the last changes needed to get the Gradus.jl models working withing SpectralFitting.jl.

Added various tabular memory structures for transfer functions (pending IO) and N dimensional multi-linear interpolation with caching. Interpolating through N dimensional parameter spaces is pretty fast and does not allocate, making it ideal for use with fitting.