The easiest way to install lkspacecraft
and all of its dependencies is to use the pip
command,
which is a standard part of all Python distributions. (upon release)
To install lkspacecraft
, run the following command in a terminal window:
$ python -m pip install lkspacecraft --upgrade
The --upgrade
flag is optional, but recommended if you already
have lkspacecraft
installed and want to upgrade to the latest version.
You can use lkspacecraft
to access position and velocity information of Kepler and TESS using input times
from lkspacecraft import KeplerSpacecraft
ks = KeplerSpacecraft()
t = Time("2009-04-06 06:22:56.000025")
ks.get_velocity_aberrated_positions(time=t, ra=290.666, dec=44.5)