-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The monostatic Doppler docstring says velocity directions are lon/lat/alt (supposedly implying x=lon, y=lat, z=alt):
openburst/openburst/functions/geofunctions.py
Lines 284 to 291 in b1e9e23
| def monostatic_doppler( | |
| freq, rad_lat, rad_lon, rad_alt, tgt_lat, tgt_lon, tgt_alt, tgt_vx, tgt_vy, tgt_vz | |
| ): | |
| """computes Doppler shift in Hz from target motion as seen at ground stationary radar | |
| freq given in MHz, alts given in masl. | |
| returns None if tgt V == 0. tgt_V is given as m/s along the lon/lat/z axis | |
| see Class Target definition | |
| """ |
However, the code shows it is actually x=lat, y=lon, z=alt because gx is the north-component and gy is the east-component:
openburst/openburst/functions/geofunctions.py
Lines 301 to 302 in b1e9e23
| gx = xy_dist * math.cos(az) # [m] | |
| gy = xy_dist * math.sin(az) # [m] |
I suggest to define coordinate systems and conventions in the documentation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels