watex.methods.em.ZC.remove_ss_emap#

ZC.remove_ss_emap(fltr='ama', out=False, **kws)[source]#

Filter Z to remove the static schift using the EMAP moving average filters.

Three available filters:

  • ‘ama’: Adaptative moving average

  • ‘tma’: Trimming moving-average

  • ‘flma’: Fixed-length dipole moving average

Could export new Edi if the keyword argument export is set to True

Parameters:
  • fltr (str , default='ama') –

    Type of filter to apply. Default is Adaptative moving-average of Torres-verdin [1]. Can be [‘ama’|’tma’|’flma’]

    The AMA filter estimates static-corrected apparent resistivities at a single reference frequency by calculating a profile of average impedances along the length of the line. Sounding curves are then shifted so that they intersect the averaged profile.

  • out (bool , default =False,) – Output new filtered EDI. Otherwise return Z collections objects of corrected Tensors.

Returns:

Z – Return None by default (when export is set to False)

Return type:

list of watex.externals.z objects or None

References

[1]

Torres-Verdin and Bostick, 1992, Principles of spatial surface electric field filtering in magnetotellurics: electromagnetic array profiling(EMAP), Geophysics, v57, p603-622.https://doi.org/10.1190/1.2400625

See also

remove_static_shift

Remove static shift using the spatial filter median and write a new edifile.

Examples

>>> import watex
>>> from watex.methods import ZC
>>> edi_sample = watex.fetch_data ('edis', samples =17 , return_data =True )
>>> zo = ZC ().fit(edi_sample)
>>> zo.ediObjs_[0].Z.z[:, 0, 1][:7]
array([10002.46 +9747.34j , 11679.44 +8714.329j, 15896.45 +3186.737j,
       21763.01 -4539.405j, 28209.36 -8494.808j, 19538.68 -2400.844j,
        8908.448+5251.157j])
>>> zc = zo.remove_ss_emap()
>>> zc[0].z[:, 0, 1] [:7]
array([10.08886765+9.83154376j, 11.78033448+8.78960895j,
       16.03377371+3.21426607j, 21.95101282-4.57861929j,
       28.45305051-8.56819159j, 19.70746763-2.42158403j,
        8.98540488+5.29651986j])