CAP.__str__#

CAP.__str__()[source]#

Print Current Object State.

Provides a formatted summary of the CAP configuration when called with print(self). Returns a string containing the following information:

  • Parcellation approach used

  • Group definitions

  • Clustering configuration (e.g, number of clusters, selection method, etc)

  • Optimal number of clusters per group (if a range of clusters were provided)

  • Number of CPU cores used for clustering (multiprocessing)

  • Run identifiers used in analysis

  • Estimated memory usage estimate for concatenated_timeseries (in bytes)

  • Standardization applied prior to clustering

  • Co-Activation Patterns (CAPs) per group

  • Variance explained by clustering

Returns:

str – A formatted string containing information about the object’s current state.

Examples

>>> cap_analysis = CAP()
>>> print(cap_analysis)
Current Object State:
=====================
Parcellation Approach                                       : None
...