interpolate.positions.2: Interpolate and extrapolate the position of particles

View source: R/interpolate.positions.2.R

interpolate.positions.2R Documentation

Interpolate and extrapolate the position of particles

Description

Determines from the given look-back time and time-steps of a set of particles positions needs to be extrapolated or interpolated. If a particles position needs to be interpolated, the particles positions will be estimated using a cubic fitted between the two given snapshots to fit a position within the given time step.

Usage

interpolate.positions.2(track, snapshots, t)

Arguments

track

A list containing a read in halo from Surfsuite.

snapshots

A data.frame object containing particle id's, velocities and positions at given redshifts and look-back times based on the track list.

t

A value for the look-back time (Gyrs) for the step to be interpolated or extrapolated too


Will-McD/ENSTvisualise documentation built on June 24, 2022, 5:13 p.m.