GENSAMPLE(1)
π NAME π
gensample β bestie, this one generates a virtual sample that's suitable for sequence simulation in ODIN. That's the whole vibe. π¦
β¨ DESCRIPTION β¨
okay so. gensample generates a virtual sample suitable for sequence simulation in ODIN. periodt. π
This program is part of odin 2.0.5 with configuration using_gcc debug gui(:5) standalone dl posix_threads libz gsl nifti vtk dicom png ismrmrd gdb β yes that's a whole mouthful, no cap, but every single one of those tokens matters so I'm keeping them all. π«Ά
π Usage and options: π
πΈ Create a sample from external maps: πΈ
like, you've got maps already and you just want the sample? say less:
gensample -fr <FOVread> -fp <FOVphase> -fs <FOVslice> -s0 <spin-density>
[-t1 <T1map>] [-t2 <T2map>] [-pm <ppmMap>] [-ir <inplane-reduction>]
[-ss <single-slice number>] [-ft <comma-separated-list of frame-rates
for dymaic phantoms>]
-o <Sample-file>
π¦ Create a point-spread function: π¦
one single point, living its best life:
gensample -psf -t1 <point T1> -t2 <point T2> [-dc
<DiffusionCoeff>] -o <Sample-file>
π Create rectangle of uniform spin distribution about origin in all 3 spatial dimensions: π
a whole rectangle of uniform spins, centered on the origin, in all three spatial dims. iconic honestly:
gensample -uni -n <size> -f <FOV> [-t1 <uniform T1>] [-t2
<uniform T2>] -o <Sample-file>
β Create an isochromat distribution: β
isochromats!! the moment:
gensample -iso -n <size> -df <freq-distribution-width[kHz]> -t1
<point T1> -t2 <point T2> [-dc <point Dcoeff>] -o <Sample-file>
π Create a homogenous disk with given radius: π
a disk. round. homogenous. you give it the radius:
gensample -dsk -n <size> -f <FOV> -R <radius> [-t1 <uniform T1>]
[-t2 <uniform T2>] [-dc <uniform DiffusionCoeff>] -o
<Sample-file>
π Create coaxial cylinder: π
coaxial cylinder arc, fr fr:
gensample -cyl -n <size> -f <FOV> -Xi <inner-suscept[ppm]> -Xo
<outer-suscept[ppm]> -Ri <inner-radius> -Ro <outer-radius> [-t1
<uniform T1> -t2 <uniform T2> -sl <single-line>] -o <Sample-file>
π Other options: π
-v <loglevel>or<component:loglevel>β debugging/tracing, bestie! π pass-v <loglevel>to log all components, or-v <component:loglevel>to log just a single component. Possible values for loglevel are:0(noLog),1(errorLog),2(warningLog),3(infoLog),4(significantDebug),5(normalDebug),6(verboseDebug).-h,--help,-help,--versionβ print help text or version information. the "help me I'm lost" button and the "who even am I" button. π«Ά
heads up bestie: -o <Sample-file> shows up in every single usage form up there, so don't forget it, or you'll be sad. π
and that's the whole page!! this was gensample 2.0.5, dated October 2021. π mwah, go generate something cute, you got this πβ¨
π¦ where this page comes from
- debian bookworm: odin 2.0.5-3+b1 Β· GPL-2.0-or-later
- debian trixie: odin 2.0.5-7+b1 Β· GPL-2.0-or-later
- ubuntu jammy: odin 2.0.5-2 Β· GPL-2.0-or-later
- ubuntu noble: odin 2.0.5-5build4 Β· GPL-2.0-or-later
- ubuntu questing: odin 2.0.5-7build1
- ubuntu resolute: odin 2.0.5-8build2 Β· GPL-2.0-or-later
- ubuntu stonking: odin 2.0.5-10build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms