Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

sdynpy.fileio.sdynpy_psv.Alignment3D

Signature

class sdynpy.fileio.sdynpy_psv.Alignment3D(obj: 'Any') -> 'None'

Wrapper around COM 3D alignment data and operations.

Attributes

NameSummary
align_3d_points3D alignment points.
coord_definition_modeCoordinate-definition mode for the 3D alignment.
current_qualityCurrent 3D alignment quality in meters.
mirrorWhether the 3D alignment was performed through a mirror.
scan_head_typeScanning-head type.
target_qualityTarget 3D alignment quality in meters.
validWhether the alignment is valid.

align_3d_points

3D alignment points.

coord_definition_mode

Coordinate-definition mode for the 3D alignment.

current_quality

Current 3D alignment quality in meters.

mirror

Whether the 3D alignment was performed through a mirror.

scan_head_type

Scanning-head type.

target_quality

Target 3D alignment quality in meters.

valid

Whether the alignment is valid.

Methods

NameSummary
__init__Initialize self. See help(type(self)) for accurate signature.
calculateCalculate a new 3D alignment.
coord_3d_to_scannerConvert 3D coordinates to scanner coordinates and distance.
get_beam_lengthRetrieve beam length from the objective to the specified point.
get_beam_originRetrieve the beam origin at the second scanner mirror.
get_scan_head_positionRetrieve the scan-head position at the first scanner mirror.
invalidateInvalidate the current 3D alignment.
scanner_to_coord_3dConvert scanner coordinates and distance to 3D coordinates.
scanner_to_vector_3dConvert scanner coordinates to a unit-direction vector.

__init__

def sdynpy.fileio.sdynpy_psv.Alignment3D.__init__(self, obj: 'Any') -> 'None'

Initialize self. See help(type(self)) for accurate signature.

calculate

def sdynpy.fileio.sdynpy_psv.Alignment3D.calculate(self) -> 'None'

Calculate a new 3D alignment.

coord_3d_to_scanner

def sdynpy.fileio.sdynpy_psv.Alignment3D.coord_3d_to_scanner(self, x: 'float', y: 'float', z: 'float') -> 'Any'

Convert 3D coordinates to scanner coordinates and distance.

get_beam_length

def sdynpy.fileio.sdynpy_psv.Alignment3D.get_beam_length(self, x: 'float', y: 'float', z: 'float') -> 'float'

Retrieve beam length from the objective to the specified point.

get_beam_origin

def sdynpy.fileio.sdynpy_psv.Alignment3D.get_beam_origin(self, scanner_x: 'float' = 0.0, scanner_y: 'float' = 0.0) -> 'Any'

Retrieve the beam origin at the second scanner mirror.

get_scan_head_position

def sdynpy.fileio.sdynpy_psv.Alignment3D.get_scan_head_position(self) -> 'Any'

Retrieve the scan-head position at the first scanner mirror.

invalidate

def sdynpy.fileio.sdynpy_psv.Alignment3D.invalidate(self) -> 'None'

Invalidate the current 3D alignment.

scanner_to_coord_3d

def sdynpy.fileio.sdynpy_psv.Alignment3D.scanner_to_coord_3d(self, scanner_x: 'float', scanner_y: 'float', distance: 'float') -> 'Any'

Convert scanner coordinates and distance to 3D coordinates.

scanner_to_vector_3d

def sdynpy.fileio.sdynpy_psv.Alignment3D.scanner_to_vector_3d(self, scanner_x: 'float', scanner_y: 'float') -> 'Any'

Convert scanner coordinates to a unit-direction vector.