Function read_experiment_pattern

Source
pub fn read_experiment_pattern(
    dir: &str,
    pattern: &str,
    experiment_type: ExperimentType,
) -> Result<DataFrame, FitsLoaderError>
Expand description

Reads FITS files matching a pattern and combines them into a single DataFrame.

§Arguments

  • dir - Directory containing FITS files
  • pattern - Glob pattern to match files (e.g., “Y6_refl_*.fits”)
  • experiment_type - Type of experiment

§Returns

A Result containing either the combined DataFrame or a FitsLoaderError.