multi_night#

stellarphot.plotting.multi_night(sources, unique_nights, night, brightest_mag, mags, mag_err, uniform_ylim=True)[source]#

Plot magnitude vs time data for several sources over several nights.

Parameters:
sourceslist

List of Source objects.

unique_nightslist

List of unique nights.

nightarray-like

Array of nights.

brightest_magfloat

Brightest magnitude of sources.

magsarray-like

Array of magnitudes.

mag_errarray-like

Array of magnitude errors.

uniform_ylimbool, optional

If True, use the median and median absolute deviation of the magnitudes to set the y-axis range for each source. Default is True.

Returns:
None

Generates a plot of magnitude vs time for each source.