stack_dicts#
- stimupy.utils.stack_dicts(dct1, dct2, direction='horizontal', keys=('img', '*mask'), keep_mask_indices=False)#
Return a dict with resized key-arrays by the given factor. Every value is repeated factor[d] times along dimension d.
- Parameters:
- Returns:
same as input dict1 but with stacked key-arrays and updated keys for “visual_size” and “shape”
- Return type: