fixed and calrified zobov vs survey normalization schemes

This commit is contained in:
Paul M. Sutter 2025-04-22 13:33:52 -04:00
parent a670b86295
commit cee027a759
3 changed files with 57 additions and 36 deletions

View file

@ -270,7 +270,10 @@ int main(int argc, char **argv) {
part = (PART *) malloc(numPartTot * sizeof(PART));
temp = (float *) malloc(numPartTot * sizeof(float));
// this is the volume normalization understood by zobov,
// which is all particles (including mock boundary galaxies used in old
// versions of VIDE) divided by the total volume of the bounding box
volNorm = numPartTot/(boxLen[0]*boxLen[1]*boxLen[2]);
printf(" VOL NORM = %f\n", volNorm);