voiage.cli.calculate_perspective
calculate_perspective
Section titled “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')) -> NoneCalculate experimental Value of Perspective from a JSON surface file.
Examples
Section titled “Examples”Calculate perspective regret and consensus strategy:
.. code-block:: bash
voiage calculate-perspective perspective_surface.json
Parameters:
surface_filePath(default:typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON surface data for Value of Perspective'))output_filePath | None(default:typer.Option(None, '--output', '-o', help='File to save Value of Perspective result'))
Returns: None