getting rid of funky center coordinated for observations

This commit is contained in:
P.M. Sutter 2013-12-19 12:27:22 -06:00
parent 79b0fa75d6
commit 34a32bfd2c
4 changed files with 153 additions and 6 deletions

View file

@ -1102,12 +1102,11 @@ void outputVoids(string outputDir, string sampleName, string prefix,
outCenter[1] = outVoid.barycenter[1];
outCenter[2] = outVoid.barycenter[2];
if (isObservation) {
outCenter[0] = (outVoid.barycenter[0]-boxLen[0]/2.)*100.;
outCenter[1] = (outVoid.barycenter[1]-boxLen[1]/2.)*100.;
outCenter[2] = (outVoid.barycenter[2]-boxLen[2]/2.)*100.;
}
//if (isObservation) {
// outCenter[0] = (outVoid.barycenter[0]-boxLen[0]/2.)*100.;
// outCenter[1] = (outVoid.barycenter[1]-boxLen[1]/2.)*100.;
// outCenter[2] = (outVoid.barycenter[2]-boxLen[2]/2.)*100.;
//}
fprintf(fpZobov, "%d %d %d %f %f %d %d %f %d %f %f\n",
iVoid,