Add plotting (#64)

* Add verbosity statements

* More verbosity

* Save masses too

* Add CDF new plot

* Blank line

* Fix RVS sampling bug

* Add R200 conversion

* Simplify plotting routines

* Remove imoprt
This commit is contained in:
Richard Stiskalek 2023-05-27 00:08:39 +01:00 committed by GitHub
parent 7c2d7a86f5
commit f1dbe6f03f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 123 additions and 12 deletions

View file

@ -69,7 +69,7 @@ def find_neighbour(args, nsim, cats, paths, comm):
if args.verbose:
print(f"Rank {comm.Get_rank()} writing to `{fout}`.", flush=True)
numpy.savez(fout, ndist=ndist, cross_hindxs=cross_hindxs, mass=mass,
rdist=rdist)
ref_hindxs=cat0["index"], rdist=rdist)
if __name__ == "__main__":