mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2025-01-31 04:41:36 +00:00
parent
1c736aaede
commit
f61429be43
2 changed files with 28 additions and 59 deletions
|
@ -423,7 +423,8 @@ class Paths:
|
|||
|
||||
if MAS == "SPH" and kind in ["density", "velocity"]:
|
||||
if simname == "csiborg1":
|
||||
raise ValueError("SPH field not available for CSiBORG1.")
|
||||
return join(self.csiborg1_srcdir, "field",
|
||||
f"sph_ramses_{str(nsim).zfill(5)}_{grid}.hdf5")
|
||||
elif simname == "csiborg2_main":
|
||||
return join(self.csiborg2_main_srcdir, "field",
|
||||
f"chain_{nsim}_{grid}.hdf5")
|
||||
|
@ -495,9 +496,7 @@ class Paths:
|
|||
-------
|
||||
str
|
||||
"""
|
||||
|
||||
# # In case the galaxy positions of TNG300-1 were scattered..
|
||||
|
||||
if kind not in ["density", "potential", "radvel"]:
|
||||
raise ValueError("Unsupported field type.")
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue