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 invokingficombinecall. 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-historyto 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: settingsigmato some value is equivalent to settinglowerandupperto the same value simultaneously. two birds, one flag. π¦truncatedβ truncated mean.winsorizedβ winsorized mean.lowest=<cnt>,highest=<cnt>,discard=<cnt>β reject thelowestandhighestcount of points when computing truncated or winsorized mean. and just like the sigma thing: settingdiscardto some value is equivalent to settinglowestandhighestto 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 π
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
- debian bookworm: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- debian trixie: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- ubuntu jammy: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- ubuntu noble: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- ubuntu resolute: fitsh 0.9.4-2 Β· GPL-3.0-or-later
- ubuntu stonking: fitsh 0.9.4-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms