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
18 stars 2 forks source link

Rendergeodesics: should return impact axes #75

Closed fjebaker closed 1 year ago

fjebaker commented 1 year ago

At the moment the user has to do some pretty non-trivial arithmetic to work out what the corresponding impact parameter axes are when using the *rendergeodesics methods. I propose instead that a new API works like this:

a, b, img = rendergeodesics(...)

where a and b are the $\alpha$ and $\beta$ impact parameters respectively.

fjebaker commented 1 year ago

This is the case as of #89