-
craftutils.observation.epoch.ImagingEpoch.frame_class.world_to_pixel(coord: SkyCoord, origin: int =
0, ext: int =0) tuple[ndarray, ndarray] Turns a sky coordinate into image pixel coordinates; :param coord: SkyCoord object to convert to pixel coordinates; essentially a wrapper for SkyCoord.to_pixel() :param origin: Do you want pixel indexing that starts at 1 (FITS convention) or 0 (numpy convention)? :return: xp, yp: numpy.ndarray, the pixel coordinates.