用于磁场建模的开源Python软件

bfieldtools的Python项目详细描述



bfieldtools


TravisCodecovZenodopypi

bfieldtools是一个磁场建模软件包,重点是由连续表面电流密度产生的磁场。表面电流密度用三角形网格上的分段线性流函数描述。在

软件当前的功能
  • 三角网格上的离散微积分,包括拉普拉斯、梯度、散度和旋度
  • 电感和电阻的网格算子(矩阵)
  • 磁场以及表面电流密度的标量和矢量势
  • 磁场以及折线电流的标量和矢量位
  • 磁场的球谐(多极)表示
  • 流函数级数展开的表面谐波(Laplace-Beltrami本征函数)
  • 基于凸优化的线圈设计
  • 薄导体的磁热噪声

依赖关系

需要Python3.6或更新版本。在

文件

在线文档,包括API引用和示例可以在https://bfieldtools.github.io/找到。在

安装bfieldtools

要使用pip安装bfieldtools,只需运行:

pip install bfieldtools

有关高级安装说明,请参阅联机installation instructions。在

引用bfieldtools

在出版物中使用软件包时,请引用以下文章:

^{pr2}$

当使用热噪声计算时,请引用arXiv中的preprint。在

贡献

bfieldtools正在积极开发中,欢迎各界人士踊跃捐款!对于新功能,请编写代码附带的测试!bfieldtools使用Black执行代码样式,请在任何新代码上运行黑色。在

一般来说,MNE Python项目提供了an overview of good practices(如果适用的话)也应该在bfieldtools中遵循。在

许可证

bfieldtools是BSD许可的(3子句):

Copyright (c) 2019, authors of bfieldtools. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the names of bfieldtools authors nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.

This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
显示图像的RGB编号的java   java JavaFX画布2D游戏:背景变换vs.绘画   在到达maxElementsInMemory之前创建的java DiskMarker   a4j:ajax可用事件的java详尽列表?   java从批处理文件运行jar文件,如果出现错误,则显示meessage   音频Java在背景音乐之上播放声音   用于在FTP中上载文件的java更改目录   尽管设置了必要的属性,java列表项仍不会保持选中状态   java Stanford Core NLP解析与CSV   java使用缓冲区合并热态和冷态   java无法初始化类javax。加密。JCE安全   对这个Java循环如此困惑的输入   java Spring RabbitMQ SimpleRabbitListenerContainerFactory用法   java如何使用jGrowl创建JSF消息   安装jRebel插件后,Netbeans项目中的java源文件夹不可见?   如何在Java中解析复杂的json字符串   java Spark KafkaUtils CreateRDD在键上应用过滤器   try块中的java代码被忽略,为什么?