fir

Python class that performs finite impulse response fitting on time series data.

https://github.com/tknapen/firdeconvolution

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 3 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Python class that performs finite impulse response fitting on time series data.

Basic Info
Statistics
  • Stars: 21
  • Watchers: 5
  • Forks: 11
  • Open Issues: 3
  • Releases: 1
Created almost 11 years ago · Last pushed about 3 years ago
Metadata Files
Readme License

README.md

FIRDeconvolution

FIRDeconvolution is a python class that performs finite impulse response fitting on time series data, in order to estimate event-related signals.

Example use cases are fMRI and pupil size analysis. The package performs the linear least squares analysis using numpy.linalg as a backend, but can switch between different backends, such as statsmodels (which is implemented). For very collinear design matrices ridge regression is implemented through the sklearn RidgeCV function. Bootstrap estimates of error regions are implemented through residual reshuffling.

It is possible to add covariates to the events to estimate not just the impulse response function, but also correlation timecourses with secondary variables. Furthermore, one can add the duration each event should have in the designmatrix, for designs in which the durations of the events vary.

In neuroscience, the inspection of the event-related signals such as those estimated by FIRDeconvolution is essential for a thorough understanding of one's data. Researchers may overlook essential patterns in their data when blindly running GLM analyses without looking at the impulse response shapes.

The test notebook explains how the package can be used for data analysis, by creating toy signals and then using FIRDeconvolution to fit the impulse response functions from the toy data.

Dependencies

numpy, scipy, matplotlib, statsmodels, sklearn

TODO - temporal autocorrelation correction

DOI

Owner

  • Name: Tomas Knapen
  • Login: tknapen
  • Kind: user
  • Location: Amsterdam
  • Company: Vrije Universiteit & Spinoza Centre for Neuroimaging

GitHub Events

Total
  • Watch event: 2
Last Year
  • Watch event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 86
  • Total Committers: 3
  • Avg Commits per committer: 28.667
  • Development Distribution Score (DDS): 0.023
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Tomas Knapen t****n@g****m 84
JvSlooten88 j****n@g****m 1
Nicholas n****h@u****k 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 4
  • Total pull requests: 4
  • Average time to close issues: 2 months
  • Average time to close pull requests: 2 days
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.25
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 3
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ncfirth (2)
  • tknapen (2)
Pull Request Authors
  • dependabot[bot] (3)
  • ncfirth (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (3)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 56 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 14
  • Total maintainers: 1
pypi.org: fir

Finite Impulse Response package for time series analysis.

  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 56 Last month
Rankings
Dependent repos count: 9.0%
Dependent packages count: 10.0%
Forks count: 10.5%
Average: 13.1%
Stargazers count: 14.8%
Downloads: 21.4%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements.txt pypi
  • numpy ==1.9.3
  • pandas ==0.16.1
  • scikit-learn ==0.16.1
  • scipy ==0.16.0
  • seaborn ==0.5.1
  • statsmodels ==0.5.0