Skip to content
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

workup methods should do preliminary check to ensure channel of interest is not exclusively 0 or nan #84

Open
darienmorrow opened this issue Jan 18, 2020 · 1 comment

Comments

@darienmorrow
Copy link
Member

This is merely a convenience feature, but it is a nice check.
@jscheeler1 was very confused because his splines were failing, but the base problem was actually an all nan channel.

@darienmorrow
Copy link
Member Author

A better solution is to check that the channel is not exclusively composed of a single value. I think one way to check this would be to raise an error if np.unique(chan[:]).size > 1 is not true.

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

No branches or pull requests

1 participant