FICOMBINE(1)

πŸ’– FICOMBINE(1) πŸ’–

okay bestie, sit DOWN, because today we're talking about ficombine β€” the User Commands girlie who takes a whole squad of images and merges them into one. 🫢


✨ NAME ✨

ficombine β€” combining (most frequently, averaging) a set of images πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

ficombine [options] <input images> [-o|--output <output>]

πŸ¦‹ DESCRIPTION πŸ¦‹

so the whole point of this program, bestie, is to take your input images β€” which all gotta have the same sizes, no cap β€” and combine them into a single image. 🌈

and when we say "combine"? we're mostly talking about a kind of "averaging" for the images. that's the main character energy here. BUT β€” and this is the fun part β€” other modes are also available. she's versatile like that. ✨


πŸ’… OPTIONS πŸ’…

🌸 General options: 🌸

  • -h, --help β€” gives you a general summary about the command line options. quick lil vibe check on the flags.
  • --long-help, --help-long β€” gives a detailed list of command line options. the deluxe version, the director's cut, the extended edition. πŸ‘‘
  • --wiki-help, --help-wiki, --mediawiki-help, --help-mediawiki β€” gives that same detailed list of command line options, but in Mediawiki format. wiki girlies, this one's for you. πŸ’œ
  • --version, --version-short, --short-version β€” gives some version information about the program. identity reveal moment. πŸͺͺ
  • -o, --output <fits> β€” the name of the output file. if you omit it, or specify -, the output gets written to stdout. yes, literally the dash. iconic behaviour tbh. πŸ“
  • --history, --no-history β€” include or exclude the command line of the invoking ficombine call. by default, the command line is added into the FITS headers (FI_HSTRY) β€” but if you've got an enormous amount of input files, you can use --no-history to omit the respective lengthy keywords. she's keeping receipts by default, but you can ask her to stop journaling. πŸ““
  • --data <spec> β€” output pixel data format specification.
  • -b, --bitpix <bitpix> β€” standard FITS output bitpix value.
  • -M, --input-mask <fits> β€” input mask file to co-add to the output image. 🎭

🧚 Generic combination specification: 🧚

  • -m, --mode <mode> β€” use the specified mode to combine images. pick your fighter. βš”οΈ
  • -n, --ignore-negative β€” ignore (i.e. mask) pixels with negative values. bye negative pixels, we don't know her. πŸ™ˆ
  • --logical-or β€” use logical "or" combination between masks.
  • --logical-and β€” use logical "and" combination between masks.

πŸ”₯ Combination modes πŸ”₯

so here's the tea: a comma-separated list of these should follow -m|--mode. mix and match, bestie.

  • mean β€” the mean value of the pixels.
  • median β€” the median value of the pixels.
  • min, minimum β€” the minimum value of the pixels.
  • max, maximum β€” the maximum value of the pixels.
  • rejmed, rejection β€” median value after rejecting outliers. the "not you, not you, and definitely not you" mode. πŸ’€
  • rejmean β€” mean value after rejecting outliers.
  • iterations=<n> β€” number of iterations to reject outliers.
  • lower=<l>, upper=<u>, sigma=<s> β€” outlier limit (lower, upper, both) in standard deviation. and heads up: setting sigma to some value is equivalent to setting lower and upper to the same value simultaneously. two birds, one flag. 🐦
  • truncated β€” truncated mean.
  • winsorized β€” winsorized mean.
  • lowest=<cnt>, highest=<cnt>, discard=<cnt> β€” reject the lowest and highest count of points when computing truncated or winsorized mean. and just like the sigma thing: setting discard to some value is equivalent to setting lowest and highest to this value simultaneously. πŸŽ€
  • sum β€” sum of the pixel values.
  • squaresum β€” sum for the squarers of the pixel values.
  • scatter, stddev β€” pixel scatter (standard deviation).
  • or β€” use logical "or" combination between masks.
  • and β€” use logical "and" combination between masks.
  • ignorenegative β€” ignore (i.e. mask) pixels with negative values.
  • ignorezero β€” ignore (i.e. mask) pixels with a zero value.
  • ignorenegative β€” ignore (i.e. mask) pixels with positive values.
bestie I am NOT playing around: the original page literally lists ignorenegative twice, once with "negative values" and once with "positive values". I'm keeping it exactly as written because the vibe changes but the facts do NOT. πŸ‘‘πŸ’…

😭 REPORTING BUGS 😭

found a bug? report it to <apal@szofi.net> β€” and see also https://fitsh.net/. 🫢


Copyright Β© 1996, 2002, 2004-2008, 2010-2016, 2018-2020; Pal, Andras <apal@szofi.net>


and that's the whole page, bestie!! 🌟 this one's ficombine 0.9.4 (2021.01.24), dated January 2021, and it's giving FICOMBINE(1) through and through. now go average some images. slay. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from