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

Creates egg data object from zero-indexed recall matrix

recmat : list 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_length : int

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

egg : Egg data object

egg data object computed from the recall matrix