iact_estimator.plots.wobble_skymap¶
Plotting API for skymap with planned wobbles.
Functions¶
|
Calculate the required Right Ascension (RA) range to maintain a square plot. |
|
Load estimated wobble information from configuration. |
|
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.