iact_estimator.plots.observability

Plotting functions related to source observability from a location.

Functions

plot_transit(config, source_name, target_source, ...)

Plot the Spectral Energy distribution with significances.

plot_altitude_airmass(config, source_name, ...[, ax, ...])

Module Contents

iact_estimator.plots.observability.plot_transit(config, source_name, target_source, observer, time, merge_profiles=True, plot_crab=True, style_kwargs=None, savefig=True, output_path=None)[source]

Plot the Spectral Energy distribution with significances.

Parameters:
configdict

Loaded configuration

output_pathstr or ~pathlib.Path
source_namestr
target_sourceastroplan.Target
observerastroplan.Observer
time~astropy.time.Time

Datetime of the planned observation

merge_profilesbool, default=True

If True plot the combined horizon profile from both telescopes.

crabbool, default=True

If True plot the Crab together with the target source for comparison.

style_kwargsdict, default=None

Dictionary of keywords passed into ~matplotlib.pyplot.scatter to set plotting styles.

iact_estimator.plots.observability.plot_altitude_airmass(config, source_name, target_source, observer, time, ax=None, savefig=True, output_path=None, **kwargs)[source]