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

Add the format parameter to the public API #22

Merged
merged 1 commit into from May 18, 2019
Merged

Add the format parameter to the public API #22

merged 1 commit into from May 18, 2019

Conversation

tstenner
Copy link
Collaborator

One functionality that's still missing from the public API is the format the data is written as (float32 or int16).

This PR adds the parameter.

Copy link
Member

@sappelhoff sappelhoff left a comment

Choose a reason for hiding this comment

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

+1 on this, but a couple of questions / requests:

  1. out of interest: why are you interested in saving as int16? Just to save memory space?
  2. Could you please update the usage example in the README?
  3. Please add a test for this feature

@tstenner
Copy link
Collaborator Author

tstenner commented May 7, 2019

Long story, in short we've got a lot of data in a 24bit binary format (nV resolution) we need to import in Analyzer, but most files only have an absolute voltage range of about 2.5mV so 16bit is more than enough.

@sappelhoff sappelhoff merged commit ba48cd0 into bids-standard:master May 18, 2019
@sappelhoff
Copy link
Member

Thanks, I'll add a test in my misc PR #21

@tstenner tstenner deleted the fmtparam branch May 18, 2019 17:01
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.

None yet

2 participants