-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from astronomy-commons/getting_started
Add a getting started page
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
Getting Started with HATS | ||
========================= | ||
|
||
Installation | ||
------------ | ||
|
||
The latest release version of HATS is available to install with `pip <https://pypi.org/project/hats/>`_ (with conda coming soon). | ||
|
||
.. code-block:: bash | ||
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: | ||
|
||
.. tab-set:: | ||
|
||
.. tab-item:: venv | ||
|
||
.. code-block:: bash | ||
python -m venv ./hats_env | ||
source ./hats_env/bin/activate | ||
.. tab-item:: pyenv | ||
|
||
With the pyenv-virtualenv plug-in: | ||
|
||
.. code-block:: bash | ||
pyenv virtualenv 3.11 hats_env | ||
pyenv local hats_env | ||
We recommend Python versions **>=3.9, <=3.12**. | ||
|
||
HATS can also be installed from source on `GitHub <https://github.com/astronomy-commons/hats>`_. | ||
|
||
|
||
LSDB | ||
---- | ||
|
||
For the most part, we recommend accessing and processing HATS data using the `LSDB package | ||
<https://github.com/astronomy-commons/lsdb>`_ 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 <https://docs.lsdb.io/en/stable/>`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters