-
Notifications
You must be signed in to change notification settings - Fork 2
Scattering-freefield #8
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
Conversation
Co-authored-by: Marco Berzborn <[email protected]>
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.
Implementation looks fine, very nice that you start with this package!
imkar/scattering/coefficient.py
Outdated
# calculate random-incidence scattering coefficient | ||
if incident_directions is not None: | ||
s_rand = random_incidence(s, incident_directions) | ||
return s, s_rand |
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.
# calculate random-incidence scattering coefficient | |
if incident_directions is not None: | |
s_rand = random_incidence(s, incident_directions) | |
return s, s_rand |
from imkar.testing import stub_utils | ||
|
||
|
||
@pytest.fixture |
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.
maybe I'm missing something here: What's the reason for not using pyfar.samplings?
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 shape of the data is quite different, pyfar.samplings just returns a flatten Coordinates object. we need a cshape of (#angle_1, #angle_2)
@@ -0,0 +1,34 @@ | |||
""" |
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.
If you really want to provide stub utils, please add test for them
# Conflicts: # tests/test_integrate.py
# Conflicts: # tests/test_integrate.py
#9 will remove tests for Python 3.7 |
doc fails, fixes in #10 |
is obsolte and replaces by #12 |
Changes proposed in this pull request: