Function read_experiment

Source
pub fn read_experiment(
    dir: &str,
    header_items: &Vec<String>,
) -> Result<DataFrame, FitsLoaderError>
Expand description

Reads all FITS files in a directory and combines them into a single DataFrame.

§Arguments

  • dir - Path to the directory containing FITS files
  • header_items - List of header values to extract

§Returns

A Result containing either the combined DataFrame or a FitsLoaderError.