8000 new time driving function handling by fs446 · Pull Request #126 · sfstoolbox/sfs-python · GitHub
[go: up one dir, main page]

Skip to content

new time driving function handling #126

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

Merged
merged 8 commits into from
Mar 13, 2019
Merged

new time driving function handling #126

merged 8 commits into from
Mar 13, 2019

Conversation

fs446
Copy link
Member
@fs446 fs446 commented Mar 12, 2019

Same idea as of #125

Additionally compared to frequency domain, here the handling of def driving_signals and def apply_delays should be handled more elegant. I'm currently testing some ideas.

@mgeier
Copy link
Member
mgeier commented Mar 12, 2019

Very nice!

I don't see a problem with the different variants of driving_signal().

You could move apply_delays() to sfs.time.apply_delays(), because it is more general than WFS.

I didn't make a detailed review yet, most of the things from #125 apply here, too.

Second-order section filters :func:`scipy.signal.sosfilt`.
phaseshift : (N,) numpy.ndarray
Phase shift in radians.

Copy link
Member

Choose a reason for hiding this comment

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

Add selection and secondary_source.

Second-order section filters :func:`scipy.signal.sosfilt`.
phaseshift : (N,) numpy.ndarray
Phase shift in radians.

Copy link
Member

Choose a reason for hiding this comment

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

Add selection and secondary_source

Second-order section filters :func:`scipy.signal.sosfilt`.
phaseshift : (N,) numpy.ndarray
Phase shift in radians.

Copy link
Member

Choose a reason for hiding this comment

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

Add selection and secondary_source

sfs/time/wfs.py Outdated
import numpy as np
from numpy.core.umath_tests import inner1d # element-wise inner product
from scipy.signal import besselap, sosfilt, zpk2sos
from scipy.special import eval_legendre as legendre
Copy link
Member

Choose a reason for hiding this comment

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

These functions are not used here.

sfs/time/wfs.py Outdated
"""
import numpy as np
from numpy.core.umath_tests import inner1d # element-wise inner product
from scipy.signal import besselap, sosfilt, zpk2sos
Copy link
Member

Choose a reason for hiding this comment

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

Not used here.

sfs/time/wfs.py Outdated
return util.DelayedSignal(out, samplerate, offset_samples / samplerate)


def secondary_source_point(c):
Copy link
Member

Choose a reason for hiding this comment

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

In nfchoa, this function comes at the top of the script.
Maybe we can move it for a more uniform look?

@mgeier mgeier merged commit a30f08f into master Mar 13, 2019
@mgeier mgeier deleted the time_driving branch March 13, 2019 14:19
@mgeier
Copy link
Member
mgeier commented Mar 13, 2019

@narahahn Sorry, I've already merged this PR.

For the return value documentation, you seem to have already a commit for that: 9155049. You just have to rebase it to master.

Regarding the other comments, @fs446 could you please address them in a separate PR?

@mgeier
Copy link
Member
mgeier commented Mar 13, 2019

@narahahn Those other comments seem outdated anyway, right?

@narahahn
Copy link
Member

@narahahn Sorry, I've already merged this PR.

No problem.

For the return value documentation, you seem to have already a commit for that: 9155049. You just have to rebase it to master.

I just opened a PR.

@narahahn Those other comments seem outdated anyway, right?

Yes, they do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0