Skip to content

Instantly share code, notes, and snippets.

@atuleu
Last active June 15, 2020 19:34
Show Gist options
  • Save atuleu/9a14f30e94c8873697407d34c8f3cb8f to your computer and use it in GitHub Desktop.
Save atuleu/9a14f30e94c8873697407d34c8f3cb8f to your computer and use it in GitHub Desktop.
#FortMyrmidon Compute instantaneous positions for every ant between two times
library(fortMyrmidon)
# load an experiment file, the one with the Bees
e <- fmExperimentOpenReadOnly("myfile.myrmidon")
# queries all positions of bees between that two times, and do not ask for their zones (they are none defined)
positions <- fmQueryIdentifyFrames(e,
start = fmTimeParse('2020-05-14T08:00:00.000Z'),
end = fmTimeParse('2020-05-14T09:00:00.000Z'),
reportZone = FALSE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment