craftutils.observation.epoch.ImagingEpoch.frame_class.convert_to_cs(output_path: str, ext: int = 0)

Converts the image to flux (units of counts per second) and writes to a new file. :param output_path: Path to write converted file to. :param ext: FITS extension to modify. :return new: ImagingImage object representing the modified file.