summaryrefslogtreecommitdiff
path: root/ao-tools/lib/cc.h
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2009-09-06 17:34:08 -0600
committerBdale Garbee <bdale@gag.com>2009-09-06 17:34:08 -0600
commitd256f8204e9fce53ae4309562bb4c0cde1fae43e (patch)
tree76d36267c4a551f8aa570c07c045a682c73a4e5c /ao-tools/lib/cc.h
parent0fc344dfc031a8b1eef7cc40efb1d5ba7782269d (diff)
parent32d3536706324808df6cd02248a236302b831571 (diff)
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'ao-tools/lib/cc.h')
-rw-r--r--ao-tools/lib/cc.h29
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_ */