stability
Attributes
Functions
|
Load row median profiles from FITS files in a directory matching a name pattern. |
|
Plot a summary of row stability including a heatmap of row median profiles |
Module Contents
- load_row_profiles(directory, name_pattern)[source]
Load row median profiles from FITS files in a directory matching a name pattern. :param directory: Path to the directory containing FITS files. :type directory: str :param name_pattern: Regex pattern to match filenames. :type name_pattern: str
- Returns:
row_profiles (np.ndarray) – 2D array where each row corresponds to the row median profile of an image.
obsnames (list of str) – List of observation names extracted from filenames.
- plot_row_stability_summary(row_profiles, SCA)[source]
Plot a summary of row stability including a heatmap of row median profiles and a plot of mean ± std deviation across rows. :param row_profiles: 2D array where each row corresponds to the row median profile of an image. :type row_profiles: np.ndarray :param SCA: SCA identifier for labeling the plots. :type SCA: str
- Return type:
None