[FieldTrip] ft_read_data gives discontinuous data warning with NeuraLynx .csc files

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Mon Jan 23 18:07:16 CET 2023


Hi Peter,

I have not worked with neuralynx data for a very long time, so any comment should be taken with a grain of salt, but I’d be tempted to say that if the computer says so, the feature in the data that causes the warning is actually in the data.

I don’t see anything in the code base about a specific warning being thrown, and since you haven’t mentioned this in your original post: could it be that the warning is issued by the external mex-file that you installed from some other source?

Best wishes,
Jan-Mathijs


On 20 Jan 2023, at 18:43, Peter Kaskan via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:

Hello all,

I am recording intracranial EEG data with a NeuraLynx Atlas system.

I'm using ft_read_data on my folder of NeuraLynx .csc channels, but I am getting a warning message.

Warning: discontinuous recording, predicted number of timestamps and observed number of timestamps differ by 157859.33

Please consult https://urldefense.com/v3/__http://www.fieldtriptoolbox.org/faq/discontinuous_neuralynx__;!!HJOPV4FYYWzcc1jazlU!8K283C6P04ak2bqEwzaFMAVPf1gigaeF1naXZzxeH33hMZONsxksfamY0d-AKYCtsFN505W_tpHRjGyIYIMJQ-dZZahTazhwjFJO7A$ <https://urldefense.com/v3/__http://www.fieldtriptoolbox.org/faq/discontinuous_neuralynx__;!!HJOPV4FYYWzcc1jazlU!7-_XqLVpShrv9VUuhF00Lr3AAbVFRKcf7GHuVU6BbKsOQD7GYgiyfblZNzX6KCdvgDlJ_K09LwPU2DqtoZA0WcvCZ23Y9wClew$>

This little bit of info only seems to tell one how to deal with that if true; not if this is an error. I do not believe the data is discontinuous.

Has anyone got this discontinuous error message with NeuraLynx .csc files that should be / were recorded continuously?

The low-level read_neuralynx_ncs function detects the presence of gaps in the .ncs file and issues a warning.
Can the detection fail, do I really have discontinuous data?

Thanks, Peter








Peter M. Kaskan, Ph.D.
Assistant Professor
Albert Einstein College of Medicine
Leo M. Davidoff Department of Neurological Surgery
1410 Pelham Parkway South
Kennedy Center Room 429B
Bronx, NY 10461
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!8VrbdG4V8zjNLV1PkPK-sNTMlIRcjsROS1PLYPreNOlAH9uuTOJsmo_RDV1eU6HlFhEjJjk7gJHVHsXEKB3Jofe5h3eydLkFOlan0A$

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230123/dc84e296/attachment.htm>


More information about the fieldtrip mailing list