plot_magnitudes#

stellarphot.plotting.plot_magnitudes(mags=None, errors=None, times=None, night=None, alpha=0.25, y_range=None)[source]#

Plot one night of magnitude data for one source, overlaying a rolling mean and indication of mean/deviation.

Parameters:
magsarray of floats, optional

Magnitudes of source.

errorsarray of floats, optional

Errors on magnitudes.

timesarray-like, optional

Times of observations.

nightfloat, optional

Night of observations.

alphafloat, optional

Alpha value for error bars. Default is 0.25.

y_rangetuple

Range of y-axis. Default is None.

Returns:
meanfloat

Mean magnitude of source.

stdfloat

Standard deviation of magnitudes.