Apply sync model to toa matrix to obtain synced data
applySync(toa, hydros = "", sync_model)
toa | Object containing data to be synchronized. Typically a `data.table` as e.g. `ssu1$detections`, but can also be a matrix dim=(n_ping, n_hydo). |
---|---|
hydros | data.table formatted as `ssu1$hydros` |
sync_model | Synchronization model obtained using `getSyncModel()` |