API
===

.. automodule:: scitex_dsp
   :members:
   :undoc-members:
   :show-inheritance:

Spectral Primitives
-------------------

.. autofunction:: scitex_dsp.hilbert
   :no-index:

.. autofunction:: scitex_dsp.psd
   :no-index:

.. autofunction:: scitex_dsp.band_powers
   :no-index:

.. autofunction:: scitex_dsp.pac
   :no-index:

.. autofunction:: scitex_dsp.wavelet
   :no-index:

.. autofunction:: scitex_dsp.modulation_index
   :no-index:

Pre-/Post-processing
--------------------

.. autofunction:: scitex_dsp.crop
   :no-index:

.. autofunction:: scitex_dsp.ensure_3d
   :no-index:

.. autofunction:: scitex_dsp.resample
   :no-index:

.. autofunction:: scitex_dsp.time
   :no-index:

.. autofunction:: scitex_dsp.to_segments
   :no-index:

.. autofunction:: scitex_dsp.to_sktime_df
   :no-index:

Ripple Detection
----------------

.. autofunction:: scitex_dsp.detect_ripples
   :no-index:

Signal Synthesis
----------------

.. autofunction:: scitex_dsp.demo_sig
   :no-index:

Noise synthesis (``scitex_dsp.add_noise``):

.. autofunction:: scitex_dsp.add_noise.gauss
   :no-index:

.. autofunction:: scitex_dsp.add_noise.white
   :no-index:

.. autofunction:: scitex_dsp.add_noise.pink
   :no-index:

.. autofunction:: scitex_dsp.add_noise.brown
   :no-index:

Audio / EEG I/O
---------------

.. autofunction:: scitex_dsp.list_and_select_device
   :no-index:

.. autofunction:: scitex_dsp.get_eeg_pos
   :no-index:
