mxcubecore.HardwareObjects.Gphl.Transcal2MiniKappa#
License:
This file is part of MXCuBE.
MXCuBE is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
MXCuBE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with MXCuBE. If not, see <https://www.gnu.org/licenses/>.
Functions
|
|
|
|
|
Read recentring data from GPhL files |
|
Convert in the oppoosite direction from minikappa configuration to transcal |
|
|
- mxcubecore.HardwareObjects.Gphl.Transcal2MiniKappa.get_recen_data(transcal_file, instrumentation_file, diffractcal_file=None, **kwds)[source]#
Read recentring data from GPhL files
- Parameters:
transcal_file – transcal.nml input file
instrumentation_file – instrumentation.nml input file
diffractcal_file – diffrqctcal,.nl ioptional input file
Returns: dict
- mxcubecore.HardwareObjects.Gphl.Transcal2MiniKappa.make_home_data(centring_axes, axis_names, kappadir, kappapos, phidir, phipos)[source]#
Convert in the oppoosite direction from minikappa configuration to transcal
- Parameters:
list (phipos) – Goniostat centring axis coordinates, concatenated
list – centring axis names, in instumentation.nml order
kappadir – list(float): kappa axis direction, centring axis system
list – kappa axis offset vector, centring axis system
list – phi axis direction, centring axis system
list – phi axis offset vector, centring axis system
Returns: