sup3r.preprocessing.batch_queues.utilities.temporal_simple_enhancing#
- temporal_simple_enhancing(data, t_enhance=4, mode='constant')[source]#
Upsample data according to t_enhance resolution
- Parameters:
data (Union[np.ndarray, da.core.Array]) – 5D array with dimensions (observations, spatial_1, spatial_2, temporal, features)
t_enhance (int) – factor by which to enhance temporal dimension
mode (str) – interpolation method for enhancement.
- Returns:
enhanced_data (Union[np.ndarray, da.core.Array]) – 5D array with same dimensions as data with new enhanced resolution