plot_parallactic¶
-
astroplan.plots.plot_parallactic(target, observer, time, ax=None, style_kwargs=None, style_sheet=None)[source]¶ Plots parallactic angle as a function of time for a given target.
If a
Axesobject already exists, an additional parallactic angle plot will be “stacked” on it. Otherwise, creates a newAxesobject and plots on top of that.When a scalar
Timeobject is passed in (e.g.,Time('2000-1-1')), the resulting plot will use a 24-hour window centered on the time indicated, with parallactic angle sampled at regular intervals throughout. However, the user can control the exact number and frequency of parallactic angle calculations used by passing in a non-scalarTimeobject. For instance,Time(['2000-1-1 23:00:00', '2000-1-1 23:30:00'])will result in a plot with only two parallactic angle measurements.For examples with plots, visit the documentation of Time Dependent Plots.
Parameters: target :
FixedTargetThe celestial body of interest.
observer :
ObserverThe person, telescope, observatory, etc. doing the observing.
time :
TimeIf scalar (e.g.,
Time('2000-1-1')), will result in plotting target parallactic angle once an hour over a 24-hour window. If non-scalar (e.g.,Time(['2000-1-1']),[Time('2000-1-1')],Time(['2000-1-1', '2000-1-2'])), will result in plotting data at the exact times specified.ax :
Axesor None, optional.The
Axesobject to be drawn on. If None, uses the currentAxes.style_kwargs : dict or None, optional.
A dictionary of keywords passed into
plot_dateto set plotting styles.style_sheet : dict or
None(optional)matplotlib style sheet to use. To see available style sheets in astroplan, print astroplan.plots.available_style_sheets. Defaults to the light theme.
Returns: ax :
AxesAn
Axesobject with added parallactic angle vs. time plot.