DESI-UR / VAST

Void Analysis Software Toolkit
https://vast.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
9 stars 8 forks source link

V^2 applied to periodic galaxy catalog, issue with consolidating neighbors #92

Closed ANSalcedo closed 1 year ago

ANSalcedo commented 1 year ago

After modifying the configuration file to input a mock galaxy fits catalog I run vsquared.py with the periodic option. It runs with no issues until the "Consolidating neighbors..." step, line 203 of classes.py

nei.append(np.unique(sim[cut]))

raises the error:

IndexError: arrays used as indices must be of integer (or boolean) type