Module HOUND.Contact.Datapoint
HOUND.Contact.Datapoint
Functions
HOUND.Contact.Datapoint.New (platform0, p0, az0, el0, s0, t0[, angularResolution[, isPlatformStatic]]) | Create new HOUND.Contact.Datapoint instance |
HOUND.Contact.Datapoint.isStatic (self) | check if platform is static |
HOUND.Contact.Datapoint.getPos (self) | Get estimated position |
HOUND.Contact.Datapoint.getAge (self) | Get datapoint age in seconds |
HOUND.Contact.Datapoint.get2dPoly (self) | Get 2D polygon |
HOUND.Contact.Datapoint.get3dPoly (self) | Get 3D polygon |
HOUND.Contact.Datapoint.getEllipseParams (self) | Get 3D polygon ellipse parameters |
HOUND.Contact.Datapoint.getErrors (self) | Get computed error table |
HOUND.Contact.Datapoint.calcError (self) | calculate errors on 3dPoly |
Tables
HOUND.Contact.Datapoint |
Local Functions
HOUND.Contact.Datapoint.estimatePos (self) | Estimate contact position from Datapoint information only |
HOUND.Contact.Datapoint.calcPolygons (self) | generate Az only Triangle and if possible Az/El polygon footprint |
HOUND.Contact.Datapoint.update (self, newAz[, predictedAz[, processNoise]]) | Smooth azimuth using Kalman filter |
HOUND.Contact.Datapoint.getId () | Assign id for each Datapoint for debugging |
Functions
- HOUND.Contact.Datapoint.New (platform0, p0, az0, el0, s0, t0[, angularResolution[, isPlatformStatic]])
-
Create new HOUND.Contact.Datapoint instance
Parameters:
- platform0 DCS Unit of locating platform
- p0 Position of platform on detection
- az0 Azimuth (rad) from platform to emitter
- el0 Elevation (rad) from platform to emitter
- s0 signal strength as detected by the platform
- t0 Abs time of datapoint
- angularResolution angular resolution of datapoint (optional)
- isPlatformStatic (bool) (optional)
Returns:
-
Datapoint instance
- HOUND.Contact.Datapoint.isStatic (self)
-
check if platform is static
Parameters:
- self
Returns:
-
Bool
True if platform is static
- HOUND.Contact.Datapoint.getPos (self)
-
Get estimated position
Parameters:
- self
Returns:
-
DCS point
- HOUND.Contact.Datapoint.getAge (self)
-
Get datapoint age in seconds
Parameters:
- self
Returns:
-
time in seconds
- HOUND.Contact.Datapoint.get2dPoly (self)
-
Get 2D polygon
Parameters:
- self
Returns:
-
table of DCS points
- HOUND.Contact.Datapoint.get3dPoly (self)
-
Get 3D polygon
Parameters:
- self
Returns:
-
table of DCS points
- HOUND.Contact.Datapoint.getEllipseParams (self)
-
Get 3D polygon ellipse parameters
Parameters:
- self
Returns:
-
table of ellipse parameters
- HOUND.Contact.Datapoint.getErrors (self)
-
Get computed error table
Parameters:
- self
Returns:
-
error table
- HOUND.Contact.Datapoint.calcError (self)
-
calculate errors on 3dPoly
Parameters:
- self
Tables
- HOUND.Contact.Datapoint
-
Fields:
- platformPos position of platform at time of sample
- az Azimuth from platformPos to emitter
- el Elevation from platfromPos to emitter
- t Time of sample
- platformId uid of platform DCS unit
- platformName Name of platform DCS unit
- platformStatic True if platform is static object
- platformPrecision Angular resolution of platform in radians
- estimatedPos estimated position of emitter from AZ/EL (if applicable)
Local Functions
- HOUND.Contact.Datapoint.estimatePos (self)
-
Estimate contact position from Datapoint information only
Parameters:
- self
- HOUND.Contact.Datapoint.calcPolygons (self)
-
generate Az only Triangle and if possible Az/El polygon footprint
Parameters:
- self
Returns:
- 2D Polygon
- 3D Polygon
- Ellipse parametes for 3D Polygon (theta,major,minor)
- HOUND.Contact.Datapoint.update (self, newAz[, predictedAz[, processNoise]])
-
Smooth azimuth using Kalman filter
Parameters:
- self Datapoint instance
- newAz new Az input
- predictedAz predicted azimuth (optional)
- processNoise Process noise (optional)
- HOUND.Contact.Datapoint.getId ()
-
Assign id for each Datapoint for debugging
Returns:
-
DatapointId (number)