DroopCorrectABCο
- class bapsf_motion.transform.lapd_droop.DroopCorrectABC(drive: Drive, **kwargs)ο
Bases:
ABCAbstract base class for probe droop correction classes.
- Parameters:
Attributes Summary
A list of axis identifiers.
The designed dimensionality of the droop correction.
The
Drivethe droop / non-droop correction will be working on.The number of axes of the probe drive.
Material of the probe shaft associated with the droop correction.
Outer diameter (OD) of the probe shaft associated with the droop correction.
Wall thickness of the probe shaft associated with the droop correction.
Methods Summary
__call__(points,Β to_points)Adjust
pointsfrom a non-droop position to a droop position, and vice versa.Attributes Documentation
- axesο
A list of axis identifiers.
- dimensionalityο
The designed dimensionality of the droop correction. If
-1, then the transform does not have a fixed dimensionality, and it can morph to the associatedDrive.
- naxesο
The number of axes of the probe drive.
This is the same as the motion space dimensionality.
- probe_shaft_materialο
Material of the probe shaft associated with the droop correction.
- probe_shaft_odο
Outer diameter (OD) of the probe shaft associated with the droop correction.
- probe_shaft_wallο
Wall thickness of the probe shaft associated with the droop correction.
Methods Documentation
- __call__(points: ndarray, to_points: str) ndarrayο
Adjust
pointsfrom a non-droop position to a droop position, and vice versa.pointsneed to be giving in coordinates with respect to the ball valve pivot, and NOT the LaPD coordinate system.- Parameters:
points (array_like) β A single point or array of points for which the droop / non-droop correction will be applied. These points must be given in a coordinate system with respect to the ball valve pivot, and NOT the LaPD coordinate system. The array of points needs to be of size \(M\) or \(N imes M\) where \(M\) is the dimensionality of the motion space and \(N\) is the number of points to be transformed.
to_points (str) β If
"droop", then adjustpointsfrom a non-droop position to a droop position. If"non-droop", then adjustpointsfrom a droop position to a non-droop.
- Returns:
adjusted_points β Droop / non-droop adjusted points. Will have the same dimensionality as
points.- Return type: