pycsamt.zonge.var_pc#
Percent-variation (QC) components for Zonge AVG tables.
This module provides small, format-agnostic containers for the three “percent-error” columns commonly found in AMTAVG/CSAVGW- style data:
PcEmag – relative |E| error in percent (
%Emag/E.%err)PcHmag – relative |H| error in percent (
%Hmag/B.%err)- PcRho – relative apparent-resistivity error in percent
(
%Rho/ARes.%err/rho.%err)
All classes inherit from AVGComponentBase, read tidy
tables (modern or legacy), normalize column names, and can export
to xarray.Dataset for multi-dimensional workflows.
Classes
|
Percent error on electric-field magnitude, \(|E|\). |
|
Percent error on magnetic-field magnitude, \(|H|\). |
|
Percent error on apparent resistivity, \(\rho_a\). |
|
Abstract base for percent-variation QC columns. |
- class pycsamt.zonge.var_pc.PcEmag(data=None, meta=None, *, name=None, verbose=False)[source]#
Bases:
PercentVarBasePercent 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.Percentis set to'%'when exporting toxarray.Dataset.- Parameters:
- class pycsamt.zonge.var_pc.PcRho(data=None, meta=None, *, name=None, verbose=False)[source]#
Bases:
PercentVarBasePercent 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.Percentis set to'%'when exporting toxarray.Dataset.- Parameters:
- class pycsamt.zonge.var_pc.PcHmag(data=None, meta=None, *, name=None, verbose=False)[source]#
Bases:
PercentVarBasePercent 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, whereBdenotes the H-field),'H.%err'(rare but seen).
Notes
Values are stored in percent; the dataset attribute
Unit.Percentis set to'%'when exporting toxarray.Dataset.- Parameters: