Python and bash-shell scripts used to align and calibrate star maps using cross correlation and chi2 minimization.