sherlockpipe.plot.plotting.plot_stability_by_ecc
- sherlockpipe.plot.plotting.plot_stability_by_ecc(results_dir: str, smooth_size: int = 3, limits=[[4.95, 'red'], [4.0, 'white']])
Plot a MEGNO stability grid over eccentricity-pair parameter space.
Reads a CSV file of stability results and plots the MEGNO values as a function of two eccentricity parameters with configurable contour levels.
Parameters
- results_dirstr
Path to the CSV file containing stability results with columns
'eccentricities'and'megno'.- smooth_sizeint, optional
Size of the median filter window for smoothing, by default 3.
- limitslist of list, optional
Contour levels and colors to draw on the plot. Each entry is
[value, color], by default[[4.95, 'red'], [4.0, 'white']].