msimet / Stile

Stile: the Systematics Tests In Lensing pipeline
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

#85 Fixes to usage of randoms in correlation functions #111

Open msimet opened 6 years ago

msimet commented 6 years ago

Sometimes the random catalog checks in the CorrelationFunctionSysTest didn't work, basically because TreeCorr Catalogs don't have a len(). In the course of fixing that, I found some other bugs relating to the usage of randoms, so I fixed those and added a unit test that includes random data points. (I didn't check for correct values, merely that the correlation functions run.)