Skip to content

voiage.cli.calculate_ceaf

calculate_ceaf([positional or keyword] surface_file: Path = typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON surface data with net_benefit and wtp_thresholds'), [positional or keyword] output_file: Path | None = typer.Option(None, '--output', '-o', help='File to save the CEAF result')) -> None

Calculate a Cost-Effectiveness Acceptability Frontier.

Calculate a CEAF from a JSON surface file:

.. code-block:: bash

voiage calculate-ceaf 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 with net_benefit and wtp_thresholds'))
  • output_file Path | None (default: typer.Option(None, '--output', '-o', help='File to save the CEAF result'))

Returns: None