Added experimental documentation. Added a sphinx skeleton

This commit is contained in:
Guilhem Lavaux 2014-12-07 10:53:41 +01:00
parent 00d8d619ef
commit e5fbc1d62e
10 changed files with 696 additions and 4 deletions

View file

@ -99,7 +99,17 @@ def simpleWriteGadget(filename, positions, boxsize=1.0, Hubble=100, Omega_M=0.30
writeGadget(filename, s)
def loadRamsesAll(basepath, snapshot_id, **kwargs):
"""This function loads an entire ramses snapshot in memory. The keyword arguments are the one accepted
by cosmotool.loadRamses
Args:
basepath (str): The base path of the snapshot (i.e. the directory holding the output_XXXXX directories)
snapshot_id (int): The identifier of the snapshot to load.
See Also:
cosmotool.loadRamses
"""
cpu_id = 0
output = None
while True: