4.7.4. thuner.data.synthetic
Module for generating synthetic reflectivity data for testing. This module a work in progress; core functions are very slow.
Functions
|
Create a dictionary containing the object properties. |
- pydantic model thuner.data.synthetic.SyntheticOptions[source]
Bases:
BaseDatasetOptionsClass for managing the options for the synthetic dataset.
- Fields:
- Validators:
- thuner.data.synthetic.create_object(time, center_latitude, center_longitude, direction, speed, horizontal_radius=20, alt_center=3000.0, alt_radius=1000.0, intensity=50, eccentricity=0.4, orientation=0.7853981633974483)[source]
Create a dictionary containing the object properties.
- Parameters:
time (str) – The time at which the object has the properties in the dictionary.
center_latitude (float) – The latitude of the center of the object.
center_longitude (float) – The longitude of the center of the object.
direction (float) – The direction the object is moving in radians clockwise from north.
speed (float) – The speed the object is moving in metres per second.
horizontal_radius (float, optional) – The horizontal radius of the object in km; default is 20.
- Returns:
object_dict – Dictionary containing the object properties.
- Return type: