Desert v. Vinegar Flies: General Allometry
收藏资源简介:
To calculate the statistics and generate the figures from our manuscript, do the following: 1. Unzip baja.zip, melanogaster.zip, and mojavensis.zip producing folders of the same name. In these folders are micrographs of each species, divided into male and female subfolders. In each folder is also a numpy dataset (*.npy) generated by human input by running the file ./tracker.py in each subfolder. 2. Make sure Python 3.6+ and the following packages are installed (try pip): numpy matplotlib PIL pandas 3. In the terminal, cd into this directory and run the following to display figures and print statistics, saving the figures into the project folder: ~$ python3 plot.py. The resulting statistics are saved under ./stats.txt and summarized in the spreadsheet ./stats.csv.



