watex.edi.Edi#

class watex.edi.Edi(verbose=0)[source]#

Electrical Data Interchange class.

Each section of the .edi file belongs to a class object, thus the elements of each section are attributes for easy access. Edi is outputted following the SEG documentation and rules of EMAP (Electromagnetic Array Profiling) and MT sections [1].

Ediclass is for especialy dedicated to .edi files, mainly reading and writing which are meant to follow the archaic EDI format put forward by SEG. Can read impedance, Tipper but not spectra. To read spectra format please consult MTpy documentation https://mtpy2.readthedocs.io/en/develop/ The Edi class contains a class for each major section of the .edi file.

Parameters

edifile (str,) – Full path to SEG-EDI file.

MTEMAP#

MT section or EMAP DataSection class, contains basic information on the data collected . Can read MT and EMAP section

Type

watex.edi.MTEMAP

DefineMeasurement#

DefineMeasurement class, contains information on how the data was collected.

Type

watex.edi.DefineMeasurement

HeaD#

Head class, contains metadata on where, when, and who collected the data Information class.

Type

watex.edi.Head

Info#

contains information on how the data was processed and how the transfer functions where estimated.

Type

watex.edi.Info

Z#

Z class, contains the impedance data

Type

watex.external.z.Z

_block_size#

number of data in one line.

Type

int, defaut=7

_data_header_com#

header string for each of the data section.

Type

str, Default=’>!****{0}****!’

_bloc_num_format#

string format of data, Default is’ 16.6e’

Type

str, Default=’ 16.6e’

_t_comps#

components for tipper blocks

Type

list,

_z_comps#

components for impedance blocks

Type

list

_res_comps#

resistivities components

Type

list

_phs_comps#

phase components

Type

list

Notes

Frequency and components are ordered from highest to lowest frequency.

References

1

Wight, D.E., Drive, B., 1988. MT/EMAP Data Interchange Standard, 1rt ed. Society of Exploration Geophysicists, Texas 7831, USA.

Examples

>>> from watex.edi import Edi
>>> e=Edi().fit('data/edis/new_E1_1.edi')
>>> e.Z.phase [0, 0, 1]
Out[6]: 26.42546593360611