pandora2d

This module contains functions to run Pandora pipeline.

Subpackages

Submodules

Package Contents

Functions

run(pandora2d_machine, img_left, img_right, cfg_pipeline)

Run the Pandora 2D pipeline

main(→ None)

Check config file and run pandora 2D framework accordingly

pandora2d.run(pandora2d_machine: state_machine.Pandora2DMachine, img_left: xarray.Dataset, img_right: xarray.Dataset, cfg_pipeline: Dict[str, dict])[source]

Run the Pandora 2D pipeline

Parameters:
  • pandora2d_machine (Pandora2DMachine) – instance of Pandora2DMachine

  • img_left (xarray.Dataset) –

    left Dataset image containing :

    • im : 2D (row, col) xarray.DataArray

    • msk (optional): 2D (row, col) xarray.DataArray

  • img_right (xarray.Dataset) –

    right Dataset image containing :

    • im : 2D (row, col) xarray.DataArray

    • msk (optional): 2D (row, col) xarray.DataArray

  • cfg_pipeline (Dict[str, dict]) – pipeline configuration

Returns:

None

pandora2d.main(cfg_path: str, path_output: str, verbose: bool) None[source]

Check config file and run pandora 2D framework accordingly

Parameters:
  • cfg_path (string) – path to the json configuration file

  • verbose (bool) – verbose mode

Returns:

None