Function read_fits
Source pub fn read_fits(
file_path: PathBuf,
header_items: &Vec<String>,
) -> Result<DataFrame, 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.