WCSLink#
- class glue.plugins.wcs_autolinking.wcs_autolinking.WCSLink(data1=None, data2=None, cids1=None, cids2=None)[source]#
Bases:
MultiLink
A collection of links that link the pixel components of two datasets via WCS transformations.
Attributes Summary
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Methods Summary
as_affine_link
([n_samples, tolerance])Approximate the link as an affine transformation which can, if the approximation is good, result in significant performance improvements.
Attributes Documentation
- cid_independent = True#
- display = 'WCS link'#
Methods Documentation
- as_affine_link(n_samples=1000, tolerance=1)[source]#
Approximate the link as an affine transformation which can, if the approximation is good, result in significant performance improvements.
For now this will only work for datasets in which two pixel coordinates are linked.
The deviation to be compared to the tolerance is measured in the frame of reference of the second dataset.