Commit 186ed231 authored by Jonah Kanner's avatar Jonah Kanner 🤓

Created branch for 0 ecc hack

git-svn-id: https://svn.ligo.caltech.edu/svn/bayeswave/branches/ecc0@83 c56465c9-8126-4a4f-9d7d-ac845eff4865
parent 56f7c2fd
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment