DENSIFY-BRAGG(1)

πŸ“¦
version 0.14.0 Β· 2 versions
, in debian bookworm

✨ DENSIFY-BRAGG πŸ’…

okay bestie, sit down, we're talking about densify-Bragg β€” a little script that takes a sparse fileformat (the kind sparsify-Bragg spits out when it's been hanging with pyFAI) and turns it into a dense stack of frames, the kind that lives in Eiger, Lima ... images. glow-up of the century, no cap πŸ¦‹


🌸 DESCRIPTION 🌸

here's the whole vibe, literally the usage line:

usage: densify [-h] [-V] [-v] [--debug] [-l] [-o OUTPUT] [-O FORMAT]
       [-D DUMMY] [--dry-run] [-N NOISY] [IMAGE ...]

and what does it do?? Convert a sparse fileformat (Generated by sparsify-Bragg from pyFAI) to a dense stack of frames in Eiger, Lima ... images. ✨ that's the whole job. sparse in, dense out, iconic behaviour only.


πŸŽ€ positional arguments

  • IMAGE β€” the file with your input images. yes queen, feed it the pictures πŸ“Έ

πŸ’– options

  • -h, --help β€” shows this help message and then dips. exit stage left.
  • -V, --version β€” prints the version and exits. short and sweet.
  • -v, --verbose β€” spills the tea on every single conversion, so you see information for each one. main character reporting energy.
  • --debug β€” for when you need the whole lore: shows debug information.

πŸ‘‘ main arguments

  • -l, --list β€” shows you the list of available output formats and exits. window shopping, but make it formats πŸ›οΈ
  • -o OUTPUT, --output OUTPUT β€” the output filename. by default it's {baseame}_densify.h5 (yes bestie, baseame, that's literally what it says, we don't touch it πŸ’€).
  • -O FORMAT, --output-format FORMAT β€” picks your output format from among 'lima', 'eiger' ... etc. choose your fighter.
  • -D DUMMY, --dummy DUMMY β€” sets masked values to this dummy value. the masked ones get a lil placeholder, periodt.

🧚 optional behaviour arguments

  • --dry-run β€” does everything except actually modifying the file system. all the drama, zero consequences πŸ™ˆ
  • -N NOISY, --noise NOISY β€” the noise scaling factor, and it lives between 0 and 1. set it to 0 to disable the noise reconstruction entirely. dial it like a volume knob 🎚️

⚠️ bestie, listen: return codes. 0 means a success πŸ’–. 1 means the conversion contains a failure 😭. 2 means there was an error in the arguments β€” you passed it something cursed πŸ’€.

this page was brought to you by densify-Bragg 0.14.0, born November 2022 β€” mwah, slay, take care of her 🫢🌈⭐

πŸ“¦ where this page comes from