Skip to content

taps.apps.configs.montage

MontageConfig

Bases: AppConfig

Montage application configuration.

Parameters:

  • name (Literal[str], default: 'montage' ) –

    Application name.

  • img_folder (Path) –

    Input images directory path.

  • img_tbl (str, default: 'Kimages.tbl' ) –

    Input image table filename.

  • img_hdr (str, default: 'Kimages.hdr' ) –

    Header filename for input images.

  • output_dir (str, default: 'data' ) –

    Output folder path for intermediate and final data (relative to run directory).

get_app

get_app() -> App

Create an application instance from the config.

Source code in taps/apps/configs/montage.py
def get_app(self) -> App:
    """Create an application instance from the config."""
    from taps.apps.montage import MontageApp

    return MontageApp(
        img_folder=pathlib.Path(self.img_folder),
        img_tbl=self.img_tbl,
        img_hdr=self.img_hdr,
        output_dir=self.output_dir,
    )