watex.methods.em.EM.getreferencefrequency#
- EM.getreferencefrequency(to_log10=False)[source]#
Get the reference frequency from collection Edis objects.
The highest frequency with clean data should be selected as the reference frequency
- Parameters:
data (list of pycsamt.core.edi.Edi or mtpy.core.edi.Edi objects) β Collections of EDI-objects from `pycsamt`_
to_log10 (bool,) β outputs the reference frequency into base 10 logarithm in Hz.
- Returns:
rf β the reference frequency at the clean data in Hz
- Return type:
float
Examples
>>> from watex.methods.em import EM >>> edipath ='data/3edis' >>> ref = EM().getreferencefrequency(edipath, to_log10=True) >>> ref ... 4.845098040014257 # in Hz
References