mirror of
https://github.com/Richard-Sti/csiborgtools_public.git
synced 2025-07-14 18:03:04 +00:00
Add new ICs (#59)
* edit IC paths * Remove import * Edit path * Change naming * Add __main__ * Script to match everything * Edit docs * Remove test statement * Move import * Update nb
This commit is contained in:
parent
ab8199be2c
commit
b710b8e89c
18 changed files with 9536 additions and 134 deletions
|
@ -20,7 +20,6 @@ from argparse import ArgumentParser
|
|||
from datetime import datetime
|
||||
from gc import collect
|
||||
|
||||
import h5py
|
||||
import numpy
|
||||
from mpi4py import MPI
|
||||
from tqdm import trange
|
||||
|
@ -49,7 +48,7 @@ if nproc > 1:
|
|||
paths = csiborgtools.read.CSiBORGPaths(**csiborgtools.paths_glamdring)
|
||||
cols_collect = [("r", numpy.float32), ("M", numpy.float32)]
|
||||
if args.ics is None or args.ics == -1:
|
||||
nsims = paths.get_ics(tonew=False)
|
||||
nsims = paths.get_ics()
|
||||
else:
|
||||
nsims = args.ics
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue