Citlali

class tolteca.reduce.engines.Citlali(path=None, version=None, use_env_path=True)[source]

Bases: tolteca.reduce.engines.base.PipelineEngine

A wrapper class of Citlali, the TolTEC data reduction pipeline engine.

It searches for instances of citlali executables and check their versions against the required version. The latest one is adopted if multiple are found.

Parameters
pathstr, pathlib.Path, list

The path to search the executable for. A list of paths is accepted which searches the executable in the list in order.

versionstr

A version specifier/predicate that specifies the required version of pipeline.

use_env_pathbool

If True, the system PATH env var is consulted.

Attributes Summary

exec_path

logger

version

Methods Summary

check_for_update()

find_citlali_executables([path, version, ...])

Return a list of CitlaliExec objects that satisfy the version constraints.

get_default_config()

proc_context(config)

Return a CitlaliProc that run reduction for given input dataset.

run(*args, **kwargs)

Attributes Documentation

exec_path
logger = <Logger Citlali (DEBUG)>
version

Methods Documentation

check_for_update()[source]
classmethod find_citlali_executables(path=None, version=None, use_env_path=True)[source]

Return a list of CitlaliExec objects that satisfy the version constraints.

get_default_config()[source]
proc_context(config)[source]

Return a CitlaliProc that run reduction for given input dataset.

run(*args, **kwargs)[source]