plot_lunar_brightness

specsim.atmosphere.plot_lunar_brightness(moon_zenith, moon_azimuth, moon_phase, vband_extinction=0.162, ngrid=250, cmap='YlGnBu', figure_size=(8, 6))[source] [edit on github]

Create a polar plot of the scattered moon brightness in V band.

Evaluates the model of krisciunas_schaefer() on a polar grid of observation pointings, for a fixed moon position and phase.

This method requires that matplotlib is installed.

Parameters:
moon_zenithastropy.units.Quantity

See krisciunas_schaefer().

moon_azimuthastropy.units.Quantity

Aziumuthal angle of the moon in angular units. Azimuth is measured clockwize from zero (North).

moon_phasefloat

See krisciunas_schaefer().

vband_extinctionfloat

See krisciunas_schaefer().

ngridint

Size of observing location zenith and azimuth grids to use.

cmapstr

Name of the matplotlib color map to use.

figure_sizetuple or None

Tuple (width, height) giving the figure dimensions in inches.

Returns:
tuple

Tuple (fig, ax, cax) of matplotlib objects created for this plot. You can ignore these unless you want to make further changes to the plot.