poliastro.sensors

Module Contents

Functions

min_and_max_ground_range(altitude, fov, boresight, R)

Calculate the minimum and maximum values of ground-range angles.

ground_range_diff_at_azimuth(altitude, fov, boresight, azimuth, nadir_lat, nadir_lon, R)

Calculate the difference in ground-range angles.

poliastro.sensors.min_and_max_ground_range(altitude, fov, boresight, R)

Calculate the minimum and maximum values of ground-range angles.

Parameters
  • altitude (Quantity) – Altitude over surface.

  • fov (Quantity) – Angle of the total area that a sensor can observe.

  • boresight (Quantity) – Center boresight angle.

  • R (Quantity) – Attractor equatorial radius.

Returns

  • lat_lon_min (~astropy.units.Quantity) – Minimum value of latitude and longitude.

  • lat_lon_max (~astropy.units.Quantity) – Maximum value of latitude and longitude.

poliastro.sensors.ground_range_diff_at_azimuth(altitude, fov, boresight, azimuth, nadir_lat, nadir_lon, R)

Calculate the difference in ground-range angles.

Use the boresight angle, the latitude and longitude of the target, and the desired azimuth (which directs where the sensor is looking).

Parameters
  • altitude (Quantity) – Altitude over surface.

  • fov (Quantity) – Angle of the total area that a sensor can observe.

  • boresight (Quantity) – Center boresight angle.

  • azimuth (Quantity) – Azimuth angle, used to specify where the sensor is looking.

  • nadir_lat (Quantity) – Latitude angle of nadir point.

  • nadir_lon (Quantity) – Longitude angle of nadir point.

  • R (Quantity) – Attractor equatorial radius.

Returns

  • ground_range_diff (~astropy.units.Quantity) – The difference in ground-range angles from the boresight angle.

  • target_lat (~astropy.units.Quantity) – Latitude angle of the target point.

  • target_lon (~astropy.units.Quantity) – Longitude angle of the target point.

Raises

ValueError – This formula always gives the answer for the short way to the target of the acute azimuth angle, which must be greater or equal than 0º and less than 180º.