HMpTy

https://img.shields.io/pypi/pyversions/HMpTy https://img.shields.io/pypi/v/HMpTy https://img.shields.io/github/license/thespacedoctor/HMpTy https://img.shields.io/pypi/dm/HMpTy

http://167.99.90.204:8080/buildStatus/icon?job=HMpTy%2Fmaster&subject=build%20master http://167.99.90.204:8080/buildStatus/icon?job=HMpTy%2Fdevelop&subject=build%20dev https://cdn.jsdelivr.net/gh/thespacedoctor/HMpTy@master/coverage.svg https://readthedocs.org/projects/hmpty/badge/?version=master https://img.shields.io/github/issues/thespacedoctor/HMpTy/type:%20bug?label=bug%20issues

Generate Hierarchical Triangular Mesh (HTM) IDs, crossmatch sets of sky-coordinates and more.

http://i.imgur.com/5GG4979.png

Documentation for HMpTy is hosted by Read the Docs ( development version and master version). The code lives on github. Please report any issues you find here.

API Reference

Modules

HMpTy.commonutils

common tools used throughout package

HMpTy.htm

The HTM and Matcher Objects

HMpTy.mysql

MySQL tools involving HTMs

HMpTy.htm.htm

Tools for working with Hierarchical Triangular Meshes, including coordinate crossmatching

HMpTy.utKit

Unit testing tools

Classes

HMpTy.htm.htm.HTM

A Hierarchical Triangular Mesh object

HMpTy.htm.htm.Matcher

A matcher-array object to match other arrays of ra,dec against

HMpTy.htm.sets

Given a list of coordinates and a crossmatch radius, split the list up into sets of associated locations

HMpTy.mysql.conesearch

The worker class for the conesearch module

Functions

HMpTy.mysql.add_htm_ids_to_mysql_database_table

Given a database connection, a name of a table and the column names for RA and DEC, generates ID for one or more HTM level in the table

Release Notes

v1.5.3 - June 23, 2020

  • FIXED When matching 2 lists of coordinates, if a list location was matched against more than one item in the second match list the angular separation of the first match got over-written by the second match.

v1.5.1 - May 19, 2020

  • FIXED MacOS install was needlessly involved.

v1.5.0 - May 8, 2020

  • Now compatible with python 3.*