Skip to content

Conversation

@mberz
Copy link
Member

@mberz mberz commented Sep 11, 2025

Changes to the function

  • uses reverbation time as input instead of geometry
  • returns pf.TimeData object
  • independent of sabine/eyring equations

- uses reverbation time as input instead of geometry
- returns pf.TimeData object
- independent of sabine/eyring equations
@mberz mberz moved this from Backlog to Drafting Phase in Weekly Planning Sep 11, 2025
@mberz mberz added this to the v1.0.0 milestone Sep 11, 2025
Copy link
Member

@ahms5 ahms5 left a 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The initial energy of the sound field, by default 1
The initial energy of the sound field, by default 1.

Returns
-------
pyfar.TimeData
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Member

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

@github-project-automation github-project-automation bot moved this from Drafting Phase to Require review in Weekly Planning Oct 10, 2025
@mberz
Copy link
Member Author

mberz commented Oct 17, 2025

why is this PR called refactor if a new method is added?

This PR was not ready for review, yet ;)

When it's ready it will replace the function energy_decay_curve_analytic

@ahms5 ahms5 marked this pull request as draft October 17, 2025 10:17
@ahms5 ahms5 deleted the branch develop October 24, 2025 13:36
@ahms5 ahms5 closed this Oct 24, 2025
@github-project-automation github-project-automation bot moved this from Require review to Done in Weekly Planning Oct 24, 2025
@ahms5 ahms5 reopened this Oct 24, 2025
@github-project-automation github-project-automation bot moved this from Done to Backlog in Weekly Planning Oct 24, 2025
@ahms5 ahms5 changed the base branch from develop_1.0.0 to develop October 24, 2025 13:46
@mberz mberz added the enhancement New feature or request label Nov 5, 2025
@mberz mberz self-assigned this Nov 5, 2025
@mberz mberz moved this from Backlog to Drafting Phase in Weekly Planning Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Drafting Phase

Development

Successfully merging this pull request may close these issues.

3 participants