EIGER2CRYSALIS(1)
π 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 π«Ά
0means a success. we ate. π1means the conversion contains a failure. not the vibe π2means 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
- debian bookworm: fabio-viewer 0.14.0+dfsg-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms