orca.utils.paths

Path construction and resource location utilities.

Provides functions for locating package resources such as AOFlagger strategy files.

Functions

get_aoflagger_strategy(→ str)

Return the full path to an AOFlagger strategy file.

Module Contents

orca.utils.paths.get_aoflagger_strategy(name: str) str[source]

Return the full path to an AOFlagger strategy file.

Locates strategy files bundled with the orca package.

Parameters:

name – Filename of the strategy file (e.g., ‘lwa-default.lua’).

Returns:

Absolute path to the strategy file.