Desert v. Vinegar Flies: Eye Allometry|昆虫学数据集|数据分析数据集
收藏Mendeley Data2024-01-31 更新2024-06-27 收录
下载链接:
https://figshare.com/articles/dataset/Desert_v_Vinegar_Flies_Eye_Allometry/15127797/2
下载链接
资源简介:
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.py Running 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.svg We've also already saved the following files: -stats.txt: allometric statistics collated by measurement -stats.csv: allometric statistics used for table B. To generate the allometric data from scratch: 1. unzip image_stacks.zip, creating a folder of the same name 2. run the following: ~! python3 analysis.py Running this script produces the following: -allometry_data.csv: readable measurements dataframe -allometry_data.pkl: pickled measurements dataframe 3. 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
开放时间:
2024-01-31
创建时间:
2024-01-31