Function process_image
Source pub fn process_image(img: &ImageHDU) -> Result<Vec<Column>, FitsLoaderError>
Expand description
Reads a single FITS file and converts it to a Polars DataFrame.
§Arguments
file_path - Path to the FITS file to read
header_items - List of header values to extract
§Returns
A Result containing either the DataFrame or a FitsLoaderError.