PYFAI-AVERAGE(1)
π PYFAI-AVERAGE π
okay bestie, welcome to pyFAI-average, a manual page for the utility that averages out a serie of files π (yes, "serie", the tool said what it said, we respect it).
β¨ NAME β¨
pyFAI-average β utility that averages out a serie of files π
πΈ DESCRIPTION πΈ
so like. here's the vibe:
usage: pyFAI-average [options] [options] -o output.edf file1.edf file2.edf ...
This tool can be used to average out a set of dark current images using mean or median filter (along the image stack). π¦ One can also reject outliers be specifying a cutoff (remove cosmic rays / zingers from dark). no cap, it really does both.
π positional arguments:
FILEβ Files to be processed. that's it, that's the whole job, just hand over the files bestie π
π options:
-h,--helpβ show this help message and exit β¨-V,--versionβ show program's version number and exit π-o OUTPUT,--output OUTPUTβ Output/ destination of average image π-m METHOD,--method METHODβ Method used for averaging, can be'mean'(default) or'min','max','median','sum','quantiles','cutoff','std'. Multiple filters can be defined with,separator. π₯ yes you can stack them, main character energy fr fr-c CUTOFF,--cutoff CUTOFFβ Take the mean of the average +/- cutoff * std_dev. π§-F FORMAT,--format FORMATβ Output file/image format (by default EDF) π-d DARK,--dark DARKβ Dark noise to be subtracted π-f FLAT,--flat FLATβ Flat field correction πΈ-v,--verboseβ switch to verbose/debug mode π-q QUANTILES,--quantiles QUANTILESβ average out between two quantiles --q 0.20-0.90β¨--monitor-name MONITOR_KEYβ Name of the monitor in the header of each input files. If defined the contribution of each input file is divided by the monitor. If the header does not contain or contains a wrong value, the contribution of the input file is ignored. On EDF files, values from'counter_pos'can accessed by using the expected mnemonic. For example'counter/bmon'. π (read that twice, it's giving very specific and very on purpose)--quietβ Only error messages are printed out π€«
β οΈ heads up bestie: with --monitor-name, if the header doesn't contain the monitor or contains a wrong value, the contribution of the input file is ignored. that's not a suggestion, that's what happens. π
It can also be used to merge many images from the same sample when using a small beam and reduce the spotty-ness of Debye-Sherrer rings. In this case the "max-filter" is usually recommended. π¦β¨
and that's the whole page, you ate it, periodt π
this was pyFAI-average version 0.21.3, dated February 2023 π mwah, love u, go average something iconic πππ
π¦ where this page comes from
- debian bookworm: pyfai 0.21.3+dfsg1-4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms