quail.stack_eggs(eggs, meta='concatenate')[source]

Takes a list of eggs, stacks them and reindexes the subject number

eggs : list of Egg data objects

A list of Eggs that you want to combine

meta : string

Determines how the meta data of each Egg combines. Default is ‘concatenate’ ‘concatenate’ concatenates keys in meta data dictionary shared between eggs, and copies non-overlapping keys ‘separate’ keeps the Eggs’ meta data dictionaries separate, with each as a list index in the stacked meta data

new_egg : Egg data object

A mega egg comprised of the input eggs stacked together