Skip to content
Astronomical time keeping in Julia
Julia
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
test
.gitignore
.travis.yml
LICENSE.md
README.md
REQUIRE
appveyor.yml
codecov.yml

README.md

AstroTime

Astronomical time keeping in Julia

Build Status Unix Build Status Windows Coveralls Codecov Docs Stable Docs Dev

AstroTime.jl provides a high-precision, time-scale aware, DateTime-like data type which supports all commonly used astronomical time scales.

Installation

The package can be installed through Julia's package manager:

julia> import Pkg; Pkg.add("AstroTime")

Quickstart

# Create an Epoch based on the TT (Terrestial Time) scale
tt = TTEpoch("2018-01-01T12:00:00")

# Transform to UTC (Universal Time Coordinated)
utc = UTCEpoch(tt)

# Transform to TDB (Barycentric Dynamical Time)
utc = TDBEpoch(utc)

# Shift an Epoch by one day
another_day = tt + 1days

Documentation

Please refer to the documentation for additional information.

You can’t perform that action at this time.