Matlab, R and free software for trajectory analyses in trace fossils
Description
These are the MATLAB and R codes, and a free software for trajectory analysis of a fossil trail. Trajectory.m and Trajectory.R analyze trajectory-related metrics, including turning-angle series, frequency spectra (single-sided representation), autocorrelation functions, the minimal normalized radius of curvature, the smoothness index, and the Shannon index, minimal normalized body length estimation, etc., based on a series of (x, y) coordinates (such as the two series of values x, y in the attached "Coordinates1.txt"). Fractal_index.m and Fractal_index.R compute the fractal index from an image in which the trajectory is shown in black against a white background (such as the attached "Forage.tiff"). It should be noted that, for smoothness analyses, the minimal value of F is 2 by definition (of smoothness index), which is also the standard choice. Although F can be set slightly higher, the manuscript “Reproducing and understanding a fossil trail in digitized worlds: a protocol to quantitative analyses of movement trajectories” (doi: 10.1080/10420940.2026.2642060) shows that excessively large F values introduce substantial noise. Fractal analysis has not been integrated into the free software Trajectory Analysis_Version3. And to ensure best accuracy, the length of the turning angle series (N-2) is two steps shorter than the length of the points series (number of extracted points, N) in the codes and the free software.
You will need to wait for a few seconds before the software opens.
_______________________________________________________________________________
The free software has been updated to Version 6, incorporating several new features and functionalities:
https://zenodo.org/records/20399534, which is appended to the bandwidth paper published in Palaeo3 (https://doi.org/10.1016/j.palaeo.2026.113973).
Files
Coordinates1.txt
Files
(106.7 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:e9b8dcfea1f439ec0143472f2bcad4cc
|
1.2 kB | Preview Download |
|
md5:3b9f7ec649fcfdca5276e0790435a2b8
|
44.8 kB | Preview Download |
|
md5:ebf797341e5799a1610a315f6e0acca0
|
1.6 kB | Download |
|
md5:fa13cfc656788efd77b2936e18b5ae72
|
2.2 kB | Download |
|
md5:6adc65d84e8aa1f0557688d8e361a877
|
106.7 MB | Download |
|
md5:bc4de338114d6678fd2d289a6bebf42f
|
4.0 kB | Download |
|
md5:767ba5a79178b8897349fc59a43acb5c
|
4.4 kB | Download |
Additional details
Related works
- Is supplement to
- Publication: 10.1080/10420940.2026.2642060 (DOI)