EIGER2CRYSALIS(1)

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

πŸ‘‘ EIGER2CRYSALIS πŸ‘‘ β€” like, the eiger2crysalis manual page, bestie

okay so this is from the User Commands section of the manual, and it's literally your new fave little converter, no cap πŸ’–


✨ NAME ✨

eiger2crysalis β€” a Portable image converter based on FabIO library to export Eiger frames (including te one from LImA) to a set of esperanto frames which can be imported into CrysalisPro. πŸ¦‹


🌸 DESCRIPTION 🌸

so here's the vibe, the whole usage line, look at her:

usage: eiger2crysalis [-h] [-V] [-v] [--debug] [-l] [-o OUTPUT] [-O
OFFSET]

[-D DUMMY] [--dry-run] [--calc-mask] [-e ENERGY]
       [-w WAVELENGTH] [-d DISTANCE] [-b BEAM BEAM] [--alpha ALPHA]
       [--kappa KAPPA] [--phi PHI] [--omega OMEGA] [--theta THETA]
       [--rotation ROTATION] [--transpose] [--flip-ud] [--flip-lr]
       [IMAGE ...]

and what is she? she's a Portable image converter based on FabIO library to export Eiger frames (including te one from LImA) to a set of esperanto frames which can be imported into CrysalisPro. iconic behavior honestly πŸ’…


πŸŽ€ positional arguments πŸŽ€

  • IMAGE β€” File with input images. that's the whole job bestie, hand her your frames πŸ“Έ

πŸ’œ options πŸ’œ

  • -h, --help β€” show this help message and exit. the "wait what do I do" button 🫢
  • -V, --version β€” output version and exit. she'll tell you who she is ⭐
  • -v, --verbose β€” show information for each conversions. like a little commentary track on every single one πŸ”₯
  • --debug β€” show debug information. when u need the tea spilled in full πŸ“

🌈 main arguments 🌈

  • -l, --list β€” show the list of available formats and exit. window shopping, but for formats πŸŽ€
  • -o OUTPUT, --output OUTPUT β€” output directory and filename template. tell her where to drop the goods πŸ’–
  • -O OFFSET, --offset OFFSET β€” index offset, CrysalisPro likes indexes to start at 1, Python starts at 0. yes they really are like that, this is the whole beef 😭
  • -D DUMMY, --dummy DUMMY β€” Set masked values to this dummy value. filler value, main character energy for the invalid pixels ✨

πŸ¦‹ optional behaviour arguments πŸ¦‹

  • --dry-run β€” do everything except modifying the file system. all the drama, zero consequences πŸ’€
  • --calc-mask β€” Generate a mask from pixels marked as invalid. Off by default since it takes time. so it's highkey the expensive option, only turn it on if you got the patience 🧚

πŸ’… Experimental setup options πŸ’…

  • -e ENERGY, --energy ENERGY β€” Energy of the incident beam in keV. beam go brrr ⚑
  • -w WAVELENGTH, --wavelength WAVELENGTH β€” Wavelength of the incident beam in ??. yes, literally ??, the original said that, I'm not making it up πŸ™ˆ
  • -d DISTANCE, --distance DISTANCE β€” Detector distance in millimeters. how far away the detector is sitting πŸ“
  • -b BEAM BEAM, --beam BEAM BEAM β€” Direct beam in pixels x, y. two values, one flag, she contains multitudes πŸ‘‘

🌟 Goniometer setup 🌟

  • --alpha ALPHA β€” Goniometer angle alpha value in deg. Constant, angle between kappa/omega.
  • --kappa KAPPA β€” Goniometer angle kappa value in deg or formula f(index). yes, a formula, go wild πŸŽ€
  • --phi PHI β€” Goniometer angle phi value in deg. or formula f(index). Inner-most rotation.
  • --omega OMEGA β€” Goniometer angle omega value in deg. or formula f(index). Outer-most rotation.
  • --theta THETA β€” Goniometer angle theta value in deg. or formula f(index). Tilt angle of the detector. she's leaning, it's a look 🌸

πŸ”₯ Image preprocessing (Important: applied in this order!) πŸ”₯

bestie. listen. these get applied in THIS. EXACT. ORDER. don't come crying to me if you shuffle them, I warned you 😀
  • --rotation ROTATION β€” Rotate the initial image by this value in degrees. Must be a multiple of 90??. By default 180 deg (flip_up with origin=lower and flip_lr because the image is seen from the sample). yes the default is doing a whole little dance, she's dramatic but she's correct πŸ’…
  • --transpose β€” Flip the x/y axis. swap vibes, swap axes πŸ”„
  • --flip-ud β€” Flip the image upside-down. πŸ™ƒ
  • --flip-lr β€” Flip the image left-right. mirrored, but make it fashion ✨

🫢 return codes 🫢

  • 0 means a success. we ate. πŸ’–
  • 1 means the conversion contains a failure. not the vibe 😭
  • 2 means there was an error in the arguments. something got mistyped bestie πŸ’€

and that's the whole page!! tysm for reading, ily, go convert some frames πŸ’œ

eiger2crysalis 0.14.0 β€” November 2022 β€” mwah, that's the version and the date, periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from