cleaned up vide toolkit calls

This commit is contained in:
Paul M. Sutter 2024-05-22 19:38:20 -04:00
parent 288e2263b6
commit 438407be74
4 changed files with 4 additions and 8 deletions

View file

@ -37,7 +37,6 @@ from netCDF4 import Dataset
from vide.backend.classes import *
from vide.backend.cosmologyTools import *
import pickle
import vide.apTools as vp
import scipy.interpolate as interpolate
NetCDFFile = Dataset
@ -274,7 +273,7 @@ def launchPrep(sample, binPath, workDir=None, inputDataDir=None,
# add to sample info file
if sample.dataType == "observation":
(boxVol, nbar) = vp.getSurveyProps(sample.maskFile, sample.zRange[0],
(boxVol, nbar) = getSurveyProps(sample.maskFile, sample.zRange[0],
sample.zRange[1], sample.zRange[0], sample.zRange[1], "all",
useComoving=useComoving)
else: