QuadMatch
- class ctapointing.imagesolver.QuadMatch(spot_quad, star_quad, status=<Status.DEFAULT: 0>)
Bases:
StatusBaseClass for storing a match between a spot quad object and a star quad object.
Methods Summary
set_status(status[, combine])Sets status flag for the quad match and star and spot quad :param status: the status flag to be set :param combine: if True, add status flag to other existing flags if False, set this status flag as the only one
Perform similarity transform between spot and star quad.
transform_stars([stars, ...])Transform a set of stars using the transformation properties stored in this QuadMatch.
Methods Documentation
- set_status(status, combine=True)
Sets status flag for the quad match and star and spot quad :param status: the status flag to be set :param combine: if True, add status flag to other existing flags
if False, set this status flag as the only one
- similarity_transform()
Perform similarity transform between spot and star quad.
For the similarity transform, scale, rotation and two offsets are fitted between the star quad and the spot quad of each QuadMatch object.
Transformation parameters are stored in the transformation_properties attribute of the QuadMatch object.
The status of the QuadMatch is set to SIMFITTED.
- transform_stars(stars=None, transformation_parameters=None)
Transform a set of stars using the transformation properties stored in this QuadMatch. Returns a new list of Star objects with updated SkyCameraFrame coordinates.
- __init__(spot_quad, star_quad, status=<Status.DEFAULT: 0>)
- set_status(status, combine=True)
Sets status flag for the quad match and star and spot quad :param status: the status flag to be set :param combine: if True, add status flag to other existing flags
if False, set this status flag as the only one
- similarity_transform()
Perform similarity transform between spot and star quad.
For the similarity transform, scale, rotation and two offsets are fitted between the star quad and the spot quad of each QuadMatch object.
Transformation parameters are stored in the transformation_properties attribute of the QuadMatch object.
The status of the QuadMatch is set to SIMFITTED.
- transform_stars(stars=None, transformation_parameters=None)
Transform a set of stars using the transformation properties stored in this QuadMatch. Returns a new list of Star objects with updated SkyCameraFrame coordinates.