Open mdenker opened 2 years ago
@stellalessandra Would you be willing to help out in improvements to the docs for SPADE?
Regarding this topic, the description of the outputs also needs better clarification in the docs.
For instance, the output dictionary is complex, with elements that will be present depending on the parameters. The documentation of spade
function refers to the output of concept_output_to_patterns
in one case.
However, the documentation of the latter seems to be wrong with respect to the actual output. Namely, it mentions that the lags
element is "lags (integers corresponding to the number of bins) between the spikes of the patterns. Actually, Quantity
arrays are returned (floats with time units), and the entry in lags
is the time of the bin with respect to the time in times
list, i.e., the time lag with respect to the start of the pattern, not between the spikes (and not a bin number).
Describe the bug The SPADE documentation requires more details on how to run the SPADE analysis, in particular the pattern filtering functions. Given the speed-optimized SPADE code, these should then also enter the corresponding tutorial.