Skip to content

Star Tracking

mcli edited this page Jan 4, 2017 · 5 revisions

Star Tracker Usage

  1. Capture pictures.

  2. Downsample the image to maximum 512x512 using the image magick covert tool. Experiment with different resolutions to see how it affects the processing time and results.

    convert --resample 512x512 image.jpg

  3. Create a directory for the pictures on irvine-01. On Irvine-01:

    mkdir /data/capture

  4. scp the pictures to the directory that was created. On dev machine or gateway:

    scp *.jpg irvine-01:/data/capture

  5. run solve-field.sh on the images. solve-field.sh is located in /usr/local/bin and should be in your PATH. On irvine-01:

    cd /data/capture; solve-field.sh *.jpg

Example execution

Example execution for all *.jpg files in a directory:

# solve-field.sh --overwrite *.jpg

Reading input file 1 of 3: "IMG_7946_sm.jpg"...

jpegtopnm: WRITING PPM FILE

Read file stdin: 512 x 341 pixels x 1 color(s); maxval 255

Using 8-bit output

Extracting sources...

simplexy: found 419 sources.

Solving...

Reading file "./IMG_7946_sm.axy"...

Field 1 did not solve (index index-19.fit, field objects 1-10).

Field 1 did not solve (index index-18.fit, field objects 1-10).

log-odds ratio 133 (5.77084e+57), 23 match, 0 conflict, 22 distractors, 27 index.

RA,Dec = (12.5559,57.0122), pixel scale 175.588 arcsec/pix.

Hit/miss: Hit/miss: ++++++-+++++-+--+--++--+--++---++-++--------+ (best)-------------------------------------------------------

Field 1: solved with index index-17.fit.

Field 1 solved: writing to file ./IMG_7946_sm.solved to indicate this.

Field: IMG_7946_sm.jpg

Field center: (RA,Dec) = (12.675635, 56.984883) deg.

Field center: (RA H:M:S, Dec D:M:S) = (00:50:42.152, +56:59:05.580).

Field size: 24.627 x 16.5563 degrees

Field rotation angle: up is 62.341 degrees E of N

Creating new FITS file "./IMG_7946_sm.new"...

Reading input file 2 of 3: "IMG_7963_sm.jpg"...

jpegtopnm: WRITING PPM FILE

Read file stdin: 512 x 341 pixels x 1 color(s); maxval 255

Using 8-bit output

Extracting sources...

simplexy: found 338 sources.

Solving...

Reading file "./IMG_7963_sm.axy"...

Field 1 did not solve (index index-19.fit, field objects 1-10).

Field 1 did not solve (index index-18.fit, field objects 1-10).

log-odds ratio 94.8195 (1.51204e+41), 23 match, 1 conflict, 78 distractors, 33 index.

RA,Dec = (82.459,1.59636), pixel scale 175.816 arcsec/pix.

Hit/miss: Hit/miss: +-++-+---+-++--++--+---+-+-----+--------+----+-------+-------+--+c---+----+----------------------+-+

Field 1: solved with index index-17.fit.

Field 1 solved: writing to file ./IMG_7963_sm.solved to indicate this.

Field: IMG_7963_sm.jpg

Field center: (RA,Dec) = (82.463263, 1.575915) deg.

Field center: (RA H:M:S, Dec D:M:S) = (05:29:51.183, +01:34:33.295).

Field size: 24.6486 x 16.5373 degrees

Field rotation angle: up is 125.59 degrees E of N

Creating new FITS file "./IMG_7963_sm.new"...

Reading input file 3 of 3: "IMG_7964_sm.jpg"...

jpegtopnm: WRITING PPM FILE

Read file stdin: 512 x 341 pixels x 1 color(s); maxval 255

Using 8-bit output

Extracting sources...

simplexy: found 503 sources.

Solving...

Reading file "./IMG_7964_sm.axy"...

Field 1 did not solve (index index-19.fit, field objects 1-10).

log-odds ratio 68.4712 (5.45327e+29), 11 match, 0 conflict, 29 distractors, 14 index.

RA,Dec = (78.4466,38.8944), pixel scale 175.686 arcsec/pix.

Hit/miss: Hit/miss: ++++++----+----+------++---------------+ (best)------------------------------------------------------------

Field 1: solved with index index-18.fit.

Field 1 solved: writing to file ./IMG_7964_sm.solved to indicate this.

Field: IMG_7964_sm.jpg

Field center: (RA,Dec) = (78.458223, 38.827510) deg.

Field center: (RA H:M:S, Dec D:M:S) = (05:13:49.974, +38:49:39.037).

Field size: 24.5732 x 16.5107 degrees

Field rotation angle: up is 82.9644 degrees E of N

Creating new FITS file "./IMG_7964_sm.new"...

Clone this wiki locally