pyphi.mcp.server.inspect#
- pyphi.mcp.server.inspect(result_ref, path='')[source]#
Inspect a stored result, or one part of it.
- Parameters:
- Returns:
dict – With no path: the result’s type, compact repr and
summary(asanalyzereturns it), the inspectablepaths, andindexed, mapping each sequence’s path to its length (inspect"<path>[i]"; an empty path is the result itself). With a path: the compact repr of the selected object and, when it supports it, its serialization, unless that is longer than 50,000 characters. Relation aggregates (counts, Σφ_r) come from PyPhi’s analytical path, which does not enumerate every relation.- Return type: