-
Notifications
You must be signed in to change notification settings - Fork 15
Refactor the parametric energy decay curve function #74
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?
Conversation
- uses reverbation time as input instead of geometry - returns pf.TimeData object - independent of sabine/eyring equations
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.
why is this PR called refactor if a new method is added?
| reverberation_time : float | numpy.ndarray[float] | ||
| The reverberation time in seconds. | ||
| energy : float | numpy.ndarray[float], optional | ||
| The initial energy of the sound field, by default 1 |
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.
| The initial energy of the sound field, by default 1 | |
| The initial energy of the sound field, by default 1. |
| Returns | ||
| ------- | ||
| pyfar.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.
| pyfar.TimeData | |
| energy_time_curve : pyfar.TimeData |
in pyfar we usually state it like this. I see the point of redundany espacially in this case.
| Returns | ||
| ------- | ||
| pyfar.TimeData | ||
| The energy decay curve. |
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.
hwo about return the timeData ofject of cshape broadcasted from reverberation_time and energy
This PR was not ready for review, yet ;) When it's ready it will replace the function |
Changes to the function