diff options
author | Keith Packard <keithp@keithp.com> | 2009-09-06 16:24:35 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-09-06 16:24:35 -0700 |
commit | 32d3536706324808df6cd02248a236302b831571 (patch) | |
tree | e3d0343c0725a60987633a50917bc82f959c333c /ao-tools/lib/cc.h | |
parent | d0eac989b1ffc8ae30ba12da403eb4bf1ad42d6b (diff) |
Add plots to ao-postflight using the plplot library
It's not perfect, but it generates .svg plot output.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib/cc.h')
-rw-r--r-- | ao-tools/lib/cc.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ao-tools/lib/cc.h b/ao-tools/lib/cc.h index 356794e0..4e9aadc4 100644 --- a/ao-tools/lib/cc.h +++ b/ao-tools/lib/cc.h @@ -266,14 +266,41 @@ int cc_timedata_min(struct cc_timedata *d, double min_time, double max_time); int +cc_timedata_min_mag(struct cc_timedata *d, double min_time, double max_time); + +int cc_timedata_max(struct cc_timedata *d, double min_time, double max_time); int +cc_timedata_max_mag(struct cc_timedata *d, double min_time, double max_time); + +double +cc_timedata_average(struct cc_timedata *d, double min_time, double max_time); + +double +cc_timedata_average_mag(struct cc_timedata *d, double min_time, double max_time); + +int +cc_perioddata_limits(struct cc_perioddata *d, double min_time, double max_time, int *start, int *stop); + +int cc_perioddata_min(struct cc_perioddata *d, double min_time, double max_time); int +cc_perioddata_min_mag(struct cc_perioddata *d, double min_time, double max_time); + +int cc_perioddata_max(struct cc_perioddata *d, double min_time, double max_time); +int +cc_perioddata_max_mag(struct cc_perioddata *d, double min_time, double max_time); + +double +cc_perioddata_average(struct cc_perioddata *d, double min_time, double max_time); + +double +cc_perioddata_average_mag(struct cc_perioddata *d, double min_time, double max_time); + double * cc_low_pass(double *data, int data_len, double omega_pass, double omega_stop, double error); @@ -295,5 +322,7 @@ cc_perioddata_differentiate(struct cc_perioddata *i); struct cc_flightcooked * cc_flight_cook(struct cc_flightraw *raw); +void +cc_flightcooked_free(struct cc_flightcooked *cooked); #endif /* _CC_H_ */ |