quail.recmat2egg

quail.recmat2egg(recmat, list_length=None)[source]

Creates egg data object from zero-indexed recall matrix

Parameters:
recmatlist of lists (subs) of lists (encoding lists) of ints or 2D numpy array

recall matrix representing serial positions of freely recalled words e.g. [[[16, 15, 0, 2, 3, None, None…], [16, 4, 5, 6, 1, None, None…]]]

list_lengthint

The length of each list (e.g. 16)

Returns:
eggEgg data object

egg data object computed from the recall matrix