Getting Started with HATS#
Installation#
The latest release version of HATS is available to install with pip (with conda coming soon).
python -m pip install hats
Hint
We recommend using a virtual environment. Before installing the package, create and activate a fresh environment. Here are some examples with different tools:
python -m venv ./hats_env
source ./hats_env/bin/activate
With the pyenv-virtualenv plug-in:
pyenv virtualenv 3.11 hats_env
pyenv local hats_env
We recommend Python versions >=3.10, <=3.12.
HATS can also be installed from source on GitHub.
LSDB#
For the most part, we recommend accessing and processing HATS data using the LSDB package framework. LSDB provides a variety of utility functions as well as a lazy, distributed execution framework using Dask.
For detail on LSDB, see the readthedocs site.