calc_pix_position

dysmalpy.utils.calc_pix_position(r, pa, xcenter, ycenter)[source]

Simple function to determine the pixel that is r away from (xcenter, ycenter) along a line with position angle (pa)

Parameters:
  • r (float) – distance from (xcenter,ycenter) in pixel

  • pa (float) – position angle counter-clockwise from North

  • xcenter (float) – x center in pixel

  • ycenter (float) – y center in pixel