eaarl-io  1.0.1+71abbd4
EAARL Input/Output Library (Public API)
units.h
Go to the documentation of this file.
1 #ifndef EAARLIO_UNITS_H
2 #define EAARLIO_UNITS_H
3 
12 #include "eaarlio/edb.h"
13 #include "eaarlio/raster.h"
14 #include <stdint.h>
15 
16 /******************************************************************************/
17 
24 #define EAARLIO_UNITS_SCAN_ANGLE_COUNTS_DEGREES 0.045
25 
33 #define EAARLIO_UNITS_TIME_FRACTION_SECONDS 1.6e-6
34 
35 /******************************************************************************/
36 
49 double eaarlio_units_edb_time(struct eaarlio_edb_record *record);
50 
62 double eaarlio_units_raster_time(struct eaarlio_raster *raster);
63 
78 double eaarlio_units_pulse_time(struct eaarlio_raster *raster,
79  uint16_t pulse_number);
80 
91 double eaarlio_units_pulse_scan_angle(struct eaarlio_pulse *pulse);
92 
93 #endif
double eaarlio_units_raster_time(struct eaarlio_raster *raster)
Returns the timestamp for an EAARL raster.
Constants, structures, and utility functions for EAARL raster data.
double eaarlio_units_edb_time(struct eaarlio_edb_record *record)
Returns the timestamp for an EDB record.
EAARL raster record.
Definition: raster.h:23
EDB record.
Definition: edb.h:37
double eaarlio_units_pulse_scan_angle(struct eaarlio_pulse *pulse)
Returns the scan angle in degrees for a pulse.
EAARL pulse record.
Definition: pulse.h:23
double eaarlio_units_pulse_time(struct eaarlio_raster *raster, uint16_t pulse_number)
Returns the timestamp for a pulse in an EAARL raster.
Constants and structures for the EDB file format.