# Temporal information in spatio-temporal clustering

**URL:** <https://mne.discourse.group/t/temporal-information-in-spatio-temporal-clustering/762>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [July 22, 2014, 1:53pm UTC](https://mne.discourse.group/t/temporal-information-in-spatio-temporal-clustering/762 "2014-07-22T13:53:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [July 22, 2014, 1:53pm UTC](https://mne.discourse.group/t/temporal-information-in-spatio-temporal-clustering/762/1 "2014-07-22T13:53:26Z")

</div>

Dear list members,

I did spatio-temporal clustering on my source data, following the example "  
Permutation t-test on source data with spatio-temporal clustering", based  
on the function spatio\_temporal\_cluster\_1samp\_test. I saved the stc file  
containing my significant clusters, but I couldn't manage to retrieve  
temporal information about the clusters. If I understand well, the color  
value corresponds to the significant duration of one source in the cluster  
but we don't know at which time the cluster begins. What did I miss ?...

Thanks in advance,  
Laetitia  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20140722/383188ac/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140722/383188ac/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [July 22, 2014, 2:04pm UTC](https://mne.discourse.group/t/temporal-information-in-spatio-temporal-clustering/762/2 "2014-07-22T14:04:31Z")

</div>

Hi Laetitia,

the general output of the family of functions that you mentioned is as  
follows:

T\_obs (unthresholded statistical map), clusters (the clusters), cluster\_pv  
(the cluster level p-value), H0 (the maximum cluster size / cluster stat).

the indices in `clusters` refer to the spatial and temporal locations.

In this example you can see how to make use of this information (at the  
bottom):

[http://martinos.org/mne/dev/auto\_examples/stats/plot\_cluster\_stats\_spatio\_temporal\_repeated\_measures\_anova.html#example-stats-plot-cluster-stats-spatio-temporal-repeated-measures-anova-py](http://martinos.org/mne/dev/auto_examples/stats/plot_cluster_stats_spatio_temporal_repeated_measures_anova.html#example-stats-plot-cluster-stats-spatio-temporal-repeated-measures-anova-py)

I hope this helps,  
best,  
Denis
