Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Polar Alignment

A pointing model can correct a misaligned polar axis, but tracking can’t: a mount whose axis is off the pole drifts in declination during a long exposure, whatever the model says. ME and MA measure the misalignment, so a pointing run doubles as a polar alignment check. PolarAlignment turns the two terms into the adjustments you make with the mount’s altitude and azimuth bolts.

From a fit to adjustments

Fit the six basic terms and pass the fit and the INDAT run record to PolarAlignment::from_fit:

use std::path::Path;

use celestial_pointing::astrometry::{RefractionModelKind, RunRefraction};
use celestial_pointing::fit::{fit, FitOptions};
use celestial_pointing::model::{model_from_names, Model};
use celestial_pointing::observation::ObservationSet;
use celestial_pointing::polar_alignment::PolarAlignment;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let observations = ObservationSet::read_indat(
        Path::new("warp-astron.dat"),
        RunRefraction::FromWeather(RefractionModelKind::Ciddor),
    )?;
    let start = Model::new(model_from_names(&["IH", "ID", "NP", "CH", "ME", "MA"]))?;
    let outcome = fit(&observations.reduce()?, &start, &FitOptions::default())?;

    let alignment =
        PolarAlignment::from_fit(&outcome, &observations.run, RefractionModelKind::Ciddor)?;
    println!("ME target {:+.1}\"", alignment.me_target);
    if let Some(raise) = alignment.raise_polar_axis {
        println!("raise the polar axis {:+.1}\" +- {:.1}\"", raise.arcsec, raise.sigma);
    }
    if let Some(turn) = alignment.rotate_anticlockwise {
        println!("turn anticlockwise   {:+.1}\" +- {:.1}\"", turn.arcsec, turn.sigma);
    }
    Ok(())
}
ME target -51.8"
raise the polar axis -81.7" +- 14.3"
turn anticlockwise   +82.9" +- 32.5"

For this mount, lower the polar axis by about 82 arcseconds and turn it anticlockwise, seen from above, by about 83 arcseconds. A negative amount reverses the direction. The sigmas come from the fit: the elevation adjustment is at almost 6 sigma, and the azimuth one at 2.5 sigma. An adjustment smaller than about twice its sigma isn’t measured well enough to be worth making.

Why the ME target isn’t zero

Refraction lifts every star, and the celestial pole with them, so the pole you’d see through the telescope is above the true pole. The polar axis is best aligned with that raised pole, so an aligned mount’s ME is not zero but me_target: minus the lift in the northern hemisphere, plus the lift in the southern. PolarAlignment computes the lift from the run’s weather and latitude, here 51.8 arcseconds at latitude +39°. The ideal MA is zero in both hemispheres.

raise_polar_axis is the distance from the fitted ME to that target, and rotate_anticlockwise is MA divided by the cosine of the latitude, because a turn in azimuth moves the axis less, measured on the sky, the higher the pole is.

When there’s no answer

  • An adjustment is None when its term isn’t in the model or is fixed. FAUTO can fix ME and MA at zero when harmonics take up their signal, so read polar alignment from a basic six-term fit, not from an automodel. Automodel and Vetting shows an example.
  • from_fit fails with Error::MissingWeather when the run record has no temperature, or neither pressure nor height, because the lift depends on them.
  • It fails with Error::PolarAlignmentLatitude when the pole is less than 10° above the horizon. That close to the horizon the refraction formula isn’t reliable enough to set the target.

After you adjust

Moving the polar axis changes ME and MA, so the old model no longer fits the mount. Take a new run, even a short one, and fit again. Repeat until the adjustments are inside their sigmas.

Next steps