You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support segmented AcqKnowledge MAT imports with non-zero start_sample.
The import no longer aborts for non-zero start offsets. Instead, PsPM warns about the offset and stores start_sample together with its unit in sourceinfo.
Does Acknowledge allow digital channels recorded as time stamps? And if yes, are these time stamps recorded wrt to the original recording start? Should they then be corrected wrt to wave recording start?
Is the offset the same for all wave channels, or could they have different offset?
Does Acknowledge allow digital channels recorded as time stamps? And if yes, are these time stamps recorded wrt to the original recording start? Should they then be corrected wrt to wave recording start?
Is the offset the same for all wave channels, or could they have different offset?
When exporting in the MATLAB format, all channels need to be represented as waveform data, including events, so events have to be converted to a waveform channel before export. AcqKnowledge 5/6 can also export events separately using "Export for MATLAB/Octave with Events", which creates a separate Markers.m file that can be used to import the markers into the MATLAB workspace. I could not find sufficient information to include support for this in pspm_get_acqmat.
For wave channels, the *.mat contains a single 'start_sample' for the entire data array, so the offset for all exported channels.
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.
Fixes#848
Changes proposed in this pull request:
Support segmented AcqKnowledge MAT imports with non-zero start_sample.
The import no longer aborts for non-zero start offsets. Instead, PsPM warns about the offset and stores start_sample together with its unit in sourceinfo.