Pointing Models
celestial-pointing fits pointing models for equatorial telescope mounts and
applies them at the telescope.
This crate is experimental. Its API and the pointing shell’s command set
may change between releases, and it supports equatorial mounts only for now.
Why a mount needs a model
Send a mount to a star and it rarely lands on it. The polar axis is a little
off the pole, the axes aren’t quite perpendicular, the tube sags as it tips
toward the horizon, and the encoders have their own zero points. Each of those
errors moves the pointing by a predictable amount that depends on where the
telescope is aimed. A pointing model describes them as a short list of named
terms, such as ME (the polar axis is too high or too low) and CH (the
optical axis isn’t square to the declination axis).
You measure the terms by pointing at stars. For each star you record where the star really is and where the mount’s encoders say the telescope is pointing. The differences, fitted across the sky, give you each term’s size. Once you have the model, you run it backwards to find where to send the mount so the star lands in the middle of the field.
Here is a six-term fit to 98 stars from one night, in the pointing shell:
*INDAT warp-astron.dat
...
*USE IH ID NP CH ME MA
*FIT
coeff change value sigma
1 IH +8512.559 +8512.56 14.883
2 ID +7206.960 +7206.96 18.313
3 NP -22.682 -22.68 30.817
4 CH -1234.764 -1234.76 16.706
5 ME -133.523 -133.52 14.296
6 MA +64.384 +64.38 25.283
Sky RMS = 109.11
Popn SD = 112.61
Observation #61 is a weak outlier candidate.
Every value is in arcseconds. NP is smaller than its sigma, so this night’s data doesn’t support it, and the other five are measured well. Fit Your First Model walks through this output line by line.
What you get
- The standard equatorial terms and harmonics. The six basic terms, the common flexure and centering terms, and harmonic terms you build by name for errors with no physical model. Pointing Terms lists them.
- INDAT in, OUTMOD out. Observations are read from INDAT files and models are written as OUTMOD files, plain-text formats that other pointing tools also read, so you can move data and models between programs.
- A search for the terms your data supports. Automodel adds harmonics, drops weak terms and masks outliers, and logs every decision, so you can see why each term is there. See Automodel and Vetting.
- The model in both directions.
Pointerturns an ICRS target into a mount reading and a mount reading back into an ICRS direction, so a mount driver can slew with the model. See Point the Telescope with a Model. - Polar alignment. The fitted ME and MA terms become “raise the axis by this much, turn it by that much”. See Polar Alignment.
- Live runs. A
PointingRunrefits after each star, so you can watch the model settle while you’re still observing. See A Live Pointing Run. - A command shell.
pointingruns the fitting commands interactively, from a script, or in a full-screen UI with plots. See The Command Shell.
Limitations
- Equatorial mounts only. There’s no alt-azimuth mount model, so INDAT
files marked
:ALTAZor:GIMBALare rejected when they’re read. - No azimuth or elevation harmonics. Harmonic terms with the result codes S, A and E (moves across the vertical circle, in azimuth and in elevation) are rejected as unsupported terms. Harmonics in the other result codes may still take azimuth, zenith distance or elevation as their input angle.
- No mount control. The crate fits and applies models. Talking to the mount, plate solving the frames and recording encoder readings are up to your program.
- The live run’s term schedule is for German equatorial mounts. It grows
the model through the six basic terms. A fork mount can still be fitted
with any terms in the shell or with
fit.
Background and credits
The approach this crate takes comes from Patrick Wallace’s TPOINT, a telescope pointing analysis system whose origins go back to his work on the Anglo-Australian 3.9 m telescope in the 1970s. The term names and sign conventions (IH, ID, NP, CH, ME, MA and the harmonic notation), the INDAT observation format, the OUTMOD model format and the shell’s command names all follow the TPOINT manual. Keeping them means equatorial INDAT files and OUTMOD models need no conversion, and the manual’s explanations of the terms apply here too.
- P. T. Wallace, TPOINT: a telescope pointing analysis system, Version 18.20 for Unix, Tpoint Software, 10 December 2011.
celestial-pointing is an independent implementation. It isn’t affiliated with or endorsed by Tpoint Software. TPOINT is a trademark of Tpoint Software.
Where to start
- To fit a model from an INDAT file you already have, start with Fit Your First Model.
- To understand what the terms mean and which ones to fit, read Pointing Terms.
- To build a model into a mount driver, read Point the Telescope with a Model and A Live Pointing Run.
- For every shell command, the graphs and procedures, see The Command Shell.