pycsamt.zonge.var_std#

Phase-variation quality metrics:

  • SPhz – stdev of Z phase (mrad or deg)

  • SEphz – stdev of E phase (mrad or deg)

  • SHphz – stdev of H phase (mrad or deg)

These are scalar QC variables defined per (station, freq, comp) row. They are not 2×2 tensors, but provide a to_tensor_like() adapter that reuses TensorBase gridding when you want a (station × freq × 2 × 2) view with values placed at the matching component slot and the rest as NaN.

Notes

  • Accepted column names are both legacy (e.g. sPhz) and modern (e.g. Z.perr). Case-insensitive matching is used.

  • Units default to mrad via Unit.Phase in dataset attrs. You can call convert_unit() to flip between mrad and deg safely.

Classes

PhaseSigma

PhaseStdBase([data, meta, name, verbose])

Common implementation for phase stdev QC variables.

SEphz([data, meta, name, verbose])

Standard deviation of E-phase.

SHphz([data, meta, name, verbose])

Standard deviation of H-phase.

SPhz([data, meta, name, verbose])

Standard deviation of impedance phase (Z).

class pycsamt.zonge.var_std.SPhz(data=None, meta=None, *, name=None, verbose=False)[source]#

Bases: PhaseStdBase

Standard deviation of impedance phase (Z).

Recognised source columns#

  • sPhz

  • Z.perr

Internal canonical column: 'sphz'.

VAR_NAME: ClassVar[str] = 's_phz'#
LABEL: ClassVar[str] = 'Z phase σ (sPhz)'#
Parameters:
class pycsamt.zonge.var_std.SEphz(data=None, meta=None, *, name=None, verbose=False)[source]#

Bases: PhaseStdBase

Standard deviation of E-phase.

Recognised source columns#

  • sEphz

  • E.perr

Internal canonical column: 'sephz'.

VAR_NAME: ClassVar[str] = 's_ephz'#
LABEL: ClassVar[str] = 'E phase σ (sEphz)'#
Parameters:
class pycsamt.zonge.var_std.SHphz(data=None, meta=None, *, name=None, verbose=False)[source]#

Bases: PhaseStdBase

Standard deviation of H-phase.

Recognised source columns#

  • sHphz

  • H.perr

Internal canonical column: 'shphz'.

VAR_NAME: ClassVar[str] = 's_hphz'#
LABEL: ClassVar[str] = 'H phase σ (sHphz)'#
Parameters:
pycsamt.zonge.var_std.PhaseSigma#

alias of SPhz