code: def calculate_bearing(
          place_geometry,
          latitude,
          longitude,
          earthquake_hazard=None,
          place_exposure=None
  ):
      
      _ = earthquake_hazard, place_exposure  # NOQA
  
      epicenter = QgsPointXY(longitude, latitude)
      place_point = place_geometry.asPoint()
      bearing = place_point.azimuth(epicenter)
      return bearing
docs: Simple postprocessor where we compute the bearing angle between two
      points.
  
      :param place_geometry: Geometry of place.
      :type place_geometry: QgsGeometry
  
      :param latitude: The latitude to use.
      :type latitude: float
  
      :param longitude: The longitude to use.
      :type longitude: float
  
      :param earthquake_hazard: The hazard to use.
      :type earthquake_hazard: str
  
      :param place_exposure: The exposure to use.
      :type place_exposure: str
  
      :return: Bearing angle
      :rtype: float