polar_vector

polar_vector(gpt_magnitude, gpt_dir)

Combines two single-parameter Geopoints into a new Geopoints of ‘polar_vector’ type.

Parameters
  • gpt_magnitude (Geopoints) – geopoints containing the magnitude values

  • gpt_dir (Geopoints) – geopoints containing the direction values

Return type

Geopoints of ‘polar_vector’ type.

gpt_magnitude and gpt_dir should contain the same number of points.