psifr.measures.TransitionMeasure#
- class psifr.measures.TransitionMeasure(items_key, label_key, item_query=None, test_key=None, test=None)#
Measure of free recall dataset with multiple subjects.
- Parameters:
items_key (str) – Data column with item identifiers.
label_key (str) – Data column with trial labels to use for the measure.
item_query (str) – Query string to indicate trials to include in the measure.
test_key (str) – Data column with labels to use when testing for trial inclusion.
test (callable) – Test of trial inclusion. Takes the previous and current test values and return True if the transition should be included.
- test#
Test of trial inclusion.
- Type:
callable
- __init__(items_key, label_key, item_query=None, test_key=None, test=None)#
Methods
__init__
(items_key, label_key[, item_query, ...])analyze
(data)Analyze a free recall dataset with multiple subjects.
analyze_subject
(subject, pool_lists, ...)Analyze a single subject.
split_lists
(data, phase[, item_query])Get relevant fields and split by list.