Skip to main content

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 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)

Metadata

Release files for tfbm 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tfbm 0.0.2
File Size Uploaded
tfbm-0.0.2.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tfbm 0.0.2
File Interpreter ABI Platform
tfbm-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / tfbm-0.0.2.tar.gz

Download URL tfbm-0.0.2.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1fe7b54a4deee695fcc926a28335d942bef6103eab0f94e32262c9e27b32d4c4
BLAKE2b-256 checksum
How to use checksums
6232b3b7e975c2ddf4b21a15ec9f04cd0bfa8675685cf95114bf44d9db3b799d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release files / tfbm-0.0.2-py3-none-any.whl

Download URL tfbm-0.0.2-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1680a93e8af7c4a4a68e785326d8c0eb93e6f891a204a4298957eb6b0e91fa6
BLAKE2b-256 checksum
How to use checksums
47194f7003e93123d88edd5d615725e95fbd29574f5ba7380698d5bb42d345ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page