Keck Observatory Archive (KOA) Tutorial: Moving Object Searches in PyKOA

PyKOA Version January 2023: Version 1.7.2

The Keck Observatory Archive (KOA) contains tens of thousands of observations of solar system objects. This notebook shows how to use the PyKOA Python client to seach KOA in time and space for public and protected observations of solar system objects. It is the Python analog of the the Moving Object Search Service (MOSS) available through the KOA web page at https://koa.ipac.caltech.edu.

Installation

PyKOA can be installed from PyPI:

pip install pykoa
or if already installed: pip install --upgrade pykoa

For displaying PNG images below (3. Display The PNG files), copy the https://koa.ipac.caltech.edu/UserGuide/PyKOA/notebooks/mossdisputil.py file into the same directory as this notebook. The mossdisputil.py utility uses the plotting environment dash and jupyter_dash. See https://dash.plotly.com/workspaces/using-dash-in-jupyter-and-workspaces The following modules are needed and can be installed via pip if not already in your python environment:

pip install dash
pip install jupyter_dash
pip install plotly
pip install astropy
pip install panda
pip install skimage

Requirements

Requires Python 3.6 (or above), plus table read and write functions from Astropy. We have tested with Astropy 4.0.1. We recommend using the Anaconda Python distribution.