paint.preprocessing.tower_measurements
Functions
|
Extract the tuples of coordinates (latitude, longitude, elevation) from a nested dictionary. |
|
Extract the min and max values of coordinates (latitude, longitude, elevation) from a nested dictionary. |
|
Generate the tower measurement data. |
Module Contents
- paint.preprocessing.tower_measurements.extract_coordinate_tuples(coordinate_tuples_dict: dict[Any, Any]) list[tuple]
Extract the tuples of coordinates (latitude, longitude, elevation) from a nested dictionary.
Parameters
- coordinate_tuples_dictdict[Any, Any]
A nested dictionary containing coordinate tuples as keys.
Returns
- list[tuple]
The list of extracted coordinate tuples.
- paint.preprocessing.tower_measurements.find_min_max_coordinate(coordinate_dictionary: dict[Any, Any]) dict[str, numpy.ndarray]
Extract the min and max values of coordinates (latitude, longitude, elevation) from a nested dictionary.
Parameters
- coordinate_dictionarydict[Any, Any]
A nested dictionary containing coordinate tuples.
Returns
- dict[str, np.ndarray]
A dictionary containing min and max coordinates for latitude, longitude, and elevation.
- paint.preprocessing.tower_measurements.get_tower_measurements() tuple[dict[str, numpy.ndarray], dict[Any, Any]]
Generate the tower measurement data.
This data takes the measured Gauss-Kruger coordinates for each considered calibration target and receiver, converts them to latitude and longitude coordinates, considers the elevation and returns these values in a dictionary. Additionally, the min and max values for each of the dimensions in the coordinates are saved for the STAC item creation.
Returns
- dict[str, np.ndarray]
The saved max and min values for each dimension in the coordinates.
- dict[Any, Any]
The measurement dictionary.