Package uk.ac.gda.analysis.mscan
Class HklAdapter
java.lang.Object
uk.ac.gda.analysis.mscan.HklAdapter
The hkl scannable (diffcalc.gdasupport.scannable.hkl.Hkl) is a ScannableMotionWithScannableFieldsBase. It has a
simulateMoveTo method which could be used, alternatively its _diffcalc object (module 'diffcalc.dc.dcyou') which has
hkl_to_angles. The diffhw is a scannabke group _fourc.
From angles_to_hkl we get ((h, k, l), paramDict)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCall angles_to_hkl on diffcalc to get the calculated hkl values corresponding to the positionvoidpopulateHkl(org.eclipse.january.dataset.ILazyWriteableDataset hData, org.eclipse.january.dataset.ILazyWriteableDataset kData, org.eclipse.january.dataset.ILazyWriteableDataset lData, List<IPosition> positions, List<String> axisNames)
-
Constructor Details
-
HklAdapter
public HklAdapter()
-
-
Method Details
-
getFourCNames
-
getHkl
Call angles_to_hkl on diffcalc to get the calculated hkl values corresponding to the position- Parameters:
angles- array of angles in the same order as _fourc
-
getCurrentAnglePositions
- Returns:
- current position of the four circle scannable group
-
populateHkl
-