pixel_scaleΒΆ

astropy.units.pixel_scale(pixscale)[source] [edit on github]ΒΆ

Convert between pixel distances (in units of pix) and angular units, given a particular pixscale.

Parameters:

pixscale : Quantity

The pixel scale either in units of angle/pixel or pixel/angle.