Creates a compact representation of a pressure-sensor grid sampled over time. Pressure values are expected in kPa, and grid pitch is expressed in mm. Negative sensor values are clamped to zero.
Usage
pressureMovie(
pressure,
sampling_rate,
dx = 1,
dy = 1,
side = NA_character_,
units = "kPa",
heel_first = TRUE
)Arguments
- pressure
Numeric three-dimensional array with dimensions grid row by grid column by frame, or a list of equal-dimension numeric matrices.
- sampling_rate
Sampling frequency in Hz.
- dx, dy
Sensor-cell pitch in the mediolateral and anteroposterior directions, respectively, in mm.
- side
Optional foot side,
"left","right", orNA.- units
Pressure units recorded in the source data. Calculations assume kPa.
- heel_first
Logical; whether grid row 1 is the posterior (heel) end.