一个用于细胞非线性网络和其他差分时域系统快速建模和仿真的Python框架
A Python Framework for Fast Modelling and Simulation of Cellular Nonlinear Networks and other Finite-difference Time-domain Systems
摘要:
本文介绍和评估了一个免费提供的蜂窝非线性网络模拟器优化的GPU的有效使用,实现快速建模和模拟。它的相关性被证明在非线性复杂的动态系统中的几个应用程序,如缓慢增长的现象,以及各种图像处理应用程序,如边缘检测。该模拟器被设计为一个用Python编写的笔记本电脑,经过功能测试和优化,可以在免费的云平台Google Collaboratory上运行。虽然模拟器,在其实际的形式,是为了模拟FitzHugh Nagumo反应扩散细胞非线性网络,它可以很容易地适应任何其他类型的有限差分时间领域模型。考虑了四个实现版本,即分别使用PyCUDA、NUMBA和CUPY库(所有三个都支持GPU计算),以及在GPU不可用时使用的基于NUMPY的实现。分析了四种实现方式的特性和性能,得出的结论是PyCUDA实现方式确保了非常好的性能,能够每秒运行高达14000 Mega单元(每个单元指的是构成蜂窝非线性网络的基本非线性动态系统)。
英文摘要:
This paper introduces and evaluates a freely available cellular nonlinear network simulator optimized for the effective use of GPUs, to achieve fast modelling and simulations. Its relevance is demonstrated for several applications in nonlinear complex dynamical systems, such as slow-growth phenomena as well as for various image processing applications such as edge detection. The simulator is designed as a Jupyter notebook written in Python and functionally tested and optimized to run on the freely available cloud platform Google Collaboratory. Although the simulator, in its actual form, is designed to model the FitzHugh Nagumo Reaction-Diffusion cellular nonlinear network, it can be easily adapted for any other type of finite-difference time-domain model. Four implementation versions are considered, namely using the PyCUDA, NUMBA respectively CUPY libraries (all three supporting GPU computations) as well as a NUMPY-based implementation to be used when GPU is not available. The specificities and performances for each of the four implementations are analyzed concluding that the PyCUDA implementation ensures a very good performance being capable to run up to 14000 Mega cells per seconds (each cell referring to the basic nonlinear dynamic system composing the cellular nonlinear network).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。