Giter VIP home page Giter VIP logo

astrometry's Introduction

Astrometry

Just messing around with some astrometry algorithms.

Sphere

Based on Indexing the Sphere with the Hierarchical Triangular Mesh by Alexander Szalay et al, Microsoft Research Advanced Technology Division, 2005, and the reference implementation found at SkyServer. The reference implementation is not entirely open source. There are some DLLs in the required folder of the distribution archive that I haven't been able to find the source for.

The goal of this project is a clean, modern, fully open source implementation of the HTM. Performance is comparable to the reference implementation. The master branch is slightly faster and the compat branch is slightly slower. Key differences between master and compat include the algorithm for identifying the initial face of the octahedron, the order (and therefore names) of the faces, the order in which the children of a trixel are tested, and the depth to which midpoints are normalized.

The compat branch is an experimental attempt to make this version produce the same trixel IDs as the reference implementation. Differences in the calculation of trixel IDs were isolated from differences in the conversion of RA/Dec to cartesian coordinates. At depth 20 there are approximately 160 different trixel IDs per million random RA/Dec coordinates. Approximately 120 of these differences occur at depth 20 (that is, in the least significant 2 bits of the tixel ID) with approximately 1/4 as many differences occurring at each shallower depth. The remaining differences may be due to things like the choice of ray-triangle intersection algorithm, epsilon values, and the exact order of operations. To run these tests yourself, you'll need to download the reference implementation and update the paths of the DLL references in the Compat.Test project.

astrometry's People

Contributors

kjkrum avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.