Skip to content

Conversation

@jeffersoncasimir
Copy link
Contributor

@jeffersoncasimir jeffersoncasimir commented Dec 6, 2023

Closes #8892. Has a Loris-MRI counterpart: aces/Loris-MRI#1030

Loosely dependant on #8998 (file modifications in common and done at a later time).

This PR resolves the data shift issue by adding the number of valid samples in the last chunk to the index.json, and using it for the calculations which previously assumed all chunks were filled.

Testing: Zoom in so that the last chunk of the recording is in frame and ensure that the signal does not flatline at the end. You can also compare the values in the chunk payload with the value obtained by hovering the signal at a given time.

@jeffersoncasimir jeffersoncasimir added Category: Bug PR or issue that aims to report or fix a bug Language: PHP PR or issue that update PHP code Language: Javascript PR or issue that update Javascript code labels Dec 6, 2023
@laemtl laemtl self-assigned this Dec 12, 2023
@laemtl laemtl requested review from driusan and laemtl and removed request for driusan and laemtl January 16, 2024 19:12
@laemtl laemtl assigned driusan and unassigned laemtl Jan 16, 2024
@driusan driusan merged commit be39a57 into aces:main Jan 23, 2024
jeffersoncasimir added a commit to jeffersoncasimir/Loris that referenced this pull request Feb 29, 2024
This resolves the data shift issue by adding the number of valid samples in the last chunk to the index.json, and using it for the calculations which previously assumed all chunks were filled.

Closes aces#8992. Has a Loris-MRI counterpart: aces/Loris-MRI#1030

Loosely dependant on aces#8998 (file modifications in common and done at a later time).
@ridz1208 ridz1208 added this to the 26.0.0 milestone Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Bug PR or issue that aims to report or fix a bug Language: Javascript PR or issue that update Javascript code Language: PHP PR or issue that update PHP code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EEG pipeline] chunking data shift fix

4 participants