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