mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
fixed and calrified zobov vs survey normalization schemes
This commit is contained in:
parent
a670b86295
commit
cee027a759
3 changed files with 57 additions and 36 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue