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



