TEND-MFIT(1)

πŸ“¦ version 1.11.0, in fedora 43, fedora 44

πŸ’– TEND-MFIT(1) πŸ’–

okay bestie, welcome to tend-mfit β€” it's a User Command, it lives in section 1 of the manual, and it is literally the moment you finally figure out what your DW images are actually telling you. 🧚✨


✨ NAME ✨

tend-mfit β€” estimate models from a set of DW images 🫢


🌸 SYNOPSIS 🌸

tend mfit [-v <verbose>] -m <model> [-ns <# starts>] [-ml] [-sigma
<sigma>] [-eps <eps>] [-mini <min iters>] [-maxi <max iters>] -knownB0
<bool> [-t <type>] [-i <dwi>] [-o <nout>] [-eo <filename>] [-co
<filename>] [-io <filename>]

no cap, that's the whole vibe right there. notice how -m and -knownB0 are the ones with no brackets? yeah. those are the main characters. everyone else is optional. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -v <verbose> β€” how chatty do you want this to be? it's an int, and the default is "0". so by default it's giving silent treatment. πŸ’…
  • -m <model> β€” which model to fit, bestie. (string) and here's the cute part: you can slap an optional "b0+" prefix on it to say yes please also save out the B0 image β€” and that happens independent of whether the B0 was known or had to be estimated, which is governed by -knownB0. so "b0+" is doing its own thing, okay? she's independent. πŸ¦‹
  • -ns <# starts> β€” number of random starting points where the fitting gets initialized. (unsigned int) default: "1". one (1) single start, no more, unless you ask. πŸ™ˆ
  • -ml β€” do ML fitting instead of least-squares fitting. heads up though: this also requires you to set -sigma. it's a package deal, fr fr. 😭
  • -sigma <sigma> β€” the Gaussian/Rician noise parameter. (double)
  • -eps <eps> β€” convergence epsilon. (double) default: "0.01". that's your "are we there yet" threshold. πŸš—
  • -mini <min iters> β€” the minimum required number of iterations for fitting. (unsigned int) default: "3". she needs at least three, she's not a quitter. πŸ’ͺ
  • -maxi <max iters> β€” the maximum allowable number of iterations for fitting. (unsigned int) default: "100". after that we are DONE, no matter what. ⏰
  • -knownB0 <bool> β€” tells the program whether the B=0 non-diffusion-weighted reference image is known. pass "true" if it shows up one or more times amongst the DWIs. pass "false" if it has to be estimated along with all the other model parameters. (bool) this one's not optional, so decide, bestie. 🫢
  • -t <type> β€” output type of the model parameters. default: "float". ✨
  • -i <dwi> β€” all the diffusion-weighted images, all together in one 4D nrrd. default: "-". 🌈
  • -o <nout> β€” the output parameter vector image. (string) default: "-". πŸŽ€
  • -eo <filename> β€” give it a filename and it'll save out the per-sample fitting error. by default, no such error is saved. (string) πŸ“
  • -co <filename> β€” give it a filename and it'll save out the per-sample convergence fraction. by default, no such error is saved. (string) πŸ“ˆ
  • -io <filename> β€” give it a filename and it'll save out the per-sample number of iterations needed for fitting. by default, no such error is saved. (string) πŸ”’
lowkey obsessed with how all three of -eo, -co and -io say "no such error is saved" by default. that's just what the page says. i don't make the rules. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

  • tend(1) β€” go read that one too, bestie, iykyk πŸ¦‹

and that's the whole page!! πŸ’œ this little icon of a manual page is dated April 2021, and it came to you from the User Commands corner of the world. mwah. slay. periodt. βœ¨πŸ’…πŸŽ€

πŸ“¦ where this page comes from