OpenSeizureDetector / OpenSeizureDatabase

This repository contains the toolkit to create and proocess the database of seizure and seizure-like data that has been contributed by OpenSeizureDetector users to contribute to research to improve seizure detection algorithms (Open Seizure Toolkit, OSTK).
https://openseizuredetector.org.uk
Other
4 stars 2 forks source link

has3dData element is not set correctly #12

Open jones139 opened 2 weeks ago

jones139 commented 2 weeks ago

The has3dData element in events is set if the datapoints contain a 'data3d' element, irrespective of if the size of the 3d array is zero or if it contains all zeroes - has3dData should only be set if there is valid 3d data for the event.

jones139 commented 2 weeks ago

This should be quite an easy fix in the tidy_db function - we then need to re-process the database and create a new release of the database.