pub fn read_experiment_pattern(
dir: &str,
pattern: &str,
header_items: &Vec<String>,
) -> Result<DataFrame, FitsLoaderError>
Expand description
Reads FITS files matching a pattern and combines them into a single DataFrame.
§Arguments
dir
- Directory containing FITS filespattern
- Glob pattern to match files (e.g., “Y6_refl_*.fits”)header_items
- List of header values to extract
§Returns
A Result
containing either the combined DataFrame or a FitsLoaderError
.