flipx(1)

πŸ’… flipx β€” bestie edition ✨

ok so like, welcome to flipx(1), the General Commands Manual entry that's about to be your new hyperfixation 🫢


🌸 NAME 🌸

flipx β€” flip the x axis in a FITS image, no cap πŸ’–


✨ SYNOPSIS ✨

flipx <input images>

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie, listen β€” this program is literally an example of how to use the qfits library πŸŽ€. That's its whole main character moment, and it ate.

It wants a list of FITS file names on input, like a little lineup of files waiting for their glow-up πŸ’….

For every single input file, it takes the image sitting in the main data section and flips it in the X direction β€” meaning pixel (i,j) gets swapped with pixel (lx-i, j). periodt. πŸ”₯

Now the pixel loading mechanism? It's independent from the endian-ness of the local host AND independent from the FITS pixel type. So it does not care what your machine's vibe is or what pixel type you rolled up with β€” iconic, honestly. That's why this program gives you a really good overview of how to use qfits for pixel-level operations ✨. iykyk.


πŸ’œ OPTIONS πŸ’œ

  • None. β€” that's it, that's the list. no flags, no extras, just vibes 🧚

πŸ“ FILES πŸ“

Input files shall all comply with FITS format. no exceptions bestie, the FITS format is non-negotiable πŸŽ€


πŸ’€ BUGS πŸ’€

not me exposing the flaws but okay πŸ™ˆ

Heads up: this program does NOT support cubes or image extensions 😭. Like, at all. BUT β€” and this is the slay part β€” it could be easily extended to support that case πŸ‘‘. So if you're feeling ambitious, go off, the door is open ✨.


πŸ’– SEE ALSO πŸ’–

hmm, there's nothing extra listed here bestie, this page is keeping it lowkey 🌸


and that's the whole page, fr fr πŸ’…

this iconic little manual page came to you from the General Commands Manual, dated 25 Jul 2001 β€” yeah, she's vintage, she's a classic, she's still serving πŸŽ€βœ¨

mwah, bye bestie πŸ«ΆπŸ’œ