sup3r.utilities.utilities.temporal_simple_enhancing
- temporal_simple_enhancing(data, t_enhance=4, mode='constant')[source]
Upsample data according to t_enhance resolution
- Parameters:
data (np.ndarray) – 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 (np.ndarray) – 5D array with same dimensions as data with new enhanced resolution