BlackrockNeurotech / NPMK

Neural Processing Matlab Kit is a set of functions for loading and manipulating data from Blackrock Microsystems' data files (.CCF, .NEV, .NSx).
45 stars 57 forks source link

fixes reports with decimals in the Total Data Points #32

Closed ferchaure closed 3 years ago

ferchaure commented 3 years ago

Hi, When we open some files using the "report" and 'noread' flags we start to see lines like:

Total Data Points = 32971838.8333

We thought that something was wrong but it's just the floating point error of a cast to double. To fixit it was needed just a cast to uint64 (I guess that is big enough).

kianabc commented 3 years ago

Hi Fernando, could you share the data file you use for this? You can DropBox or Google Drive it. It shouldn't ever be a decimal, so I suspect something else is wrong. The data files that I have are fine.

ferchaure commented 3 years ago

Is it enough if I send you the output of the openNSX in report & noread mode? I would have to ask to share the whole thing as it contains the neural data.

kianabc commented 3 years ago

No that won't work. Maybe I can remotely login to your computer and check it on your computer and MATLAB? If so, let's pick a time for this Friday that works for you here: https://calendly.com/ktorab/30?month=2020-11&date=2020-11-20

Best, Kian

On Fri, Nov 13, 2020 at 3:55 PM Fernando J. Chaure notifications@github.com wrote:

Is it enough if I send you the output of the openNSX in report & noread mode? I would have to ask to share the whole thing as it contains the neural data.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BlackrockMicrosystems/NPMK/pull/32#issuecomment-727074519, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKJKF5WR5EJ3CLQ2GQUEF3SPW2N5ANCNFSM4TPOVPKQ .

kianabc commented 3 years ago

Is this resolved?

ferchaure commented 3 years ago

not really, I sent you an example a month ago.

kianabc commented 3 years ago

Sorry I forgot about that. I opened the file you sent me. What version of Central did you use to create this file?

kianabc commented 3 years ago

At first glance the file seems to be corrupt, but I'm looking into it further. I asked the software engineer to HEX edit it to see what's going on.

Does this happen to this file only?

ferchaure commented 3 years ago

I guess we used central 7.0.6, but I will confirm it next Thursday. That is the only file with the issue; however, I only analyze a few recordings from this NSP. I will let you know if I detect another case.

kianabc commented 3 years ago

Ok thanks. All good. Exact version number is not needed. 7 something is all I needed. I'll get back to you once I hear back. K

On Fri, Dec 4, 2020, 12:10 PM Fernando J. Chaure notifications@github.com wrote:

I guess we used central 7.0.6, but I will confirm it next Thursday. That is the only file with the issue; however, I only analyze a few recordings from this NSP. I will let you know if I detect another case.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BlackrockMicrosystems/NPMK/pull/32#issuecomment-738964465, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKJKFYIPF5J7MOJWXQB3ETSTEX2FANCNFSM4TPOVPKQ .