simpeg / aurora

software for processing natural source electromagnetic data
MIT License
13 stars 2 forks source link

Formalize STFT Fourier coefficients object #314

Open kkappler opened 6 months ago

kkappler commented 6 months ago

Currently these are called stft_obj in the code, and they are xarrays.

These objects are the inputs to tf estimation, as well as coherence weights, and probably some other channel or segment weighting, outlier rejection methods. A class that manages these maybe called for, which could have cross-power calculation methods, Z_estimators (ala Sims, Vozoff), and more.

When these unpack from MTH5, or get built, they could be improved by:

kkappler commented 5 months ago

I propose that we build a class called Spectrogram() as a container for these objects. This could be where the interface to mth5's FourierCoefficients lives. We can also add the various types of plotters, coherency, cross-power and etc calculations to this class.