watex.property.IsEdi#

class watex.property.IsEdi[source]#

Assert SEG MT/EMAP Data Interchange Standard EDI-file .

Is an abstract Base class for control the valid EDI [1]. It is also used to ckeck whether object is an instance of EDI object.

EDI stands for Electrical Data Interchange module can read and write an *.edi file as the ‘standard ‘ format of magnetotellurics. 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.

Examples

>>> import pycsamt
>>> from watex.property import IsEdi
>>> from watex.methods.em import EM
>>> IsEdi.register (pycsamt.core.edi.Edi )
>>> ediObj= EM().fit(r'data/edis').ediObjs_ [0] # one edi-file for assertion
>>> isinstance (ediObj, IsEdi)
... True

References

[1]

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