skylight.jl
General-relativistic ray tracing and radiative transfer in arbitrary spacetimes
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.8%) to scientific vocabulary
Repository
General-relativistic ray tracing and radiative transfer in arbitrary spacetimes
Basic Info
Statistics
- Stars: 19
- Watchers: 3
- Forks: 2
- Open Issues: 4
- Releases: 0
Metadata Files
README.md
Skylight.jl
General-relativistic ray tracing and radiative transfer in arbitrary spacetimes
Documentation is under construction, and is available here.
Skylight works with any spacetime geometry, without the constraints of specific symmetries or the assumption of asymptotic flatness. It is designed with the following goals in mind: - Fast computational speed - High accuracy - Easy extensibility to user-defined spacetimes and radiative models
It uses automatic differentiation with ForwardDiff.jl to compute the Christoffel symbols from the spacetime metric, and has built-in multithreading parallelism. The integration of the equations is performed with DifferentialEquations.jl.
For a quick start guide, see Getting started.
Features
Supported spacetimes
- Minkowski spacetime
- Schwarzschild spacetime
- Kerr spacetime
- Johannsen spacetime
- f(R)-Kerr spacetime
- Ruffini-Argüelles-Rueda spacetime for fermionic dark matter
- Boson star spacetimes with quartic self-interaction and solitonic potentials
- Extensibility to user-defined spacetimes
Radiative models
- Shakura-Sunyaev accretion disk
- Novikov-Thorne accretion disk
- Ion tori with synchrotron and bremsstrahlung emission
- Geometrically-thin optically-thick accretion disks with user-provided tabulated temperatures
- Line emission from accretion disks with user-provided emissivity profiles
- Lamppost corona emission and accretion disk illumination profiles
- Circular hot spots on the surface of a neutron star
- Extensibility to user-defined radiative models
Geometric and dynamical tools
- Spacetime metrics, inverse metrics, volume elements, Christoffel symbols, etc.
- Four-vector scalar products, index raising/lowering, orthogonal projection, normalization, etc.
- Constants of motion in spacetimes with symmetries
- Characteristic radii, like event horizons, ISCOs, etc.
- Spacetime geodesics integration
Radiative transfer
- Radiative transfer in vacuum and in emissive/absorptive media
Observable quantities
- Bolometric and specific intensities
- Fluxes through arbitrarily oriented surface elements
- Images and spectra
- Generic observation frames (any position and four-velocity)
Utilities
- Loading/saving data and configurations from/to HDF5 files
- Units and dimensions management
Installation
Requirements
- Julia version at least 1.6
The package is not yet available in the Julia registries. To install it, follow these steps:
- Clone the repository:
git clone https://github.com/joaquinpelle/Skylight.jl.git - Open the Julia REPL and enter package mode by typing
]. - Add Skylight to your Pkg environment:
dev \path\to\the\repository - Exit package mode with
Ctrl + Cand import Skylight:using Skylight
Folder contents
.
├── docs # Documentation files
├── run # Example scripts and notebooks to run the code
├── src # Source files
├── test # Test files
│ ├── benchmarks # Load and stress tests
│ ├── integration # End-to-end, integration tests
│ └── unit # Unit tests
To run the unit tests
- In your terminal, go to the package directory
- Open the Julia REPL
- Go to the package mode by typing
] - Activate the package environment by running the command
activate . - In the package mode, run the command
test
To cite this work
If you use this software in your work, we kindly request that you cite the following paper
bibtex
@article{pelle2022skylight,
title={Skylight: a new code for general-relativistic ray-tracing and radiative transfer in arbitrary space--times},
author={Pelle, Joaquin and Reula, Oscar and Carrasco, Federico and Bederian, Carlos},
journal={Monthly Notices of the Royal Astronomical Society},
volume={515},
number={1},
pages={1316--1327},
year={2022},
publisher={Oxford University Press}
}
Owner
- Login: joaquinpelle
- Kind: user
- Repositories: 1
- Profile: https://github.com/joaquinpelle
Citation (CITATION.bib)
@article{pelle2022skylight,
title={Skylight: a new code for general-relativistic ray-tracing and radiative transfer in arbitrary space--times},
author={Pelle, Joaquin and Reula, Oscar and Carrasco, Federico and Bederian, Carlos},
journal={Monthly Notices of the Royal Astronomical Society},
volume={515},
number={1},
pages={1316--1327},
year={2022},
publisher={Oxford University Press}
}
GitHub Events
Total
- Watch event: 6
- Push event: 19
- Pull request event: 3
- Fork event: 1
- Create event: 3
Last Year
- Watch event: 6
- Push event: 19
- Pull request event: 3
- Fork event: 1
- Create event: 3
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 31
- Average time to close issues: N/A
- Average time to close pull requests: 2 months
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 12
- Bot issues: 0
- Bot pull requests: 31
Past Year
- Issues: 0
- Pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 4
Top Authors
Issue Authors
Pull Request Authors
- github-actions[bot] (31)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v2 composite
- codecov/codecov-action v2 composite
- julia-actions/cache v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- JuliaRegistries/TagBot v1 composite
- actions/checkout v2 composite
- julia-actions/setup-julia v1 composite