All Projects → scikit-hep → Root_numpy

scikit-hep / Root_numpy

Licence: bsd-3-clause
The interface between ROOT and NumPy

Programming Languages

python
139335 projects - #7 most used programming language
cython
566 projects

Projects that are alternatives of or similar to Root numpy

Uproot4
ROOT I/O in pure Python and NumPy.
Stars: ✭ 80 (-38.46%)
Mutual labels:  numpy, hep, root
Rootpy
A pythonic interface for the ROOT libraries on top of the PyROOT bindings.
Stars: ✭ 186 (+43.08%)
Mutual labels:  numpy, hep, root
Uproot3
ROOT I/O in pure Python and NumPy.
Stars: ✭ 312 (+140%)
Mutual labels:  numpy, hep, root
Awkward 0.x
Manipulate arrays of complex data structures as easily as Numpy.
Stars: ✭ 216 (+66.15%)
Mutual labels:  numpy, root
numpythia
The interface between PYTHIA and NumPy
Stars: ✭ 33 (-74.62%)
Mutual labels:  numpy, hep
Pyhf
pure-Python HistFactory implementation with tensors and autodiff
Stars: ✭ 171 (+31.54%)
Mutual labels:  numpy, hep
pyjet
The interface between FastJet and NumPy
Stars: ✭ 31 (-76.15%)
Mutual labels:  numpy, hep
Beautycamera
美颜相机,具有人脸检测、磨皮美白人脸、滤镜、调节图片、摄像功能
Stars: ✭ 117 (-10%)
Mutual labels:  numpy
Prusacontrol
PrusaControl is an alternative user interface for Slic3r Prusa Edition
Stars: ✭ 123 (-5.38%)
Mutual labels:  numpy
Dingding
免root远程钉钉打卡,支持wifi和gps定位,仅支持android系统。本项目出于学习目的,仅用于学习玩耍,请于24小时后自行删除。xposed, crack,package,dingtalk,remote control
Stars: ✭ 116 (-10.77%)
Mutual labels:  root
Mtensor
A C++ Cuda Tensor Lazy Computing Library
Stars: ✭ 115 (-11.54%)
Mutual labels:  numpy
Numpy exercises
Numpy exercises.
Stars: ✭ 1,545 (+1088.46%)
Mutual labels:  numpy
From Python To Numpy
An open-access book on numpy vectorization techniques, Nicolas P. Rougier, 2017
Stars: ✭ 1,728 (+1229.23%)
Mutual labels:  numpy
Captagent
100% Open-Source Packet Capture Agent for HEP
Stars: ✭ 116 (-10.77%)
Mutual labels:  hep
Color Tracker
Color tracking with OpenCV
Stars: ✭ 128 (-1.54%)
Mutual labels:  numpy
Tfg Voice Conversion
Deep Learning-based Voice Conversion system
Stars: ✭ 115 (-11.54%)
Mutual labels:  numpy
Tiny ml
numpy 实现的 周志华《机器学习》书中的算法及其他一些传统机器学习算法
Stars: ✭ 129 (-0.77%)
Mutual labels:  numpy
Data Science For Marketing Analytics
Achieve your marketing goals with the data analytics power of Python
Stars: ✭ 127 (-2.31%)
Mutual labels:  numpy
Learn Machine Learning In Two Months
Những kiến thức cần thiết để học tốt Machine Learning trong vòng 2 tháng. Essential Knowledge for learning Machine Learning in two months.
Stars: ✭ 1,726 (+1227.69%)
Mutual labels:  numpy
Tiny Renderer
A tiny sotfware 3D renderer in 100 lines of Python
Stars: ✭ 120 (-7.69%)
Mutual labels:  numpy

.. -- mode: rst --


⚠️root_numpy is deprecated and unmaintained⚠️


root_numpy has not been actively maintained in several years. This is mostly due to the emergence of new alternatives which are both faster and more flexible.

  • uproot provides support for reading and writing ROOT files without the need for an installation of ROOT. See here for details. <https://github.com/scikit-hep/uproot4>_
  • ROOT now natively supports converting objects into numpy arrays using either directly using TTree <https://root.cern/doc/master/pyroot002__TTreeAsMatrix_8py.html>_ or with the newer RDataFrame <https://root.cern.ch/doc/master/df026__AsNumpyArrays_8py.html>_

root_numpy: The interface between ROOT and NumPy

.. image:: https://img.shields.io/pypi/v/root_numpy.svg :target: https://pypi.python.org/pypi/root_numpy .. image:: https://api.travis-ci.org/scikit-hep/root_numpy.png :target: https://travis-ci.org/scikit-hep/root_numpy .. image:: https://coveralls.io/repos/github/scikit-hep/root_numpy/badge.svg?branch=master :target: https://coveralls.io/github/scikit-hep/root_numpy?branch=master .. image:: https://landscape.io/github/scikit-hep/root_numpy/master/landscape.svg?style=flat :target: https://landscape.io/github/scikit-hep/root_numpy/master .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.592881.svg :target: https://doi.org/10.5281/zenodo.592881

[see the full documentation] <http://scikit-hep.org/root_numpy>_

root_numpy is a Python extension module that provides an efficient interface between ROOT <http://root.cern.ch/>_ and NumPy <http://www.numpy.org/>_. root_numpy's internals are compiled C++ and can therefore handle large amounts of data much faster than equivalent pure Python implementations.

With your ROOT data in NumPy form, make use of NumPy's broad library <http://docs.scipy.org/doc/numpy/reference/>, including fancy indexing, slicing, broadcasting, random sampling, sorting, shape transformations, linear algebra operations, and more. See this tutorial <https://docs.scipy.org/doc/numpy/user/quickstart.html> to get started. NumPy is the fundamental library of the scientific Python ecosystem. Using NumPy arrays opens up many new possibilities beyond what ROOT offers. Convert your TTrees into NumPy arrays and use SciPy <http://www.scipy.org/>_ for numerical integration and optimization, matplotlib <http://matplotlib.org/>_ for plotting, pandas <http://pandas.pydata.org/>_ for data analysis, statsmodels <http://statsmodels.sourceforge.net/>_ for statistical modelling, scikit-learn <http://scikit-learn.org/>_ for machine learning, and perform quick exploratory analysis in a Jupyter notebook <https://jupyter.org/>_.

At the core of root_numpy are powerful and flexible functions for converting ROOT TTrees <https://root.cern.ch/doc/master/classTTree.html>_ into structured NumPy arrays <http://docs.scipy.org/doc/numpy/user/basics.rec.html>_ as well as converting NumPy arrays back into ROOT TTrees. root_numpy can convert branches of strings and basic types such as bool, int, float, double, etc. as well as variable-length and fixed-length multidimensional arrays and 1D or 2D vectors of basic types and strings. root_numpy can also create columns in the output array that are expressions involving the TTree branches similar to TTree::Draw().

Did we mention that root_numpy is fast?

.. image:: benchmarks/bench_tree2array.png

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].