Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juliaastro/erfa.jl
Julia wrapper for liberfa
https://github.com/juliaastro/erfa.jl
astronomy erfa julia
Last synced: 5 days ago
JSON representation
Julia wrapper for liberfa
- Host: GitHub
- URL: https://github.com/juliaastro/erfa.jl
- Owner: JuliaAstro
- License: other
- Created: 2014-02-26T04:30:11.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T02:41:24.000Z (6 months ago)
- Last Synced: 2024-10-10T09:38:41.065Z (about 1 month ago)
- Topics: astronomy, erfa, julia
- Language: Julia
- Homepage:
- Size: 1.03 MB
- Stars: 7
- Watchers: 9
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ERFA.jl
*Julia wrapper for [liberfa](https://github.com/liberfa/erfa)*
[![Build Status](https://github.com/juliaastro/ERFA.jl/workflows/CI/badge.svg)](https://github.com/juliaastro/ERFA.jl/actions)
[![Coverage](https://codecov.io/gh/juliaastro/ERFA.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/juliaastro/ERFA.jl)[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaastro.github.io/ERFA.jl/stable)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliaastro.github.io/ERFA.jl/dev)## Installation
```julia
julia> import Pkg; Pkg.add("ERFA")
```## Example
```julia
julia> using ERFAjulia> u1, u2 = dtf2d("UTC", 2010, 7, 24, 11, 18, 7.318)
(2.4554015e6, 0.47091803240740737)julia> a1, a2 = utctai(u1, u2)
(2.4554015e6, 0.4713115509259259)julia> t1, t2 = taitt(a1, a2)
(2.4554015e6, 0.4716840509259259)julia> d2dtf("TT", 3, t1, t2)
(2010, 7, 24, 11, 19, 13, 502)
```## Documentation
Please refer to the [documentation](https://juliaastro.github.io/ERFA.jl/stable) for additional
information.