VMTKNUMPYREADER(1)
π 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:
-idId (str,1); default=0β the script id. she's got an id, iconic behavior, default0. π-handleSelf (self,1) β a handle to self. yes queen, know thyself. π-disabledDisabled (bool,1); default=0β disables execution and piping. flip her on and she simply β¨ stops β¨. no piping, no running, just vibes (dormant ones).-fFormat (str,1) in['pickle', 'hdf5']β the file format. only these two. these. two. π€-guessformatGuessFormat (bool,1); default=1β guesses the file format from the extension. she's a detective π΅οΈββοΈ and default is1, so yes, guessing is on by default.-ifileInputFileName (str,1) β the input file name. that's the file, bestie. the one you want read. π
π Output arguments:
-idId (str,1); default=0β the script id again. she contains multitudes (and also the same id). π-handleSelf (self,1) β handle to self again. hi self, hi. π-oArrayDict (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 boththe input arguments and the output arguments, with the exact same types and defaults (str,1, default=0, andself,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
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms