unwrap | R Documentation |
Halos can sometimes get wrapped around the edges of their box and as a result not be fully connected. This function takes a snapshot and unwraps the halo.
It is assumed that the box size is 210 Mpc/h
unwrap(frame, snap = 1, half.box.size = 105)
frame |
A list or vector type object containing the partice positions at a given time |
snap |
A numeric value for the snapshot number |
half.box.size |
An optional value for the box width / 2 in simulaiton units (Mpc/h). It is naturally set as 105 as the simulation boxes are 210 Mpc/h |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.