pycsamt.tdem.zplot#
Readers for Zonge TEMAVG contour .Z files.
Functions
|
Return |
Classes
|
Parsed content of one TEMAVG contour |
|
One row from a TEMAVG contour |
- class pycsamt.tdem.zplot.TEMZPlot(path, metadata=<factory>, records=<factory>, version=None, processed=None, verbose=0, logger=None)[source]#
Bases:
PyCSAMTObjectParsed content of one TEMAVG contour
.Zfile..Zfiles are plotting-oriented TEMAVG outputs. They store station, time gate, magnitude, frequency, and window values in a compact fixed-width text layout. They are useful for quick pseudo-section plotting and for checking that the processed.AVGmagnitude column was exported correctly.- Parameters:
path (pathlib.Path) – Source
.Zfile.metadata (dict) – Parsed header metadata such as date, plot data type, window name, units, component, receiver area, contour mode, and profile mode when present.
records (list of TEMZRecord) – Parsed plot rows.
version (str, optional) – TEMAVG program version parsed from the first line.
processed (str, optional) – Processing date parsed from the second line.
verbose (int)
logger (object | None)
Examples
>>> from pycsamt.tdem.zplot import TEMZPlot >>> z = TEMZPlot.read("data/TEMAVG/JIANGSU/TEM100.Z") >>> z.n_records > 0 True >>> z.records[0].window 1
- records: list[TEMZRecord]#
- class pycsamt.tdem.zplot.TEMZRecord(line, station, time, magnitude, frequency, window)[source]#
Bases:
objectOne row from a TEMAVG contour
.Zfile.- Parameters:
line (int) – Line or profile identifier stored in the first column.
station (float) – Station coordinate or station number.
time (float) – Gate centre time in milliseconds.
magnitude (float) – Contoured transient magnitude, commonly in microvolts per ampere for TEMAVG output.
frequency (float) – Repetition frequency in hertz.
window (int) – Time-window number.