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

gap in recorded stimuli (block RVG06_B06) #127

Open
jihyunbak opened this issue Feb 18, 2022 · 1 comment
Open

gap in recorded stimuli (block RVG06_B06) #127

jihyunbak opened this issue Feb 18, 2022 · 1 comment

Comments

@jihyunbak
Copy link
Member

Another stim parsing problem for a tone150 block:

ValueError: ToneTokenizer: Incorrect number of stimulus onsets found in block RVG06_B06. Expected 4500, found 4496.

Originally posted by @JesseLivezey in #114 (comment)

@jihyunbak
Copy link
Member Author

This block actually has a glitch period in the middle of the recording.

logs from my local debugging branch...

DEBUG:nsds_lab_to_nwb.components.stimulus.tokenizers.base_tokenizer:found 4496 onsets by thresholding mark track
DEBUG:nsds_lab_to_nwb.components.stimulus.tokenizers.base_tokenizer:Tokenizing tone150 stimulus.
DEBUG:nsds_lab_to_nwb.components.stimulus.tokenizers.base_tokenizer:audio file start time: 9.19559904
DEBUG:nsds_lab_to_nwb.components.stimulus.tokenizers.base_tokenizer:stim onset: 14.32059904
DEBUG:nsds_lab_to_nwb.components.stimulus.tokenizers.base_tokenizer:last marker: 1365.0673664
DEBUG:nsds_lab_to_nwb.components.stimulus.tokenizers.base_tokenizer:audio file end time: 1369.19559904 
DEBUG:nsds_lab_to_nwb.components.stimulus.tokenizers.base_tokenizer:recording end time: 1390.91509248
...
ValueError: ToneTokenizer: Incorrect number of stimulus onsets found in block RVG06_B06. Expected 4500, found 4496.

Upon inspection of TDT-recorded aud1 and mrk1 streams, all these values above are correct. But there was this mysterious period in the middle of the recording (see plot). Found this while checking if all mark-to-mark intervals are correct.

image

@jthermiz - any idea how this happened?

@jihyunbak jihyunbak changed the title stim parsing problem for a tone150 block gap in recorded stimuli (block RVG06_B06) Mar 3, 2022
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

No branches or pull requests

1 participant