Back to the main page.
Bug 1188 - add checkdata for spike functions
Status | CLOSED FIXED |
Reported | 2011-11-27 10:50:00 +0100 |
Modified | 2011-12-10 11:39:26 +0100 |
Product: | FieldTrip |
Component: | spike |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P3 normal |
Assigned to: | Martin Vinck |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Martin Vinck - 2011-11-27 10:50:27 +0100
spike format should be checked using ft_checkdata this is now done inside the functions
Martin Vinck - 2011-11-27 19:39:00 +0100
I have added a ft_datatype_spikeraw format to distinguish clearly the spike format that goes into the majority of functions and the spike format that only goes into ft_spike_maketrials. Further, I've added ft_checkdata everywhere in the spike functions.
Martin Vinck - 2011-11-27 22:23:56 +0100
still lacking: some spike functions use output from ft_spiketriggeredspectrum and ft_spiketriggeredspectrum. I've added the sts datatype (see spike_datatype_sts) but have to add the respective checks to the functions