shift_datasets¶
- sofia_redux.instruments.forcast.register_datasets.shift_datasets(datasets, shifts, refset, missing=nan)[source]¶
Shifts datasets onto common frame
- Parameters:
- datasetslist of tuple
tuple is of the form: data, header, variance, normalization
- shiftsnumpy.ndarray
(nimage, (x, y))
- refsetint
Index of the dataset to use as the reference.
- missingfloat, optional
value with which to fill missing data points
- Returns:
- list of tuples