DiffraxSimulator
have a new parameterad
to specify forward or reverse mode ADdistance_to_earth
gradient now evaluates to0
(and notnan
) when the distance between two points is0
(same location)- Some minor fixes
DiffraxSimulator
have a new parameter ad
to specify forward or reverse mode ADdistance_to_earth
gradient now evaluates to 0
(and not nan
) when the distance between two points is 0
(same location)