pycsamt.zonge.qc#

A convenient aggregator for all Quality-Control (QC) components.

This module re-exports the individual QC metric classes from the var_pc (percent-variation) and var_std (phase standard deviation) modules into a single, easy-to-import namespace.

class pycsamt.zonge.qc.PcEmag(data=None, meta=None, *, name=None, verbose=False)#

Bases: PercentVarBase

Percent error on electric-field magnitude, \(|E|\).

This component normalizes legacy aliases into a canonical variable named pc_emag:

  • '%Emag' (legacy AMTAVG/MTEdit),

  • 'E.%err' (CSAVGW / modern),

  • case-sensitive exact matches are used.

Notes

Values are stored in percent; the dataset attribute Unit.Percent is set to '%' when exporting to xarray.Dataset.

Parameters:
VAR_NAME: ClassVar[str] = 'pc_emag'#
TITLE: ClassVar[str] = 'Percent |E| Variation'#
UNIT_ATTR: ClassVar[str] = 'Unit.Percent'#
class pycsamt.zonge.qc.PcHmag(data=None, meta=None, *, name=None, verbose=False)#

Bases: PercentVarBase

Percent error on magnetic-field magnitude, \(|H|\).

This component normalizes legacy aliases into a canonical variable named pc_hmag:

  • '%Hmag' (legacy AMTAVG/MTEdit),

  • 'B.%err' (CSAVGW, where B denotes the H-field),

  • 'H.%err' (rare but seen).

Notes

Values are stored in percent; the dataset attribute Unit.Percent is set to '%' when exporting to xarray.Dataset.

Parameters:
VAR_NAME: ClassVar[str] = 'pc_hmag'#
TITLE: ClassVar[str] = 'Percent |H| Variation'#
UNIT_ATTR: ClassVar[str] = 'Unit.Percent'#
class pycsamt.zonge.qc.PcRho(data=None, meta=None, *, name=None, verbose=False)#

Bases: PercentVarBase

Percent error on apparent resistivity, \(\rho_a\).

This component normalizes legacy aliases into a canonical variable named pc_rho:

  • '%Rho' (legacy AMTAVG/MTEdit),

  • 'ARes.%err' (CSAVGW),

  • 'rho.%err' (modern lower-case variant).

Notes

Values are stored in percent; the dataset attribute Unit.Percent is set to '%' when exporting to xarray.Dataset.

Parameters:
VAR_NAME: ClassVar[str] = 'pc_rho'#
TITLE: ClassVar[str] = 'Percent ρa Variation'#
UNIT_ATTR: ClassVar[str] = 'Unit.Percent'#
pycsamt.zonge.qc.EmagPctErr#

alias of PcEmag

pycsamt.zonge.qc.HmagPctErr#

alias of PcHmag

pycsamt.zonge.qc.RhoPctErr#

alias of PcRho

class pycsamt.zonge.qc.SEphz(data=None, meta=None, *, name=None, verbose=False)#

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.qc.SHphz(data=None, meta=None, *, name=None, verbose=False)#

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:
class pycsamt.zonge.qc.SPhz(data=None, meta=None, *, name=None, verbose=False)#

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:
pycsamt.zonge.qc.PhaseSigma#

alias of SPhz