five

Data and scripts underlying the publication: Quantifying the Spatial Scales of Animal Clusters Using Density Surfaces

收藏
DataCite Commons2025-05-28 更新2025-06-14 收录
下载链接:
https://data.4tu.nl/datasets/61be5dd9-7880-48dc-bacf-36afbc3033ee/1
下载链接
链接失效反馈
官方服务:
资源简介:
<strong>Supplementary scripts to the publication "Quantifying the spatial scales of animal clustering using Density Surfaces"</strong><br>We implement a method to quantify the degree of clustering of point location data at different spatial scales, which uses Kernel Density Estimation to construct a density function from the underlying point-location data. We build upon this method to automatically detect cluster diameters using smoothing kernels that better represent the perception neighbourhood of animals.More details can be found in the manuscript.<br>These scripts construct the artificial data sets and results in the figures in the main text of the manuscript. <br><strong>data_generator.py</strong>This file contains the functions to construct the artificial data sets, as well as visualization tools to plot the point sets.Running the main() function:1. constructs all artificial data sets2. creates visualizations of all generated and real-life datasets, saves them as .pdf files, and shows them on-screen<br><strong>metric_calculator.py</strong>This file contains the functions to calculate the metric described in the manuscript, as well as to compute Ripley's K function and the Radial Distribution Function.Running the main() function:1. generates the metric functions for all artificial and real-life data sets2. creates visualizations of all generated metric functions, saves them as .pdf files, and shows them on-screen3. prints the found relevant spatial scales, and their metric values, in the terminal<br><strong>elephant.pickle</strong>This file contains the real-world dataset of elephant locations to be used in metric_calculator.pyThe original data was collected in March 2014 in the Tsavo National Parks, Kenya. We use a subset of the original data set, consisting of location data of 24 elephants obtained from an aerial image that were manually taken by human observers upon spotting the animals. The aerial image was manually processed into spatial data by placing a point on the approximate centre point of each animal in the image, and projected onto a 100x100 xy-plane.The data is serialized and de-serialized using the native Python package "pickle". The data format used by pickle is Python-specific.<br>To perform the experiments:1. Ensure you have a functioning Python3 installation.2. Install the required packages using pip: - numpy - matplotlib - scipy - scikit-learn3. Run the main() function in data_generator.py to generate the artificial datasets4. Run the main() function in metric_calculator.py to generate the metric functions and figures<br>
提供机构:
4TU.ResearchData
创建时间:
2025-05-28
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作