transform_pm_cov

gala.coordinates.transform_pm_cov(c, cov, to_frame)[source]

Transform a proper motion covariance matrix to a new frame.

Parameters
cSkyCoord

The sky coordinates of the sources in the initial coordinate frame.

covarray_like

The covariance matrix of the proper motions. Must have same length as the input coordinates.

to_frameBaseCoordinateFrame subclass

The frame to transform to as an Astropy coordinate frame class or instance.

Returns
new_covarray_like

The transformed covariance matrix.