Created
June 15, 2020 19:16
-
-
Save atuleu/d6e7ddd8ca88abfb927c5275316f6749 to your computer and use it in GitHub Desktop.
#FortMyrmidon How to create tag automatically for Ants
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
library(fortMyrmidon) | |
e <- fmExperimentOpen("filename.myrmidon") | |
ts <- fmQueryComputeTagStatistics(e) | |
for ( i in seq(1,length(ts))) { | |
a <- e$createAnt() | |
e$addIdentification(a$antID(),ts[i]$TagID,fmTimeInf(),fmTimeInf()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment