PYSPH_VIEWER(1)
πΈ PYSPH_VIEWER πΈ
okay bestie, welcome to PYSPH_VIEWER(1) β the man page for pysph_viewer, the little viewer that lets you see your results. That's it, that's the vibe. She views output. She slays. π
β¨ NAME β¨
pysph_viewer β a viewer to view the output of results. Usage:
π¦ DESCRIPTION π¦
Usage: pysph_viewer [-v] <trait1=value> <trait2=value> [files.npz]
So here's the tea, bestie π«: if you don't hand it any *.npz files, it will connect to a running solver instead. And if that doesn't happen either, it'll just display the files you gave it.
Those <trait1=value> things? They're optional settings β stuff like host, port, authkey, etc. Here's the whole roster of traits you can pass, no gatekeeping:
hostβ hostname/IP address to connect to. πportβ Port to connect to.authkeyβ authorization key to use. πintervalβ time interval to refresh display. β±οΈpause_solverβ Set True/False, will pause running solver. βΈοΈmovie_directoryβ directory to dump movie files (automatically set if not supplied). π¬recordβ True/False: record movie, i.e. store screenshots of display. πΈplayβ True/False: Play all stored data files. βΆοΈloopβ True/False: Loop over data files. π
π OPTIONS π
-h/--helpβ prints this message. classic. π«Ά-vβ sets verbose mode which will print solver connection status failures on stdout. (so when the connection ghosted you, at least you'll know π)
β Examples β
$ pysph_viewer interval=10 host=localhost port=8900
$ pysph_viewer foo.npz
$ pysph_viewer *.npz play=True loop=True
okay so. not to be that girl, but the manpage literally repeats this next whole chunk. i'm not making it up, it's right there in the source. keeping it all because the rules are the rules, and we do not skip content in this house π
pysph_viewer [-v] <trait1=value> <trait2=value> [files.npz]
If *.npz files are not supplied it will connect to a running solver, if not it will display the given files.
The arguments <trait1=value> are optional settings like host, port and authkey etc. The following traits are available:
hostβ hostname/IP address to connect to. πportβ Port to connect to.authkeyβ authorization key to use. πintervalβ time interval to refresh display. β±οΈpause_solverβ Set True/False, will pause running solver. βΈοΈmovie_directoryβ directory to dump movie files (automatically set if not supplied). π¬recordβ True/False: record movie, i.e. store screenshots of display. πΈplayβ True/False: Play all stored data files. βΆοΈloopβ True/False: Loop over data files. π
-h/--helpβ prints this message. π«Ά-vβ sets verbose mode which will print solver connection status failures on stdout.
β Examples β
$ pysph_viewer interval=10 host=localhost port=8900
$ pysph_viewer foo.npz
$ pysph_viewer *.npz play=True loop=True
π SEE ALSO π
The full documentation for pysph_viewer is maintained as a Texinfo manual. If the info and pysph_viewer programs are properly installed at your site, the command
info pysph_viewer
should give you access to the complete manual. go read it, it's giving β¨ thorough β¨
and that's the whole page bestie!! π this was pysph_viewer Usage: β source and version realness β dated December 2014, filed under PYSPH_VIEWER(1). mwah, go view some results ππ
π¦ where this page comes from
- debian bookworm: pysph-viewer 1.0~b1-5 Β· BSD-3-Clause
- ubuntu jammy: pysph-viewer 1.0~b0~20191115.gite3d5e10-6build1 Β· BSD-3-Clause
- ubuntu noble: pysph-viewer 1.0~b1-8build1 Β· BSD-3-Clause
- ubuntu stonking: pysph-viewer 1.0~b2-4 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms