PYMOCTOOL(1)

πŸ’– pymoctool β€” manipulate Multi-Order Coverage maps πŸ’–

okay bestie, welcome to the pymoctool manual page ✨ it's a section-1 command, it's cute, it's chaotic, let's get into it 🫢


🌸 SYNOPSIS 🌸

pymoctool [INPUT] [COMMAND [FILE]] [--output OUTPUT]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically pymoctool is your girl for manipulating Multi-Order Coverage (MOC) tools for the Virtual Observatory πŸ’« It's a command-line tool, and it handles files encoded as FITS, JSON, or ASCII β€” no cap, all three πŸ™Œ

The tool builds up a MOC stack using union, intersection and subtraction, and the pipeline gets processed in the order it's passed on the command-line. Order matters, babes, it's giving "read it in order or perish" πŸ’…

Internally, pymoctool uses and exposes the PyMOC library found in the python-pymoc Debian package πŸ‘‘


✨ COMMANDS ✨

  • --catalog coords.txt [order NN] [radius NN] β€” renders circles using the flood-fill method on top of the MOC stack 🎨 Your input text file should be whitespace records containing either RA+Dec pairs or Lat+Lon pairs, fr fr.
  • --help, -h β€” shows the top-level help πŸ†˜ bestie needs a lil guidance sometimes.
  • --id β€” sets a new identifier for the MOC stack 🏷️
  • --info, -i β€” displays information about the MOC stack πŸ‘€ spill the tea.
  • --intersection β€” intersects another MOC with the existing MOC stack 🧩
  • --name β€” sets a new name for the MOC stack πŸ’–
  • --normalize 0-29 β€” sets the maximum depth order of a MOC, in the range 0-29 πŸ“
  • --output, -o β€” output filename MOC πŸ“€
  • --plot β€” projects and renders the MOC as a flattened all-sky map 🌈 iconic behaviour honestly.
  • --subtract β€” subtracts a MOC from the existing MOC stack βž–
  • --version β€” shows the backend PyMOC library version number πŸ”’
Detailed help for individual commands can be found with pymoctool --help COMMAND β€” yes bestie, there's a whole help tree, go explore 🧚

πŸŽ€ EXAMPLES πŸŽ€

pymoctool foo.fits --output foo.json bar.txt --output both.fits

what this does: loads foo.fits, then converts and saves a copy to foo.json, then performs a union merge with a text-format MOC called bar.txt, and saves the result to both.fits πŸ’Ύβœ¨ slay, honestly.


πŸ‘‘ AUTHORS πŸ‘‘

pymoctool and PyMOC were written by Graham Bell, with support from the Science and Technology Facilities Council, and the East Asian Obsevatory 🌏

This manual page was written for the Debian Project by Paul Sladen, with support from the German Astronomical Virtual Observatory (GAVO) at the University of Heidelberg πŸ’œ


and that's the whole pymoctool page, bestie β€” part of the manual, straight from the source, no version bump or date stamp on this one, just the humble pymoctool page name holding it down 🫢 k bye, go make some MOCs πŸ’…πŸŒΈ