watex.methods.ZC#
- class watex.methods.ZC(window_size=5, c=2, **kws)[source]#
Impedance tensor multiple EDI correction class.
Applied filters in a collections of EDI objects.
New in version v0.2.0.
- Parameters:
data (Path-like object or list of :class:watex.edi.Edi` or pycsamt.core.edi.Edi objects) β Collections of EDI-objects
window_size (int) β the length of the window. Must be greater than 1 and preferably an odd integer number. Default is
5c (int, default=2) β A window-width expansion factor that must be input to the filter adaptation process to control the roll-off characteristics of the applied Hanning window. It is recommended to select c between
1and4[1].
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
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.resistivity[:, 0, 1][:10] # for xy components array([ 427.43690401, 524.87391142, 732.85475419, 1554.3189371 , 3078.87621649, 1550.62680093, 482.64709443, 605.3153687 , 499.49191936, 468.88692879]) >>> zss = zo.remove_static_shift(ss_fx =0.7 , ss_fy =0.85 ) >>> zss[0].resistivity[:, 0, 1][:10] # corrected xy components array([ 278.96395263, 319.11187959, 366.43170231, 672.24446295, 1344.20120487, 691.49270688, 260.25625996, 360.02452498, 305.97381587, 273.46251961])