mt_metadata.transfer_functions.io.zonge package

Subpackages

Submodules

mt_metadata.transfer_functions.io.zonge.zonge module

zonge

  • Tools for interfacing with MTFT24

  • Tools for interfacing with MTEdit

Created on Tue Jul 11 10:53:23 2013 @author: jpeacock-pr

class mt_metadata.transfer_functions.io.zonge.zonge.ZongeMTAvg(fn=None, **kwargs)[source]

Bases: object

deal with avg files output from mtedit

property ex_metadata
property ey_metadata
property fn
property hx_metadata
property hy_metadata
property hz_metadata
read(fn=None, get_elevation=False)[source]

Read into a pandas data frame

Parameters:

fn (TYPE, optional) – DESCRIPTION, defaults to None

Returns:

DESCRIPTION

Return type:

TYPE

property run_metadata
property station_metadata
property survey_metadata
to_amp_phase(zreal, zimag)[source]

Convert to amplitude and phase from real and imaginary

Parameters:
  • zreal (TYPE) – DESCRIPTION

  • zimag (TYPE) – DESCRIPTION

Returns:

DESCRIPTION

Return type:

TYPE

to_complex(zmag, zphase)[source]

outputs of mtedit are magnitude and phase of z, convert to real and imaginary parts, phase is in milliradians

write(fn)[source]

Write an .avg file

Parameters:

fn (TYPE) – DESCRIPTION

Returns:

DESCRIPTION

Return type:

TYPE

Module contents

class mt_metadata.transfer_functions.io.zonge.ZongeMTAvg(fn=None, **kwargs)[source]

Bases: object

deal with avg files output from mtedit

property ex_metadata
property ey_metadata
property fn
property hx_metadata
property hy_metadata
property hz_metadata
read(fn=None, get_elevation=False)[source]

Read into a pandas data frame

Parameters:

fn (TYPE, optional) – DESCRIPTION, defaults to None

Returns:

DESCRIPTION

Return type:

TYPE

property run_metadata
property station_metadata
property survey_metadata
to_amp_phase(zreal, zimag)[source]

Convert to amplitude and phase from real and imaginary

Parameters:
  • zreal (TYPE) – DESCRIPTION

  • zimag (TYPE) – DESCRIPTION

Returns:

DESCRIPTION

Return type:

TYPE

to_complex(zmag, zphase)[source]

outputs of mtedit are magnitude and phase of z, convert to real and imaginary parts, phase is in milliradians

write(fn)[source]

Write an .avg file

Parameters:

fn (TYPE) – DESCRIPTION

Returns:

DESCRIPTION

Return type:

TYPE