VMTKNUMPYREADER(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’– VMTKNUMPYREADER β€” vmtk script vmtknumpyreader πŸ’–

okay bestie, welcome to the vmtknumpyreader(1) page, section 1 of the User Commands manual, and honestly? she's a lil cutie. ✨ Let's get into it.


✨ NAME ✨

vmtknumpyreader β€” the vmtk script literally named vmtknumpyreader. no notes, we love a self-titled era. πŸ’…


🌸 DESCRIPTION 🌸

So here's the tea: this is automatic piping vmtkNumpyReader and it's parsing options for vmtkNumpyReader. That's the whole job description and she's thriving. πŸŽ€

vmtkNumpyReader : reads a pickled (or hdf5) file containing a nested dictionary of numpy arrays β€” the kind generated by vmtkcenterlinestonumpy, vmtkimagetonumpy, or vmtksurfacetonumpy β€” pulls it from disk, and stores the object in memory into a standard dictionary of numpy arrays. basically a whole glow-up for your data, from "file on disk" to "dict in RAM". slay. πŸ’–

fr fr though, no cap: it says pickled or hdf5, and those are the only two formats on the menu. don't try to sneak anything else in there. not me being strict, that's just what the page says. 😭

🫢 Input arguments:

  • -id Id (str,1); default=0 β€” the script id. she's got an id, iconic behavior, default 0. πŸ‘‘
  • -handle Self (self,1) β€” a handle to self. yes queen, know thyself. πŸ’…
  • -disabled Disabled (bool,1); default=0 β€” disables execution and piping. flip her on and she simply ✨ stops ✨. no piping, no running, just vibes (dormant ones).
  • -f Format (str,1) in ['pickle', 'hdf5'] β€” the file format. only these two. these. two. 😀
  • -guessformat GuessFormat (bool,1); default=1 β€” guesses the file format from the extension. she's a detective πŸ•΅οΈβ€β™€οΈ and default is 1, so yes, guessing is on by default.
  • -ifile InputFileName (str,1) β€” the input file name. that's the file, bestie. the one you want read. πŸ“

πŸ’œ Output arguments:

  • -id Id (str,1); default=0 β€” the script id again. she contains multitudes (and also the same id). 🌈
  • -handle Self (self,1) β€” handle to self again. hi self, hi. πŸ’–
  • -o ArrayDict (dict,1) β€” the output dictionary. this is the moment, this is the main character 🌟 β€” the standard dictionary of numpy arrays you came here for.

okay and for the record, here's the plain shape of every flag in one place so you can copy-paste and go:

-id Id (str,1); default=0: script id
-handle Self (self,1): handle to self
-disabled Disabled (bool,1); default=0: disable execution and piping
-f Format (str,1) in ['pickle', 'hdf5']: file format
-guessformat GuessFormat (bool,1); default=1: guess file format from extension
-ifile InputFileName (str,1): the input file name
-o ArrayDict (dict,1): the output dictionary
⚠️ heads up bestie: <cyan>-id</cyan> and <cyan>-handle</cyan> show up in both the input arguments and the output arguments, with the exact same types and defaults (str,1, default=0, and self,1`). that's not a typo, that's just how she is. don't @ me. πŸ™ˆ

vmtknumpyreader 1.5 🌸 April 2026 β€” that's the version and the date, straight from the footer, mwah. and it's a VMTKNUMPYREADER(1) situation all the way through. that's the whole page, bestie, you ate that read. go run her. periodt. πŸ‘‘βœ¨πŸ’…πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from