Skip to content

voiage.cli.calculate_perspective

calculate_perspective([positional or keyword] surface_file: Path = typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON surface data for Value of Perspective'), [positional or keyword] output_file: Path | None = typer.Option(None, '--output', '-o', help='File to save Value of Perspective result')) -> None

Calculate experimental Value of Perspective from a JSON surface file.

Calculate perspective regret and consensus strategy:

.. code-block:: bash

voiage calculate-perspective perspective_surface.json

Parameters:

  • surface_file Path (default: typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON surface data for Value of Perspective'))
  • output_file Path | None (default: typer.Option(None, '--output', '-o', help='File to save Value of Perspective result'))

Returns: None