From 186ed2311da21e8655933447af4ec8c994ffc5b1 Mon Sep 17 00:00:00 2001 From: Jonah Kanner <jonah.kanner@LIGO.ORG> Date: Tue, 24 Jun 2014 22:00:17 +0000 Subject: [PATCH] Created branch for 0 ecc hack git-svn-id: https://svn.ligo.caltech.edu/svn/bayeswave/branches/ecc0@83 c56465c9-8126-4a4f-9d7d-ac845eff4865 --- Subroutines.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Subroutines.c b/Subroutines.c index ac9fb7d6..374fea27 100644 --- a/Subroutines.c +++ b/Subroutines.c @@ -1235,6 +1235,7 @@ void extrinsic_fisher_proposal(struct FisherMatrix *fisher, double *params, long //jump from current position for(i=0; i<NE; i++) y[i] = params[i] + gasdev2(seed)*jump[i]; + y[3] = 0; } void extrinsic_uniform_proposal(long *seed, double *y) @@ -1242,7 +1243,7 @@ void extrinsic_uniform_proposal(long *seed, double *y) y[0] = ran2(seed)*TPI; y[1] = -1.0 + 2.0*ran2(seed); y[2] = ran2(seed)*TPI; - y[3] = -0.99 + 1.98*ran2(seed); + y[3] = 0; y[4] = 0. + 100.*ran2(seed); y[5] = -0.01 + 0.02*ran2(seed); y[6] = ran2(seed)*TPI; @@ -5429,7 +5430,7 @@ void sky_ring_proposal(double *x, long *seed, double *y, struct Data *data) y[0] = newRA; y[1] = sin(newDec); y[2] = newPsi; - y[3] = newEcc; + y[3] = 0; y[4] = newScale; y[5] = newTime; y[6] = newPhi; -- GitLab