avg_target_values#
- stimupy.utils.avg_target_values(stim, mask_key='target_mask', f_average=np.median)#
Average pixel value in each target region of stimulus
- Parameters:
- Returns:
each entry in the list is the average value of pixels in target region, index in the list is the integer index in the mask
- Return type:
See also