jefferis / gphys

R package to analyse electrophysiology data acquired by Neuromatic / Igor Pro
https://jefferis.github.io/gphys
9 stars 4 forks source link

as.repeatedTrain needs to cope with trains missing spikes #5

Open jefferis opened 10 years ago

jefferis commented 10 years ago
> as.repeatedTrain(Spikes2[[200]],xlim-c(0,3000))
$OilBl
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In FUN(X[[4L]], ...) : no non-missing arguments to max; returning -Inf
2: In FUN(X[[4L]], ...) : no non-missing arguments to max; returning -Inf
3: In FUN(X[[4L]], ...) : no non-missing arguments to max; returning -Inf
4: In FUN(X[[4L]], ...) : no non-missing arguments to max; returning -Inf

Fundamentally, this may involve some changes to the STAR package to incorporate a notion of the time window over which spikes were mesasured (even if there were no spikes).