Python examplesΒΆ
The simulation documentation linked on the left side of this page describes each type of simulation output (snapshots, halo catalogues, HEALPix maps etc) and provides examples showing how to read each one in python. Here, we provide links to these examples.
Open a snapshot, read particles in a region, and save the region to a local file using swiftsimio or pynbody.
Read SOAP halo properties using swiftsimio or pynbody
Identify a halo of interest and read in the particles belonging to it
Read and plot the matter power spectrum at several redshifts
Read lightcone particles in a specified redshift range and position on the sky
Read in HEALPix maps of various quantities for a specified redshift shell and observer