Skip to main content

The Time-Frequency Breakdown Method (TFBM) was developed for the detection of brain oscillations in time-frequency representations (such as spectrograms obtained from the Fourier Transform).

Project description

Time-Frequency Breakdown Method

The Time-Frequency Breakdown Method (TFBM) was developed for the detection of brain oscillations in time-frequency representations (such as spectrograms obtained from the Fourier Transform) and was published in Frontiers in Human Neuroscience: https://www.frontiersin.org/articles/10.3389/fnhum.2023.1112415/full

Install:

pip install tfbm

Usage example:

from load_data import load_atoms_synthetic_data
from tfbm import TFBM

if __name__ == '__main__':
    data, spectrumData = load_atoms_synthetic_data()
    tfbm = TFBM(data.T, threshold="auto", merge=True, aspect_ratio=1, merge_factor=15)
    tfbm.fit(verbose=True, timer=True)

    tfbm.plot_result("TFBM", data, tfbm.merged_labels_data.T, tfbm.packet_infos)

Citations

We would appreciate it, if you cite the paper when you use this work for the TFBM algorithm:

  • For Plain Text:
E.-R. Ardelean, H. Bârzan, A.-M. Ichim, R. C. Mureşan, and V. V. Moca, “Sharp detection of oscillation packets in rich time-frequency representations of neural signals,” Frontiers in Human Neuroscience, vol. 17, 2023, doi: 10.3389/fnhum.2023.1112415.
  • BibTex:
@ARTICLE{10.3389/fnhum.2023.1112415,
AUTHOR={Ardelean, Eugen-Richard and Bârzan, Harald and Ichim, Ana-Maria and Mureşan, Raul Cristian and Moca, Vasile Vlad},   
TITLE={Sharp detection of oscillation packets in rich time-frequency representations of neural signals},      
JOURNAL={Frontiers in Human Neuroscience},      
VOLUME={17},           
YEAR={2023},      
URL={https://www.frontiersin.org/articles/10.3389/fnhum.2023.1112415},       
DOI={10.3389/fnhum.2023.1112415}
}

Contact

If you have any questions about SBM, feel free to contact me. (Email: ardeleaneugenrichard@gmail.com)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tfbm-0.0.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tfbm-0.0.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file tfbm-0.0.1.tar.gz.

File metadata

  • Download URL: tfbm-0.0.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for tfbm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e71b04227c751a21536e13815c33a85eebe91ec743b9bf1d7433efae505b3ec3
MD5 16590ccb43b20495c7fb7d964ffd04d3
BLAKE2b-256 5cf1dd530c4607fa41b55011b0a30e60d29fc45a1dcf8c8706f34ad60610b305

See more details on using hashes here.

File details

Details for the file tfbm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tfbm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for tfbm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5e2acfcc2ca1bb0db1a416af39b99d818233e6a3fee88f715bf8429959e654a
MD5 e63497257534b0aa406ebe8c92a9ec8f
BLAKE2b-256 6ce8c20a31a0cef6d2927e6b04329f7d9cc452ccd0c41ae8549c82ef7cd4e82c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page