GeneralHourglassPlot¶
- class rubin_sim.maf.plots.GeneralHourglassPlot(tz='Chile/Continental', site='Cerro Pachon', solar_time=True, marked_ra=None)¶
Bases:
BasePlotter
Make an hourglass plot
- Parameters:
- tz
str
The timezone to use
- site
str
The site name (sent to
astropy.coordinates.EarthLocation.of_site
)- solar_time
bool
Use solar time as the x axis (instead of civil time)?
- marked_ra
dict
A dictionary of RA values (in deg) for which to label transit lines.
- A general feature of the hourglass plot is that you can pass more
- data (such as the metric values, calculated for the entire survey)
- to the plotter than are actually included in the plot. The plotter
- will pull out the select subset of data, defined by kwargs.
- tz
Methods Summary
__call__
(metric_value, slicer, user_plot_dict)Restructure the metric data to use, and build the figure.
Methods Documentation
- __call__(metric_value, slicer, user_plot_dict, fignum=None)¶
Restructure the metric data to use, and build the figure.