Last active
June 18, 2020 09:07
-
-
Save atuleu/39e6f6b6fcec3baa963803e7fffbc71f to your computer and use it in GitHub Desktop.
#FortMyrmidon Compute interaction between two time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# One can use fmExperimentOpenReadOnly too if no modification are needed. | |
e<-fmExperimentOpen("myfile.myrmidon") | |
# start or end can be POSIXct, fmTime or fmTimeCptr object. But they cannot just be character vector. | |
interactions <- fmQueryComputeAntInteractions(e, | |
start = fmTimeParse("2020-02-11T11:53:26.790610Z"), | |
end = fmTimeParse("2020-02-11T12:53:52.685287Z"), | |
maximumGap = fmMillisecond(800), # 800ms gap in interaction are allowed | |
reportTrajectories = FALSE, # you may set true but it will be slower | |
singleThreaded = FALSE) # you can try true to check performances | |
# Please check d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typo:
Should be
e <- fmExperimentOpen("myfile.myrmidon")
("-" is missing after "<")