Description Usage Arguments Author(s) See Also
Turns evolving particle data produced by surfsuite into an mp4 movie. Surfsuite is a fortran tool available at https://github.com/obreschkow/surfsuite. Function requires ffmpeg to be available via the terminal.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
file.track |
filename of the particle tracking file produced by calling "surfsuite trackhalo ..." (see README file of surfsuite). |
radius |
optional value specifying the radius (in simulation units) of the image. For square-movies, this radius is equal to half the horizontal and vertical diameter of the image. Otherwise, it is the geometric mean between these two half-diameters. |
aspect |
aspect ratio of the movie |
mp4file |
filename of mp4-movie |
fps |
frames per second |
H0 |
Hubble constant of the simulation in units of km/s/Mpc |
OmegaM |
matter density of the universe at z=0 |
OmegaL |
dark energy density of the universe at z=0 |
velocity.conversion |
conversion factor from velocity units in the simulation to length units/Gyr (at z=0). The default corresponds to the standard of Gadget-2. |
dt |
time interval between frames in Gyr |
keep.frames |
logical flag specifying whether the individual frame images are to be kept in a temporary folder within the directory specified by |
rotation |
either an integer (1-6) or a 3-vector, specifying a rotation of the 3D particle positions. In case of an integer: 1=(x,y)-plane, 2=(y,z)-plane, 3=(x,y)-plane, 4=(qmax,qmin)-plane, 5=(qmax,qmid)-plane, 6=(qmid,qmin)-plane, where qmax/qmid/qmin are the eigenvectors of the particle-quadrupole, associated with the maximum/middle/minimum eigenvalues, respectively. If |
show.time |
logical flag specifying whether the lookback time is displayed |
text.size |
scaling factor for the text size used for the lookback time |
... |
additional arguments to passed to |
Danail Obreschkow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.