Skip to content

Repository files navigation

Krang

Kerr Ray-tracer for Analytic Null Geodesics (KRANG)

This Julia package provides accurate, differentiable null geodesics in the Kerr spacetime.

The package is intended mainly for scientific use in astrophysical observations, so the observer is constrained to lie at asymptotic infinity. These algorithms mainly follow the formalism of Gralla & Lupsasca, with the exception of a new sub-image indexing scheme and a regularized time integral definition. The ray tracing scheme has been optimized for GPU compatibility and automatic differentiability with Enzyme.jl. These considerations allow the algorithms to be used in machine-learning applications with the existing Julia infrastructure.

Documentation

Stable Dev

Repo Status

Build Status ColPrac: Contributor's Guide on Collaborative Practices for Community Packages Coverage status DOI

Installation

Launch a Julia session, then type ] to enter Pkg mode. Once in Pkg mode, type:

add Krang

Releases

Used by

Contributors

Languages