hypso.georeference.georef.geometric module

hypso.georeference.georef.geometric.ecef_to_lat_lon_alt(pos)

Input pos has to be Nx3, and units in meters

Parameters:

pos

Returns:

lat lon (with respect to ECI axes) and altitude in degrees and meters

Return type:

ndarray

hypso.georeference.georef.geometric.eci_lon_to_ecef_lon(datetime_utc, lon, time_offset)

ECI to longitude to ECEF Longitude conversion :param datetime_utc: :param lon: :param time_offset:

Returns:

Return type:

float

hypso.georeference.georef.geometric.eci_to_lat_lon_alt(pos, times, time_offset)

ECI to Lat/Lon Altitude

Parameters:
  • pos – needs to be Nx3

  • times – needs to be N

  • time_offset – is a float. is an additional time offset to adjust georeferencing

Returns:

Numpy array with pseudo latitude and longitude and altitude

Return type:

ndarray

hypso.georeference.georef.geometric.eci_to_lat_loneci_alt(pos)

ECI to latitude and longitude and altitude

Parameters:

pos

Returns:

Return type:

ndarray

hypso.georeference.georef.geometric.ellipsoid_line_intersection(point, direction)

Calculates the ellipsodie and line intersection

Parameters:
  • point

  • direction

Returns:

Return type:

Tuple[float, float]

hypso.georeference.georef.geometric.lat_lon_alt_to_ecef(lla)

Converts latitude and longitude ALT to ECEF :param lla: :return:

Return type:

ndarray

hypso.georeference.georef.geometric.mat_from_quat(quat)

Matrix from Quaternion

Parameters:

quat – must be a four element list of numbers or 4 element nump array

Return type:

ndarray

:return:a 3x3 numpy array containing the rotation matrix

hypso.georeference.georef.geometric.minimum_bounding_rectangle(points)

Find the smallest bounding rectangle for a set of points. Rval is a 4x2 matrix of bounding box corner coordinates

Parameters:

points – nx2 matrix of coordinates

Returns:

a set of points representing the corners of the bounding box.

Return type:

ndarray

hypso.georeference.georef.geometric.pos_ecef_to_lat_lon_alt(pos)

Coverts POS ECEF to latitude and longitude and altitude :param pos: :return:

Return type:

ndarray

hypso.georeference.georef.geometric.rotate_axis_angle(vec, axis, angle)

Rotates vector vec around axis axis by angle angle Both vec, axis, and vec_rot are column vectors. axis is a unit vector, angle is in radians

Parameters:
  • vec

  • axis

  • angle

Returns:

Return type:

ndarray