compute.concept
¶
-
pyphi.compute.concept.
concept
(subsystem, mechanism, purviews=False, past_purviews=False, future_purviews=False)¶ Return the concept specified by a mechanism within a subsytem.
Parameters: - subsystem (Subsytem) – The context in which the mechanism should be considered.
- mechanism (tuple(int) – The candidate set of nodes.
Keyword Arguments: - purviews (tuple(tuple(int) – Restrict the possible purviews to those in this list.
- past_purviews (tuple(tuple(int) – Restrict the possible cause
purviews to those in this list. Takes precedence over
purviews
. - future_purviews (tuple(tuple(int) – Restrict the possible effect
purviews to those in this list. Takes precedence over
purviews
.
Returns: The pair of maximally irreducible cause/effect repertoires that constitute the concept specified by the given mechanism.
Return type:
-
pyphi.compute.concept.
constellation
(subsystem, mechanisms=False, purviews=False, past_purviews=False, future_purviews=False)¶ Return the conceptual structure of this subsystem, optionally restricted to concepts with the mechanisms and purviews given in keyword arguments.
If you will not be using the full constellation, restricting the possible mechanisms and purviews can make this function much faster.
Parameters: subsystem (Subsystem) – The subsystem for which to determine the constellation.
Keyword Arguments: - mechanisms (tuple(tuple(int) – A list of mechanisms, as node indices, to be considered as possible mechanisms for the concepts in the constellation.
- purviews (tuple(tuple(int) – A list of purviews, as node indices, to be considered as possible purviews for the concepts in the constellation.
- past_purviews (tuple(tuple(int) – A list of purviews, as node indices,
to be considered as possible cause purviews for the concepts in
the constellation. This takes precedence over the more general
purviews
option. - future_purviews (tuple(tuple(int) – A list of purviews, as node
indices, to be considered as possible effect purviews for the
concepts in the constellation. This takes precedence over the more
general
purviews
option.
Returns: A tuple of all the |Concept|s in the constellation.
Return type:
-
pyphi.compute.concept.
conceptual_information
(subsystem)¶ Return the conceptual information for a subsystem.
This is the distance from the subsystem’s constellation to the null concept.