iact_estimator.plots.wobble_skymap

Plotting API for skymap with planned wobbles.

Functions

calculate_square_coordinates(ra0, dec0, delta_dec)

Calculate the required Right Ascension (RA) range to maintain a square plot.

load_wobbles(wobbles_config)

Load estimated wobble information from configuration.

plot_skymap_with_wobbles(target_source, observer, ...)

Module Contents

iact_estimator.plots.wobble_skymap.calculate_square_coordinates(ra0, dec0, delta_dec)[source]

Calculate the required Right Ascension (RA) range to maintain a square plot.

Parameters: ra0 (float): Central Right Ascension in degrees. dec0 (float): Central Declination in degrees. delta_dec (float): Size of the square in Declination degrees.

Returns: tuple: (RA_min, RA_max, Dec_min, Dec_max)

iact_estimator.plots.wobble_skymap.load_wobbles(wobbles_config)[source]

Load estimated wobble information from configuration.

Parameters:
wobbles_configdict

Dictionary with ‘fov_offsets’ and ‘position_angles’ as keys and a list of floats as values.

Returns:
offsetsarray-like

Array of FoV offset angles in degrees.

anglesarray-like

Array or position angles in degrees.

iact_estimator.plots.wobble_skymap.plot_skymap_with_wobbles(target_source, observer, instrument_field_of_view, wobble_angles, wobble_offsets, config, savefig=True, output_path=None)[source]