提供使用通用python包的统计和绘图工具,主要针对高能物理。

hep-spt的Python项目详细描述


https://img.shields.io/travis/mramospe/hep_spt.svghttps://img.shields.io/badge/documentation-link-blue.svg

high energy physics statistics and plotting tools包提供了使用通用python包在high energy physics中工作的工具。

要点

  • Functions needed on day-to-day work, like calculating errors, residuals, etc.
  • Classes to create adaptive binned histograms, and some functions to represent them using matplotlib.
  • Statistical functions to work with Bayesian/Frequentist approaches.
  • Utilities to handle poissonian and/or weighted histograms.
  • Simple classes to work with the CLs method.
  • A set of matplotlib styles.

注意事项:

  • Inputs passed to the functions and classes are usually preferred as numpy.ndarray objects.
  • Plotting functions and classes are designed to work with matplotlib.
  • Statistical tools are built on top of the standard scipy package.

安装:

这个包在PyPi上提供,所以只需键入

pip install hep-spt

在当前的python环境中安装包。 因为这个包使用了numpy c api,所以必须已经安装了numpy。 如果尝试在不安装numpy的情况下安装“hep_spt”,则会引发错误。 要使用最新的开发版本,请克隆存储库并使用pip安装:

git clone https://github.com/mramospe/hep_spt.git
pip install hep_spt

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

推荐PyPI第三方库


热门话题
java GridBagLayout不填充区域   java Memozied Fibonacci未运行与常规Fibonacci解决方案   Java Web启动未启动问题   Java中异常和if-then的区别   java从命令提示符运行批处理文件获取错误   socket在Java中验证SSL证书的公共名称   如何在JAVA中检查字符串数组中的相等字   用java语言将音频文件转换成文本文件的语音识别   java为什么foo(1,2,3)没有传递给varargs方法foo(对象…)作为整数[]   java通过蓝牙将奇怪的数据从Arduino传输到Android   java ContainerRequestFilter获取空entitystream   java如何从安卓 studio中删除不兼容类型错误   基本Java错误   在Spring引导中使用REST API时发生java错误   javascript通过从SQL查询派生的URL打开页面