AMEP: The active matter evaluation package for Python

IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2025-04-01 Epub Date: 2025-01-03 DOI:10.1016/j.cpc.2024.109483
Lukas Hecht, Kay-Robert Dormann, Kai Luca Spanheimer, Mahdieh Ebrahimi, Malte Cordts, Suvendu Mandal, Aritra K. Mukhopadhyay, Benno Liebchen
{"title":"AMEP: The active matter evaluation package for Python","authors":"Lukas Hecht,&nbsp;Kay-Robert Dormann,&nbsp;Kai Luca Spanheimer,&nbsp;Mahdieh Ebrahimi,&nbsp;Malte Cordts,&nbsp;Suvendu Mandal,&nbsp;Aritra K. Mukhopadhyay,&nbsp;Benno Liebchen","doi":"10.1016/j.cpc.2024.109483","DOIUrl":null,"url":null,"abstract":"<div><div>The Active Matter Evaluation Package (<span>AMEP</span>) is a Python library for analyzing simulation data of particle-based and continuum simulations. It provides a powerful and simple interface for handling large data sets and for calculating and visualizing a broad variety of observables that are relevant to active matter systems. Examples range from the mean-square displacement and the structure factor to cluster-size distributions, binder cumulants, and growth exponents. <span>AMEP</span> is written in pure Python and is based on powerful libraries such as NumPy, SciPy, Matplotlib, and scikit-image. Computationally expensive methods are parallelized and optimized to run efficiently on workstations, laptops, and high-performance computing architectures, and an HDF5-based data format is used in the backend to store and handle simulation data as well as analysis results. <span>AMEP</span> provides the first comprehensive framework for analyzing simulation results of both particle-based and continuum simulations (as well as experimental data) of active matter systems. In particular, <span>AMEP</span> also allows it to analyze simulations that combine particle-based and continuum techniques such as used to study the motion of bacteria in chemical fields or for modeling particle motion in a flow field for example.</div></div><div><h3>Program summary</h3><div><em>Program Title:</em> Active Matter Evaluation Package (<span>AMEP</span>)</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/zc7pn23g5r.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/amepproject/amep</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv3</div><div><em>Programming language:</em> Python</div><div><em>Supplementary material:</em> The supplementary material includes Movies S1–S3.</div><div><em>Nature of problem:</em> To date, no comprehensive package for analyzing data from simulations of active matter systems is available. Thus, most research groups in the fields of soft and active matter physics use in-house code to analyze their simulations, which means that often a significant part of the time that is available to students and advanced researchers for performing research projects is spent with the development of data-analysis and visualization software, at the expense of their research time budget. In practice, students (and advanced researchers) might sometimes even be forced to limit their data analysis to a few observables. The availability of a unified framework to rapidly determine a broad variety of key observables that are frequently used to analyze the structure and dynamics of active matter systems from raw particle-based or continuum-based simulation data would therefore be highly beneficial for the research field.</div><div><em>Solution method:</em> <span>AMEP</span> provides the first unified framework for analyzing both particle-based and continuum simulation data. It performs a huge variety of analysis for both data types and uses a unified HDF5-based data format for efficient data handling. Since <span>AMEP</span> is written purely in Python and uses powerful libraries such as NumPy, SciPy, Matplotlib, and scikit-image commonly used in computational physics, understanding, modifying, and building up on the provided framework is comparatively easy. Compared to other analysis libraries, the huge variety of analysis methods combined with the possibility to handle common data types used in soft-matter physics and in the active matter community in particular, enables the analysis of a much broader class of simulation data. This includes not only classical molecular-dynamics or Brownian-dynamics simulations but also any kind of numerical solutions of partial differential equations.</div><div><em>Additional comments including restrictions and unusual features:</em> This paper serves as the definitive reference for <span>AMEP</span>. The source code and the documentation are available online at <span><span>https://github.com/amepproject/amep</span><svg><path></path></svg></span> and <span><span>https://amepproject.de</span><svg><path></path></svg></span>, respectively. <span>AMEP</span> may be installed via <span>pip install amep</span> or via <span>conda install conda-forge::amep</span>.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"309 ","pages":"Article 109483"},"PeriodicalIF":3.4000,"publicationDate":"2025-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524004065","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/3 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

The Active Matter Evaluation Package (AMEP) is a Python library for analyzing simulation data of particle-based and continuum simulations. It provides a powerful and simple interface for handling large data sets and for calculating and visualizing a broad variety of observables that are relevant to active matter systems. Examples range from the mean-square displacement and the structure factor to cluster-size distributions, binder cumulants, and growth exponents. AMEP is written in pure Python and is based on powerful libraries such as NumPy, SciPy, Matplotlib, and scikit-image. Computationally expensive methods are parallelized and optimized to run efficiently on workstations, laptops, and high-performance computing architectures, and an HDF5-based data format is used in the backend to store and handle simulation data as well as analysis results. AMEP provides the first comprehensive framework for analyzing simulation results of both particle-based and continuum simulations (as well as experimental data) of active matter systems. In particular, AMEP also allows it to analyze simulations that combine particle-based and continuum techniques such as used to study the motion of bacteria in chemical fields or for modeling particle motion in a flow field for example.

Program summary

Program Title: Active Matter Evaluation Package (AMEP)
CPC Library link to program files: https://doi.org/10.17632/zc7pn23g5r.1
Developer's repository link: https://github.com/amepproject/amep
Licensing provisions: GPLv3
Programming language: Python
Supplementary material: The supplementary material includes Movies S1–S3.
Nature of problem: To date, no comprehensive package for analyzing data from simulations of active matter systems is available. Thus, most research groups in the fields of soft and active matter physics use in-house code to analyze their simulations, which means that often a significant part of the time that is available to students and advanced researchers for performing research projects is spent with the development of data-analysis and visualization software, at the expense of their research time budget. In practice, students (and advanced researchers) might sometimes even be forced to limit their data analysis to a few observables. The availability of a unified framework to rapidly determine a broad variety of key observables that are frequently used to analyze the structure and dynamics of active matter systems from raw particle-based or continuum-based simulation data would therefore be highly beneficial for the research field.
Solution method: AMEP provides the first unified framework for analyzing both particle-based and continuum simulation data. It performs a huge variety of analysis for both data types and uses a unified HDF5-based data format for efficient data handling. Since AMEP is written purely in Python and uses powerful libraries such as NumPy, SciPy, Matplotlib, and scikit-image commonly used in computational physics, understanding, modifying, and building up on the provided framework is comparatively easy. Compared to other analysis libraries, the huge variety of analysis methods combined with the possibility to handle common data types used in soft-matter physics and in the active matter community in particular, enables the analysis of a much broader class of simulation data. This includes not only classical molecular-dynamics or Brownian-dynamics simulations but also any kind of numerical solutions of partial differential equations.
Additional comments including restrictions and unusual features: This paper serves as the definitive reference for AMEP. The source code and the documentation are available online at https://github.com/amepproject/amep and https://amepproject.de, respectively. AMEP may be installed via pip install amep or via conda install conda-forge::amep.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
AMEP: Python的活动物评估包
活性物质评估包(AMEP)是一个Python库,用于分析基于粒子和连续体模拟的模拟数据。它为处理大型数据集以及计算和可视化与活性物质系统相关的各种可观测数据提供了强大而简单的界面。例子范围从均方位移和结构因子到簇大小分布、粘合剂累积量和生长指数。AMEP是用纯Python编写的,并基于强大的库,如NumPy、SciPy、Matplotlib和scikit-image。计算上昂贵的方法被并行化和优化,以便在工作站、笔记本电脑和高性能计算架构上高效运行,并且在后端使用基于hdf5的数据格式来存储和处理模拟数据以及分析结果。AMEP提供了第一个全面的框架来分析基于粒子和连续体模拟(以及实验数据)的活性物质系统的模拟结果。特别是,AMEP还允许它分析结合颗粒和连续体技术的模拟,例如用于研究化学领域中细菌的运动或模拟流场中的颗粒运动。节目摘要节目标题:活性物质评估包(AMEP)CPC库链接到程序文件:https://doi.org/10.17632/zc7pn23g5r.1Developer's存储库链接:https://github.com/amepproject/amepLicensing条款:gplv3编程语言:python补充材料:补充材料包括电影S1-S3。问题的性质:到目前为止,还没有一个全面的软件包来分析来自活性物质系统模拟的数据。因此,软物质和活性物质物理领域的大多数研究小组使用内部代码来分析他们的模拟,这意味着学生和高级研究人员执行研究项目的大部分时间通常用于开发数据分析和可视化软件,以牺牲他们的研究时间预算为代价。在实践中,学生(和高级研究人员)有时甚至可能被迫将他们的数据分析限制在几个可观察到的数据上。因此,一个统一的框架的可用性,可以快速确定各种各样的关键观测值,这些观测值经常用于分析基于原始粒子或基于连续体的模拟数据的活性物质系统的结构和动力学,这将对研究领域非常有益。解决方法:AMEP为分析基于粒子和连续体的模拟数据提供了第一个统一的框架。它对两种数据类型执行各种各样的分析,并使用统一的基于hdf5的数据格式进行有效的数据处理。由于AMEP完全是用Python编写的,并且使用了计算物理中常用的强大库,如NumPy、SciPy、Matplotlib和scikit-image,因此理解、修改和构建所提供的框架相对容易。与其他分析库相比,各种各样的分析方法结合处理软物质物理和活性物质社区中使用的常见数据类型的可能性,使分析更广泛的模拟数据类别成为可能。这不仅包括经典的分子动力学或布朗动力学模拟,还包括偏微分方程的任何类型的数值解。附加评论,包括限制和不寻常的功能:本文可作为AMEP的权威参考。源代码和文档分别可在https://github.com/amepproject/amep和https://amepproject.de上在线获得。AMEP可以通过pip install AMEP或通过conda install conda-forge:: AMEP安装。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
Zandpack: A general tool for time-dependent transportsimulation of nanoelectronics A numerical approach to calculate cross sections for relativistic electrons and terrestrial gamma-ray flashes An effective implementation of the bidirectional buffer: Towards laminar and turbulent open-boundary flows AutoParaTrans: An integrated workflow for CUDA acceleration and automated parallel algorithm transformation in electrical and thermal transport cfdmfFTFoam: a front-tracking solver for multiphase flows on general unstructured grids in OpenFOAM
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1