Class MapToQSpace
java.lang.Object
uk.ac.diamond.scisoft.analysis.dataset.function.MapToQSpace
- All Implemented Interfaces:
DatasetToDatasetFunction
Map a 2D dataset from image coordinates to 3D q-space
q is the scattering wave-vector = difference of incident wave-vector
and final wave-vector
q-space is set up so each dimension has range [-qmax,qmax]
-
Constructor Summary
ConstructorsConstructorDescriptionMapToQSpace(QSpace qSpace, double qDel, double maxModQ) Set up mapping to q-space This produces a grid that includes the q-space originMapToQSpace(QSpace qSpace, int qSize) Set up mapping to q-spaceMapToQSpace(QSpace qSpace, int qSize, double maxModQ) Set up mapping to q-space -
Method Summary
-
Constructor Details
-
MapToQSpace
Set up mapping to q-space- Parameters:
qSpace- is q-space mappingqSize- is number of points in one dimension. It should be odd to include the originmaxModQ- is maximum value of |q|
-
MapToQSpace
Set up mapping to q-space- Parameters:
qSpace- is q-space mappingqSize- is number of points in one dimension
-
MapToQSpace
Set up mapping to q-space This produces a grid that includes the q-space origin- Parameters:
qSpace- is q-space mappingqDel- is separation of points in qmaxModQ- is maximum value of |q|
-
-
Method Details
-
value
public List<org.eclipse.january.dataset.Dataset> value(org.eclipse.january.dataset.IDataset... datasets) - Specified by:
valuein interfaceDatasetToDatasetFunction- Parameters:
datasets- input 2D dataset- Returns:
- one 3D dataset
-