spino.pipeline.phase_plotter module¶
Phase Plotter¶
- All plotting functions for the phase scheduler:
plot_event: altitude-vs-time for a single observable event
plot_calendar: calendar summary (phase bars per night)
plot_PR_landscape: P-R desert landscape with KDE background
- spino.pipeline.phase_plotter.plot_event(event, obs, output_path=None, pdf=None)[source]¶
Altitude-vs-time plot for one observable event.
- Exactly one of
output_pathorpdfmust be provided: output_pathwrites a single-page PDF (legacy mode).pdfis amatplotlib.backends.backend_pdf.PdfPagesinstance and the figure is appended as a page (used by the scheduler to bundle every event of one type into one multi-page PDF per planet).
- Parameters:
event (dict with _night, _geom, _target, _windows, event_type, etc.)
obs (dict with lat, lon, alt, name, timezone)
output_path (str or None)
pdf (PdfPages or None)
- Exactly one of
- spino.pipeline.phase_plotter.plot_calendar(events, event_type, planet_name, event_windows, output_path)[source]¶
Calendar summary: one horizontal bar per night, coloured by Moon illumination, with the event phase window highlighted.