whitespaceninja / findstars

Simple clojure program to find stars closest to a given coordinate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

findstars

Takes in a filename of HYG stars, reads, it, and finds the stars closest to your origin.

Prereqs

Java 1.6, 1.7, or 1.8 on your $PATH

Install Clojure

Install Leiningen

Testing it

lein test runs tests

Running it

lein run hygdata_v3.csv k will parse the given filename for the k nearest stars

lein run hygdata_v3.csv k x0 y0 z0 will parse the given filename for the k nearest stars to an origin point in space defined by (x0 y0 z0)

About

Simple clojure program to find stars closest to a given coordinate


Languages

Language:Clojure 100.0%