FITS2BITMAP(1)

✨ NAME ✨

fits2bitmap β€” bestie, this makes a bitmap file out of a FITS image. that's it, that's the whole job πŸ’…


🌸 DESCRIPTION 🌸

okay so here's the vibe. you got a FITS image (astronomy data, iconic), and you want a cute lil picture out of it. that's literally what this does. here's how you call it:

usage: fits2bitmap [-h] [-e hdu] [-o filename] [--scale SCALE] [--power
POWER]

       [--asinh_a ASINH_A] [--min_cut MIN_CUT] [--max_cut MAX_CUT]
       [--min_percent MIN_PERCENT] [--max_percent MAX_PERCENT]
       [--percent PERCENT] [--cmap colormap_name] filename [filename
       ...]

like yes it's a lot of brackets, breathe, we'll get through it together 🫢

πŸŽ€ positional arguments πŸŽ€

  • filename β€” the path to one or more FITS files you wanna convert. yes, more than one, she's flexible ✨

πŸ’œ optional arguments πŸ’œ

  • -h, --help β€” shows you this help message and dips. classic.
  • -e hdu, --ext hdu β€” tells it which HDU extension number or name to use. (HDU = header data unit, iykyk)
  • -o filename β€” the filename for the output image. the default? a PNG file with the exact same name as the FITS file. lowkey convenient.
  • --scale SCALE β€” the type of image scaling. your options are "linear", "sqrt", "power", "log", or "asinh". pick your fighter.
  • --power POWER β€” the power index, and this one's only for "power" scaling. no cap.
  • --asinh_a ASINH_A β€” the value in the normalized image where the asinh curve transitions from linear to logarithmic behavior. only used for "asinh" scaling, so don't stress about it otherwise 🧚
  • --min_cut MIN_CUT β€” the pixel value of the minimum cut level.
  • --max_cut MAX_CUT β€” the pixel value of the maximum cut level.
  • --min_percent MIN_PERCENT β€” the percentile value used to determine the minimum cut level.
  • --max_percent MAX_PERCENT β€” the percentile value used to determine the maximum cut level.
  • --percent PERCENT β€” the percentage of the image values used to determine the pixel values of the minimum and maximum cut levels.
  • --cmap colormap_name β€” the matplotlib color map name. go wild, she's giving aesthetic 🌈
fr fr, that's every single flag. nothing hiding. no secret menu πŸ’–

this whole thing is brought to you by astropy 1.0.2, dated April 2015, and it's literally called fits2bitmap. ok that's the whole page, you ate, go make some bitmaps bestie πŸ‘‘πŸ’