Computes Kinematic Parameters for Swimming

Processes tracked points on a fish's body and uses them to estimate standard kinematic parameters such as tail beat amplitude and frequency, body wavelength and wavespeed. As part of this, it also estimates the location of the center of mass and the principal swimming axis. The techniques are described in detail in the main vignette and are published in the book chapter Hawkins, O.H., Di Santo, V., Tytell, Eric.D., 2025. "Biomechanics and energetics of swimming", in: Higham, T.E., Lauder, G.V. (Eds.), Integrative Fish Biomechanics, Fish Physiology. Academic Press. .


Summary

In this package, we put together a pipeline for analyzing fish swimming kinematics based on points digitized from video and calculating key swimming parameters. The package assumes that you have already digitized a set of points along the fish body and are looking to estimate tail beat frequency or amplitude, body excursion, swimming wavelength or wave speed.

The toolbox is decscribed in detail in Hawkins, O.H., Di Santo, V., Tytell, Eric. D., 2025. Biomechanics and energetics of swimming, in: Higham, T.E., Lauder, G.V. (Eds.), Integrative Fish Biomechanics, Fish Physiology. Academic Press. https://doi.org/10.1016/bs.fp.2025.06.003 and in the vignette.

Other vignettes

You can see examples of more complex processing pipelines in the other vignettes:

Installation

You can install using

install.packages("fishmechr")

or if you want the latest version

devtools::install_github("tytell/fishmechr")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fishmechr")

1.0.3 by Eric Tytell, 7 months ago


https://tytell.github.io/fishmechr/, https://github.com/tytell/fishmechr


Report a bug at https://github.com/tytell/fishmechr/issues


Browse source code at https://github.com/cran/fishmechr


Authors: Eric Tytell [aut, cre, cph] (ORCID: , Olivia Hawkins [ctb] , National Science Foundation [fnd]


Documentation:   PDF Manual  


CC BY 4.0 license


Imports assertthat, cli, dplyr, gsignal, pracma, rlang, tibble, tidyr, tidyselect

Suggests ggplot2, knitr, patchwork, rmarkdown, testthat


See at CRAN