scopesim.optics.image_plane_utils.create_wcs_from_points# scopesim.optics.image_plane_utils.create_wcs_from_points(points: ndarray, pixel_scale: float, wcs_suffix: str = '') → tuple[WCS, ndarray]# Create astropy.wcs.WCS instance that fits all points inside. Parameters: corners ((N, 2) array) – 2D array of N >= 2 points in the form of [x, y]. pixel_scale (float) – DESCRIPTION. wcs_suffix (str, optional) – DESCRIPTION. The default is “”. Returns: new_wcs (TYPE) – Newly created WCS instance. naxis (TYPE) – Array of NAXIS needed to fit all points.