empyrean.read_ades¶
- read_ades(path_or_string)[source]¶
Read ADES PSV observations into optical + radar tables.
- Parameters:
path_or_string (
str|PathLike[str]) – Either a filesystem path to an ADES PSV / MPC80 file, or the PSV / MPC80 content directly as a string. A pathlib.Path instance is always treated as a path; a plain str is treated as a path when it exists on disk and as content otherwise.- Return type:
tuple[ADESObservations,ADESRadarObservations]- Returns:
tuple[ADESObservations, ADESRadarObservations] –
(optical, radar). The radar table is empty when the file carries no<radar>block. ADES models radar as its own top-level table, so both are returned together; unpack the tuple — e.g.optical, radar = read_ades(path).