Skip to content

MickaelRigault/htmcatalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

htmcatalog

Tool to query existing catalogs stored in Hierarchical Triangular Mesh format (htm)

PyPI

Installation

using pip

pip install htmcatalog using git

git clone https://github.com/MickaelRigault/htmcatalog.git
cd htmcatalog
python setup.py install

dependencies: HMpTy pip install it

Usage

if you know the depth of your HTM (say 7) and the location of the directory containing the catalog split by htm tiles (say ~/data/catalog/)

then:

from htmcatalog import htmquery
hq = htmquery.HTMQuery(7, "~/data/catalog/")
catdata = hq.fetch_cat(RA_deg,Dec_deg, radius_deg)

catdata is a multi-index DataFrame (level 0=htm tile, level 1 = indiviual tile_catalog index)

About

Tool to query existing catalogs stored in Hierarchical Triangular Mesh format (htm)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages