Class MapToShiftedCartesian
java.lang.Object
uk.ac.diamond.scisoft.analysis.dataset.function.MapToShiftedCartesian
- All Implemented Interfaces:
DatasetToDatasetFunction
Map a 2D dataset from Cartesian to Cartesian coordinates and return that remapped dataset
-
Constructor Summary
ConstructorsConstructorDescriptionMapToShiftedCartesian(double x0, double x1) Set up mapping of rotated 2D dataset -
Method Summary
-
Constructor Details
-
MapToShiftedCartesian
public MapToShiftedCartesian(double x0, double x1) Set up mapping of rotated 2D dataset- Parameters:
x0- shift in first dimensionx1- shift in second dimension
-
-
Method Details
-
value
public List<org.eclipse.january.dataset.Dataset> value(org.eclipse.january.dataset.IDataset... datasets) The class implements mapping of a Cartesian grid sampled data (pixels) to another Cartesian grid- Specified by:
valuein interfaceDatasetToDatasetFunction- Parameters:
datasets- input 2D dataset- Returns:
- a shifted 2D dataset
-