VMTKNUMPYWRITER(1)
β¨ VMTKNUMPYWRITER πΎ
okay bestie, welcome to the vmtknumpywriter page β it's a User Command straight out of the vmtk fam, and it's lowkey one of the most useful little goblins in the toolbox π«Ά
πΈ NAME πΈ
vmtknumpywriter β it's the vmtk script vmtknumpywriter, no cap. That's it, that's the name, slay π
π DESCRIPTION π
So like. Automatic piping vmtkNumpyWriter Parsing options vmtkNumpyWriter. That's the vibe, that's the whole energy β¨
vmtkNumpyWriter : Writes a dictionary containing a nested dictionary of numpy arrays (generated by vmtkcenterlinestonumpy, vmtkimagetonumpy, or vmtksurface to numpy) to disk as either a python pickle object or as hdf5 file π
π§ Input arguments: π§
-idId (str,1); default=0β script id, it's giving "which script am I" energy π-handleSelf (self,1) β handle to self, yes she's holding her own hand, iconic π-disabledDisabled (bool,1); default=0β disable execution and piping π-iArrayDict (dict,1) β the input array dictionary, this is the moment β¨-ifileArrayDictInputFileName (str,1) β filename for the default ArrayDict reader πΈ-ofileOutputFileName (str,1) β the output file name, where the magic lands πΎ-compressionCompression (str,1)>= 1 and <= 0; default=1β Boolean value to compress hdf5 dataset files using gzip, default=1ποΈ-compressionlevelCompressionLevel (str,1)>= 0 and <= 9; default=4β Specify compression level for gzip compressed hdf5 files. Must be an intiger from0to9, higher levels have more compression, but take longer to process. Default=4π’β¨-formatFormat (str,1) in['pickle', 'hdf5']; default=pickleβ write files as pickled object or hdf5 file format, pick your fighter π₯ vs ποΈ
π¦ Output arguments: π¦
-idId (str,1); default=0β script id, she's back π-handleSelf (self,1) β handle to self, again, we stan a self-sufficient queen π«Ά
ngl bestie, that-compressionrange is literally written as>= 1 and <= 0, soβ¦ read it as written, okay? no notes, just vibes π
okay that's the whole page!! this one's vmtknumpywriter version 1.5, dated April 2026, and the manual it lives in is VMTKNUMPYWRITER(1). go write some numpy arrays to disk, main character πβ¨ππ¦πΈ
π¦ 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