mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
cleaned up vide toolkit calls
This commit is contained in:
parent
288e2263b6
commit
438407be74
4 changed files with 4 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue