Desert v. Vinegar Flies: Eye Allometry
收藏Figshare2021-08-13 更新2026-04-28 收录
下载链接:
https://figshare.com/articles/dataset/Desert_v_Vinegar_Flies_Eye_Allometry/15127797
下载链接
链接失效反馈官方服务:
资源简介:
Instructions needed to generate the statistics and figures used in Eye Allometry results:Make sure Python 3.6+ and the following Python packages are installed (try pip): -matplotlib -numpy -pandas -pickle -scikit-image -scipy -seaborn -statsmodels-eye_tools (from https://github.com/jpcurrea/eye_tools.git)A. Plot figures and calculate important statistics:In the terminal, cd to the downloaded folder and run the following: ~! python3 plot.pyRunning this script produces the following image files: -eye_composition.png -eye_composition.svg -eye_shape.png -eye_shape.svg -fields_of_view.png -fields_of_view.svg -optical_performance.png -optical_performance.svgWe've also already saved the following files: -stats.txt: allometric statistics collated by measurement -stats.csv: allometric statistics used for tableB. To generate the allometric data from scratch:1. unzip image_stacks.zip, creating a folder of the same name2. run the following: ~! python3 analysis.pyRunning this script produces the following: -allometry_data.csv: readable measurements dataframe -allometry_data.pkl: pickled measurements dataframe3. to plot the data, running process A. above.C. To generate Supplemental Figure 2, cd to the downloaded folder and run the following: ~! python3 plot_demo.py
创建时间:
2021-08-13



