response
Your handy frequency and impulse response processing object
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.7%) to scientific vocabulary
Keywords
Repository
Your handy frequency and impulse response processing object
Basic Info
Statistics
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 1
- Releases: 4
Topics
Metadata Files
README.md
Response
Your handy frequency and impulse response processing object!
This module supplies the Response class: an abstraction of frequency and
impulse responses and a set of handy methods for their processing. It implements a
fluent interface for chaining the processing commands.
Find the documentation here and the source code on GitHub.
```python import numpy as np from response import Response
fs = 48000 # sampling rate T = 0.5 # length of signal
a sine at 100 Hz
t = np.arange(int(T * fs)) / fs x = np.sin(2 * np.pi * 100 * t)
Do chain of processing
r = ( Response.fromtime(fs, x) # time window at the end and beginning .timewindow((0, 0.1), (-0.1, None), window="hann") # equivalent to Tukey window # zeropad to one second length .zeropadtolength(fs * 1) # circular shift to center .circdelay(T / 2) # resample with polyphase filter, keep gain of filter .resamplepoly(500, window=("kaiser", 0.5), normalize="sameamplitude") # cut 0.2s at beginning and end .timecrop(0.2, -0.2) # apply frequency domain window .freq_window((0, 90), (110, 500)) )
plot magnitude, phase and time response
r.plot(show=True)
real impulse response
r.in_time
complex frequency response
r.in_freq
and much more ...
```
Owner
- Login: fhchl
- Kind: user
- Location: Copenhagen
- Company: @dtu-act
- Website: fhchl.ninja
- Repositories: 3
- Profile: https://github.com/fhchl
Postdoctoral researcher at the Acoustic Technology Group, DTU
GitHub Events
Total
Last Year
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| fmheu | f****l | 54 |
| semantic-release | s****e | 5 |
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 1.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
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
Pull Request Authors
- johng42 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 22,266 last-month
- Total docker downloads: 308
- Total dependent packages: 4
- Total dependent repositories: 97
- Total versions: 6
- Total maintainers: 1
pypi.org: response
Your handy frequency and impulse response processing object
- Homepage: https://github.com/fhchl/Response
- Documentation: https://response.readthedocs.io/
- License: MIT
-
Latest release: 0.5.0
published over 5 years ago