Package thunderfish

Algorithms and programs for analysing electric field recordings of weakly electric fish.

Expand source code
"""
Algorithms and programs for analysing electric field recordings of
weakly electric fish.
"""

import sys

# avoid double inclusion of audioio modules if called as modules,
# e.g. python -m thunderfish.datawriter`:
if len(sys.argv) > 0 and sys.argv[0] != '-m':

    from .version import __version__

    # somehow pdoc3 gets confused by this:
    #__all__ = ['thunderfish',
    #           'dataloader',
    #           'datawriter',
    #           'tabledata',
    #           'configfile',
    #           'eventdetection',
    #           'bestwindow',
    #           'powerspectrum',
    #           'harmonics',
    #           'checkpulse',
    #           'consistentfishes',
    #           'eodanalysis',
    #           'voronoi',
    #           'fakefish']

Sub-modules

thunderfish.bestwindow

Select the best region within a recording with the most stable signal of largest amplitude that is not clipped …

thunderfish.checkpulse

Check for pulse-type weakly electric fish …

thunderfish.chirp

Detection of chirps in weakly electric fish recordings …

thunderfish.collectfish

Collect data generated by thunderfish in a wavefish and a pulsefish table.

thunderfish.consistentfishes

Compare fishlists created by the harmonics module in order to create a fishlist with fishes present in all fishlists …

thunderfish.efield

Simulations of spatial electric fields …

thunderfish.eodanalysis

Analysis of EOD waveforms …

thunderfish.eodexplorer

View and explore properties of EOD waveforms.

thunderfish.fakefish

Simulate EOD waveforms …

thunderfish.fishfinder
thunderfish.fishshapes

Manipulate and plot fish outlines …

thunderfish.harmonics

Extract and analyze harmonic frequencies from power spectra …

thunderfish.hopkinsloader

Load EODs from Hopkins files …

thunderfish.pulseplots

Plot and save key steps in pulses.py for visualizing the alorithm.

thunderfish.pulses

Extract and cluster EOD waverforms of pulse-type electric fish …

thunderfish.pulsetracker

by Dexter Frueh

thunderfish.thunderbrowse
thunderfish.thunderfish

thunderfish …

thunderfish.thunderlogger

thunderlogger …

thunderfish.version