-
Notifications
You must be signed in to change notification settings - Fork 23
Add option to load only specific streams #24
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
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c67ab27
Add option to load only specific streams
cbrnr 438f4c3
Update changelog
cbrnr 9f7c7ff
Add more details and examples in load_only description
cbrnr 3fc43bc
Rename load_only -> stream_ids
cbrnr c0b634c
Add stream_info function to extract information on streams contained …
cbrnr 472a6ee
Rename stream_info -> resolve_streams, add docstring
cbrnr 4b2e248
Add match_streaminfo function
cbrnr 1dfd317
Factor out opening of XDF files and use _read_varlen_int
cbrnr 915b618
Allow list of dicts as stream_ids argument
cbrnr ed6a146
Update docstring
cbrnr 945183c
Rename stream_ids parameter -> select_streams
cbrnr a21b2b1
Correctly handle default case of select_streams=None
cbrnr 2850f04
Fix arg name in docstring
cbrnr fde44db
Rephrase select_streams doc
cbrnr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,12 @@ | ||
| # Authors: Christian Kothe & the Intheon pyxdf team | ||
| # Clemens Brunner | ||
| # | ||
| # License: BSD (2-clause) | ||
|
|
||
| from pkg_resources import get_distribution, DistributionNotFound | ||
| try: | ||
| __version__ = get_distribution(__name__).version | ||
| except DistributionNotFound: | ||
| # package is not installed | ||
| except DistributionNotFound: # package is not installed | ||
| __version__ = None | ||
| from .pyxdf import load_xdf | ||
| from .pyxdf import load_xdf, resolve_streams, match_streaminfos | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.