mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Merge branch 'master' of https://bitbucket.org/cosmicvoids/vide_public
This commit is contained in:
commit
005b6624fd
2 changed files with 3 additions and 1 deletions
|
@ -105,6 +105,8 @@ SimulationLoader *gadgetLoader(const std::string& snapshot, double Mpc_unitLengt
|
||||||
int num_files;
|
int num_files;
|
||||||
SimuData *d;
|
SimuData *d;
|
||||||
|
|
||||||
|
cout << " File to load is:" << snapshot.c_str() << endl;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
d = loadGadgetMulti(snapshot.c_str(), -1, 0);
|
d = loadGadgetMulti(snapshot.c_str(), -1, 0);
|
||||||
|
|
|
@ -271,7 +271,7 @@ def launchGenerate(sample, binPath, workDir=None, inputDataDir=None,
|
||||||
if sample.dataType == "observation":
|
if sample.dataType == "observation":
|
||||||
(boxVol, nbar) = vp.getSurveyProps(sample.maskFile, sample.zRange[0],
|
(boxVol, nbar) = vp.getSurveyProps(sample.maskFile, sample.zRange[0],
|
||||||
sample.zRange[1], sample.zRange[0], sample.zRange[1], "all",
|
sample.zRange[1], sample.zRange[0], sample.zRange[1], "all",
|
||||||
useLCDM=useComoving)
|
useComoving=useComoving)
|
||||||
else:
|
else:
|
||||||
iX = float(sample.mySubvolume[0])
|
iX = float(sample.mySubvolume[0])
|
||||||
iY = float(sample.mySubvolume[1])
|
iY = float(sample.mySubvolume[1])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue