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

Uses appropriate numpy formats for stream values #38

Closed
wants to merge 1 commit into from

Conversation

rstdm
Copy link

@rstdm rstdm commented Mar 20, 2019

Hello,
I noticed that pyxdf returns all numeric samples as numpy.float64 arrays even if the stream’s samples have a different format. This forces me to make needless casts and (in my opinion) is also error-prone.
As fixing this issue shouldn’t break any existing scripts I simply did it myself.

Let me know if you are dissatisfied with my implementation or have any improvement suggestions.

@rstdm rstdm mentioned this pull request Mar 20, 2019
@cboulay
Copy link
Collaborator

cboulay commented Mar 28, 2019

Hi @rstdm
Do you mind moving this and your other PR to https://github.com/xdf-modules/xdf-Python?

@cbrnr
Copy link
Contributor

cbrnr commented Apr 16, 2019

I think this can be integrated in xdf-modules/pyxdf#2, so let's continue the discussion there.

@cboulay
Copy link
Collaborator

cboulay commented Apr 18, 2019

Fixed in xdf-modules/pyxdf#2

@cboulay cboulay closed this Apr 18, 2019
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