orca.metadata.stageiii
Stage III slow transient pipeline path management.
Provides the StageIIIPathsManager class for managing file paths in the Stage III pipeline, which processes slow (10-second integration) visibility data for transient and slow cadence science.
Classes
- StageIIIPathsManager
Dataclass-based path manager for Stage III data products.
Attributes
Classes
Path manager for Stage III slow transient pipeline. |
Module Contents
- orca.metadata.stageiii.spws = ['13MHz', '18MHz', '23MHz', '27MHz', '32MHz', '36MHz', '41MHz', '46MHz', '50MHz', '55MHz',...[source]
- class orca.metadata.stageiii.StageIIIPathsManager[source]
Bases:
orca.metadata.pathsmanagers.PathsManagerPath manager for Stage III slow transient pipeline.
A dataclass-based path manager that handles measurement set discovery and data product path generation for the Stage III pipeline.
- start: datetime.datetime[source]
- property ms_list: List[Tuple[datetime.datetime, pathlib.Path]][source]
List of (timestamp, path) tuples for measurement sets in the time range.
- get_bcal_path(bandpass_date: datetime.date, spw: str | None = None) str[source]
Get the path to a bandpass calibration table.
- Parameters:
bandpass_date – Date of the bandpass solution.
spw – Spectral window. Defaults to this manager’s subband.
- Returns:
Absolute path to the bandpass calibration table.
- get_gaintable_path(timestamp: datetime.date | datetime.datetime, spw: str, gaintype: str) str[source]
Get the path to a gain calibration table.
- Parameters:
timestamp – Date or datetime of the calibration solution.
spw – Spectral window identifier.
gaintype – Type of gain table (e.g., ‘bcal’, ‘gcal’).
- Returns:
Absolute path to the gain table.
- time_filter(start_time: datetime.datetime, end_time: datetime.datetime) StageIIIPathsManager[source]
Create a new manager filtered to a specific time range.
- Parameters:
start_time – New start time (inclusive).
end_time – New end time (exclusive).
- Returns:
New StageIIIPathsManager instance with filtered time range.
- data_product_path(timestamp: datetime.datetime, suffix: str) str[source]
Generate path for a data product file.
- Parameters:
timestamp – Timestamp of the observation.
suffix – Product type suffix (e.g., ‘fits’, ‘npz’).
- Returns:
Absolute path to the data product.