Pipeline for a wide-field sky monitor: Makak, the fixed wide-field camera (mi0315, Moravian G1-2000, ~57"/px, 10 s frames every 11.5 s) at Ondřejov pointing at the north celestial pole region, run by RTS2 on morpheus.
This repository is archived. It is "makak-reloaded" (January 2025), the second Makak pipeline. Since 2026-10-26 Makak is processed by asarina with pyrt, like the D50 and SBT telescopes. Nothing here is in use.
Everything Makak-specific is in the asarina repository, directory
makak/; its
README.md is the full description. What this repository did is done there by:
| here (makak-reloaded) | now (asarina + pyrt) |
|---|---|
makak-crawl.py: watch for new frames |
asarina-watch --latest-only (makak/systemd/makak-asarina.service) |
makak-reloaded.py: dark, solve, dophot per frame |
asarina-imgproc --makak with makak/etc/asarina.conf |
smart_dark.py: dark model by temperature |
asarina's smart dark (smart_dark in the config, the model makak-dark-response.npy) |
reprocess-script*.py: archive reprocessing |
asarina-reprocess (makak/bin/makak-reprocess.sh, makak/etc/reprocess-zeus.ini) |
makak-plot.sh: the nightly graph |
makak/web/makak-plot.sh driven by makak/web/makak-web (makak-web.service) |
| — | sky map (asarina-skymap --profile makak) and its HiPS (makak/bin/makak-hips.sh) |
The products are the same as here: an ECSV per frame (ecsv/YYYYMMDD/), the
nightly summary nght/mrYYYYMMDD.dat (and ...d.dat for dark frames), and the
graph on lascaux (public_html/makak/makak.png, mrpng/, dat/). The
asarina zeropoint is ~0.29 mag above this pipeline's (Gaia G instead of
Sloan r).
On the machine with the camera (morpheus: Debian, RTS2 writing to /images):
- Install pyrt and asarina from their main branches as editable installs,
e.g.
git cloneboth into~/srcand in each runpip install -e . --break-system-packages --no-deps. They need astrometry.net (solve-fieldwith index files for a wide field), SExtractor, gnuplot andpython3-astropy-healpix(apt). Update pyrt and asarina together: asarina calls pyrt's command-line tools and may use options only a newer pyrt has (in 2026-11 an asarina passing-Kto an olderpyrt-field-solvefailed every field-solve for nine days). - Copy the deployment: in the asarina repository,
makak/deploy.sh filesputsmakak/(configs, scripts, units, dophot model) into~/asarina+makak, the service's runtime directory. The dark modeldata/makak-dark-response.npy(48 MB) is not in git: copy it from an existing installation (it is the same file asmakak-dark-response.npyof this pipeline). - Install and start the units (root):
makak/deploy.sh unitscopiesmakak-asarina.serviceandmakak-web.serviceto/etc/systemd/systemand restarts them. The first frame is field-solved; every accepted solution becomes the next frame's starting guess (state/mi0315.wcs). - The graph uploads to lascaux with a key that lascaux allows only
rrsync -wo ~/public_html/makakand reads the D50 meteo log from lascaux50 with one allowed onlyrrsync -ro /var/log.
After moving the camera no configuration changes: a frame that does not fit
the last solution is field-solved. Still check the first night afterwards
(matched stars per frame, IDNUM, in nght/mr*.dat, normally ~250-300): a
guess that fits poorly can be accepted, as on 2026-11-07. Nights processed
badly are redone with makak/bin/makak-renight.sh.
makak-crawl.py,makak-reloaded.py,smart_dark.py: the realtime pipeline (January 2025, replaced 2026-10-26).reprocess-script.py,reprocess-script1.py,reprocess-script2.py: the archive reprocessing of 2025, run on zeus bytools/do_reprocess.sh.makak-plot.sh: the nightly graph with the fitted temperature and noise.tools/cloud-match.py,tools/parameter_extractor.py: analysis of the nightly summaries (zeropoint against cloudiness; polynomial fits of the photometric parameters with Sun and Moon context). Copies are kept in asarina'smakak/dev/.tools/do_reprocess_new.sh: the first run of a night throughasarina-imgproc(2026), the start of the transition.