TEND-MSIM(1)
π TEND-MSIM(1) π
okay bestie, welcome to tend-msim, a User Command and honestly? a whole vibe. she simulates DW images from an image of models, and she is so good at it. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
tend-msim β simulate DW images from an image of models π§
πΈ SYNOPSIS πΈ
tend msim [-sigma <sigma>] [-seed <seed>] -g <grad list> [-b0
<b0 image>] [-i <model image>] -m <model> [-ib0 <bool>] [-b <b>] [-kvp
<bool>] [-t <type>] [-o <nout>]
π¦ DESCRIPTION π¦
So like, what she does: you hand her an image of models, and she simulates DW images from it. No cap. The output will be in the same form as the input to tend-estim(1) β which is lowkey iconic, because it means you can just... chain them together. slay.
The B-matrices (that's -B) can be the output from tend-bmat(1), or you can give the gradients directly (that's -g). one of these is required, bestie β you cannot skip this part, it's giving mandatory.
Also, heads up: the input tensor image (that's -i) is the basis of the output per-axis fields and image orientation. she runs the whole show.
π NOTE: this includes the measurement frame used in the input tensor image, which implies that the given gradients or B-matrices are already expressed in that measurement frame. so like... don't come at her with gradients in some other frame, she will not convert them for you. periodt.
π OPTIONS π
-sigma <sigma>β the Gaussian/Rician noise parameter, adouble, and the default is β0.0β. so by default she's noise-free, squeaky clean β¨-seed <seed>β the seed value for the RNG that creates the noise, anint, default β42β. yes, the answer to everything. iconic behavior honestly.-g <grad list>β the gradient list, one row per diffusion-weighted image. this is the "give me the gradients directly" route π«Ά-b0 <b0 image>β a reference non-diffusion-weighted (βB0β) image. you might need this if it isn't already part of the model parameter image you gave her. she's not gonna invent it, bestie.-m <model>β the model with which to simulate DWIs. this must be specified if it isn't indicated by the first axis in the input model image. type:βstringβ.-ib0 <bool>β insert a non-DW B0 image at the beginning of the experiment specification (super useful if your gradient list doesn't already have one!) β and therefore also insert a B0 image at the beginning of the output simulated DWIs. typeβboolβ, default βfalseβ.-b <b>β b value for the simulated scan.βdoubleβ, default β1000β.-kvp <bool>β generate key/value pairs in the NRRD header corresponding to the input b-value and gradients.βboolβ, default βtrueβ. she does this by default, she's thoughtful like that π-t <type>β output type of the DWIs. default: βfloatβ.-o <nout>β output dwis, astring, default β-β.
π SEE ALSO π
tend(1), tend-bmat(1), tend-estim(1) β go read them, iykyk π
and that's the whole page, bestie!! π this one's from April 2021, and it lives in the User Commands section of the manual β the TEND-MSIM(1) girlies stay winning. go simulate something gorgeous. mwah πβ¨π¦
π¦ where this page comes from
- fedora 43: teem 1.11.0-83.fc43 Β· LGPL-2.1-or-later WITH LicenseRef-Fedora-Temporary-Simple-Library-exception
- fedora 43: teem 1.11.0-86.fc43 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- fedora 44: teem 1.11.0-87.fc44 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms