FITSCUT(1)

✨ FITSCUT ✨

okay bestie, so fitscut is a little user command that pulls cutouts out of FITS image format files πŸŽ€ like it just... reaches into a big astro image and yoinks the exact square you want. main character energy fr fr πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

fitscut [options] file [green] [blue] [outfile]

πŸ’– DESCRIPTION πŸ’–

🌸 Options are:

  • -f, --force β€” force overwrite of output file (it will literally just bulldoze whatever's already sitting there 😀)
  • -h, --help β€” display this help and exit
  • -v, --verbose β€” verbose operation (it talks more, we love a chatty icon)
  • -V, --version β€” output version information and exit
  • -p, --png β€” output a PNG format file πŸ–ΌοΈ
  • -j, --jpg β€” output a JPEG format file πŸ“Έ
  • -x, --x=N β€” X center coordinate
  • -y, --y=N β€” Y center coordinate
  • --x0=N β€” X corner coordinate
  • --y0=N β€” Y corner coordinate
  • -r, --rows=N β€” number of rows (height)
  • -c, --columns=N β€” number of columns (width)
  • --all β€” extract a cutout of the same size as the input image (the whole thing, no cutting, periodt)
  • --linear-scale β€” output in linear scale [default]
  • -l, --log-scale β€” output in log scale
  • -s, --sqrt-scale β€” output in square root scale
  • -e, --histeq-scale β€” histogram equalized output
  • --asinh-scale β€” asinh equalized output
  • -i, --invert β€” invert output colors (negative vibe, on purpose πŸ’€)
  • --palette=name β€” output palette name (png output only)
  • --factor=value β€” multiply image by value
  • --rate β€” scale image by exposure time factor
  • --autoscale=percent β€” percent of histogram to include

If percent is a single value it is interpreted as the percentage of the histogram to include. If percent is two values separated by a comma it is interpreted as the lower and upper bounds of the histogram to include (eg. --autoscale=1.5,98.5)

  • --autoscale-min=percent β€” lower bound percentage of histogram to include
  • --autoscale-max=percent β€” upper bound percentage of histogram to include
  • --min=value β€” image value to use for scale minimum
  • --max=value β€” image value to use for scale maximum

The value for --min or --max may be either one value to be used for all images (eg. --min=0), or one value for each image separated by a comma (eg. --min=0,0,0)

  • --red=file β€” filename to be used in red channel of color image
  • --green=file β€” filename to be used in green channel of color image
  • --blue=file β€” filename to be used in blue channel of color image
  • --zoom=factor β€” zoom input image by positive multiplicative factor
  • --align β€” use WCS information in header to align images
  • --compass β€” add a WCS compass to the image 🧭

🌈 Supported palettes:

gray heat cool rainbow red green blue

bestie if you need a palette for something other than a PNG, that's a no from the manpage, iykyk πŸ™ˆ

and that's the whole page, no cap πŸ‘‘

this was fitscut 1.4.4, dated Tue Oct 31 16:43... April 2024 β€” ty for coming to my ted talk, go extract something gorgeous πŸ’œβœ¨πŸ¦‹

πŸ“¦ where this page comes from