-
Notifications
You must be signed in to change notification settings - Fork 15
Feat/time interval specific decay time #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Feat/time interval specific decay time #105
Conversation
|
TODO: tests; Please review deeply otherwise 🙏🏻 |
ahms5
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot. Looks very professional. For some of my comment I'm not very confident. Please comment you have sth else in mind.
pyrato/edc.py
Outdated
| energy_decay_curve.comment) | ||
|
|
||
|
|
||
| def _edc_linregress(energy_decay_curve: pf.TimeData, t0: float, t1: float): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be interesting for users to also use this method directly. I would suggest to make it public
pyrato/edc.py
Outdated
| energy_decay_curve.times[t0_idx:t1_idx], | ||
| energy_decay_curve.time[t0_idx:t1_idx]) | ||
|
|
||
| return slope, intercept |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im not to familiar with the details, but it might make sence to already return the reverberation_time relative to 60db decay here.
pyrato/edc.py
Outdated
| return slope, intercept | ||
|
|
||
|
|
||
| def early_mid_decay_time(energy_decay_curve: pf.TimeData): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if this limits are defined in a Standard or sth similar. Maybe @mberz can claryfiy.
The issue might just provide an example on how this general method could be used. So that the aim could just be to provide the upper method.
Which issue(s) are closed by this pull request?
Closes #41
Changes proposed in this pull request:
interval_specific_decay_time()inpyrato.parameters