vferat / pycrostates

https://pycrostates.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
36 stars 11 forks source link

segbase.compute_transition_matrix() #133

Closed Mattlab-hub closed 11 months ago

Mattlab-hub commented 11 months ago

Hi, I am trying to run:
T_observed = segmentation.compute_transition_matrix()

But I end up getting this error: AttributeError: 'EpochsSegmentation' object has no attribute 'compute_transition_matrix'

Is this function not actively useable yet, or is there something else I need to do the get the segmentation to run this?

Best, Matt

mscheltienne commented 11 months ago

Can you make sure you are using the latest version of pycrostates(0.4.1)? This method was added recently.

Mathieu

Mattlab-hub commented 11 months ago

Ahh, yes, I didn't realize there was such a recent update. Yes, it does work now. Thank you!