Source code for mth5.io.phoenix.readers.header

# -*- coding: utf-8 -*-
"""
Adopted from TimeSeries reader, making all attributes properties for easier
reading and testing.

Module to read and parse native Phoenix Geophysics data formats of the MTU-5C Family

This module implements Streamed readers for segmented-decimated continuus-decimated
and native sampling rate time series formats of the MTU-5C family.

:author: Jorge Torres-Solis

Revised 2022 by J. Peacock
"""

# =============================================================================
# Imports
# =============================================================================
from __future__ import annotations

import string
from struct import unpack_from
from typing import Any, BinaryIO, TYPE_CHECKING

from loguru import logger
from mt_metadata.common.mttime import MTime
from mt_metadata.timeseries import Electric, Magnetic, Run, Station


if TYPE_CHECKING:
    pass

    from loguru import Logger


# =============================================================================