From ebc95aa65925b06ce06c9db2791d8143448f2643 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 28 Aug 2018 10:39:36 -0500 Subject: add path to the likelihood fit This commit updates the likelihood fit to use the KL path expansion. Currently, I'm just using one coefficient for the path in both x and y. --- src/path.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/path.h') diff --git a/src/path.h b/src/path.h index 8aaa024..6e73d10 100644 --- a/src/path.h +++ b/src/path.h @@ -15,7 +15,7 @@ typedef struct path { double path_get_coefficient(unsigned int k, double *s, double *x, double theta0, size_t n); path *path_init(double *pos, double *dir, double T0, double range, double theta0, getKineticEnergyFunc *fun, double *z1, double *z2, size_t n, double m); -void path_eval(path *p, double s, double *pos, double *dir, double *T, double *t); +void path_eval(path *p, double s, double *pos, double *dir, double *T, double *t, double *theta0); void path_free(path *p); #endif -- cgit