高能物理绘图界面
Heppi的Python项目详细描述
=====
heppi(hep绘图界面)
=========
===
图片::https://img.shields.io/pypi/v/heppi.svg
:目标:https://pypi.python.org/pypi/heppi
…图片::https://img.shields.io/travis/yhaddad/heppi.svg
:目标:https://travis ci.org/yhaddad/heppi
…图片::https://readthedocs.org/projects/heppi/badge/?version=latest
:目标:https://readthedocs.org/projects/heppi/?badge=latest
:alt:documentation status
>高能物理绘图接口
*免费软件:isc license
*documentation:https://heppi.readthedocs.org.
说明
----
``heppi``是用pyrot编写的绘图接口,使用json文件作为配置文件。
Sythax是高度灵活的,允许您定义不同的进程、变量、剪切项BR/>和选择类别。
BR/><安装> BR/> ------BR/> *重新安装“Heppi”的过程是“PyPI”
。代码块:
pip install heppi
*对于cern用户,您可能需要在上一个命令中添加`--user``选项,在.local目录中安装该包。
。代码块:
pip install heppi--user
*依赖项将正常自动安装。
*由于“heppi”基于pyroot,因此必须通过git设置根env
代码块:
>;git clone git@github.com:yhaddad/heppi.git
>;cd heppi
>;pip安装依赖项--用户
>;使安装用户
->如何运行
--
生成绘图卡
~~~~~~~~~~~~~~~~~~~~~~~~~
*`heppi`允许使用make plotcard脚本创建自己的绘图卡。您可以运行
…代码块:
makeplotcard
produce a stacked plots
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*要运行“heepi”绘图仪,必须运行脚本“plot`”
*可以通过键入“plot--help``
*必须使用“rootmerge.py”脚本组合树如下:
…代码块:
./plot-s/dir/to/merged/trees--load plotcard.json--all
*如果要在绘图卡中打印一个变量,可以将选项`--all``替换为`--variable``或只将`-v``替换为变量名。
示例:
。代码块:
./plot-s/dir/to/merged/trees-load plotcard.json-v var1
write a valid plotcard?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*使用processe.json文件生成绘图卡并输入根文件。
*必须指定树名
。代码块::bash
./makeplotcard.py—加载/path/to/root/file.root\
--输出plotcard.json\
--树vbfmvadumper/*vbfdijet
*将自动用在“vbfmvadumper”目录中的树的剩余名称替换“`*”。_`` flashgg``:https://github.com/cms-analysis/flashgg-type dumper trees only,一个更标准的版本即将推出
credits
----
这个包是用cookiecutter和“audreyr/cookiecutter pypackage”项目模板创建的。
_ Cookiecutter:https://github.com/audreyr/Cookiecutter
。_` audreyr/cookiecutter pypackage`:https://github.com/audreyr/cookiecutter pypackage
==
=
历史
==
>0.1.0(2015-12-13)
----
*pypi第一次发布。
heppi(hep绘图界面)
=========
===
图片::https://img.shields.io/pypi/v/heppi.svg
:目标:https://pypi.python.org/pypi/heppi
…图片::https://img.shields.io/travis/yhaddad/heppi.svg
:目标:https://travis ci.org/yhaddad/heppi
…图片::https://readthedocs.org/projects/heppi/badge/?version=latest
:目标:https://readthedocs.org/projects/heppi/?badge=latest
:alt:documentation status
>高能物理绘图接口
*免费软件:isc license
*documentation:https://heppi.readthedocs.org.
说明
----
``heppi``是用pyrot编写的绘图接口,使用json文件作为配置文件。
Sythax是高度灵活的,允许您定义不同的进程、变量、剪切项BR/>和选择类别。
BR/><安装> BR/> ------BR/> *重新安装“Heppi”的过程是“PyPI”
。代码块:
pip install heppi
*对于cern用户,您可能需要在上一个命令中添加`--user``选项,在.local目录中安装该包。
。代码块:
pip install heppi--user
*依赖项将正常自动安装。
*由于“heppi”基于pyroot,因此必须通过git设置根env
代码块:
>;git clone git@github.com:yhaddad/heppi.git
>;cd heppi
>;pip安装依赖项--用户
>;使安装用户
->如何运行
--
生成绘图卡
~~~~~~~~~~~~~~~~~~~~~~~~~
*`heppi`允许使用make plotcard脚本创建自己的绘图卡。您可以运行
…代码块:
makeplotcard
produce a stacked plots
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*要运行“heepi”绘图仪,必须运行脚本“plot`”
*可以通过键入“plot--help``
*必须使用“rootmerge.py”脚本组合树如下:
…代码块:
./plot-s/dir/to/merged/trees--load plotcard.json--all
*如果要在绘图卡中打印一个变量,可以将选项`--all``替换为`--variable``或只将`-v``替换为变量名。
示例:
。代码块:
./plot-s/dir/to/merged/trees-load plotcard.json-v var1
write a valid plotcard?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*使用processe.json文件生成绘图卡并输入根文件。
*必须指定树名
。代码块::bash
./makeplotcard.py—加载/path/to/root/file.root\
--输出plotcard.json\
--树vbfmvadumper/*vbfdijet
*将自动用在“vbfmvadumper”目录中的树的剩余名称替换“`*”。_`` flashgg``:https://github.com/cms-analysis/flashgg-type dumper trees only,一个更标准的版本即将推出
credits
----
这个包是用cookiecutter和“audreyr/cookiecutter pypackage”项目模板创建的。
_ Cookiecutter:https://github.com/audreyr/Cookiecutter
。_` audreyr/cookiecutter pypackage`:https://github.com/audreyr/cookiecutter pypackage
==
=
历史
==
>0.1.0(2015-12-13)
----
*pypi第一次发布。