VMTKNUMPYWRITER(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

✨ 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: 🧚

  • -id Id (str,1); default=0 β€” script id, it's giving "which script am I" energy πŸ’…
  • -handle Self (self,1) β€” handle to self, yes she's holding her own hand, iconic πŸ‘‘
  • -disabled Disabled (bool,1); default=0 β€” disable execution and piping πŸ™ˆ
  • -i ArrayDict (dict,1) β€” the input array dictionary, this is the moment ✨
  • -ifile ArrayDictInputFileName (str,1) β€” filename for the default ArrayDict reader 🌸
  • -ofile OutputFileName (str,1) β€” the output file name, where the magic lands πŸ’Ύ
  • -compression Compression (str,1) >= 1 and <= 0; default=1 β€” Boolean value to compress hdf5 dataset files using gzip, default=1 πŸ—œοΈ
  • -compressionlevel CompressionLevel (str,1) >= 0 and <= 9; default=4 β€” Specify compression level for gzip compressed hdf5 files. Must be an intiger from 0 to 9, higher levels have more compression, but take longer to process. Default=4 🐒✨
  • -format Format (str,1) in ['pickle', 'hdf5']; default=pickle β€” write files as pickled object or hdf5 file format, pick your fighter πŸ₯’ vs πŸ—‚οΈ

πŸ¦‹ Output arguments: πŸ¦‹

  • -id Id (str,1); default=0 β€” script id, she's back πŸ’…
  • -handle Self (self,1) β€” handle to self, again, we stan a self-sufficient queen 🫢

ngl bestie, that -compression range 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