pixel_scale#

astropy.units.equivalencies.pixel_scale(pixscale)[source]#

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

Parameters:
pixscaleQuantity

The pixel scale either in units of <unit>/pixel or pixel/<unit>.