Rootinteractive

Latest version: v0.1.10

Safety actively analyzes 621173 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.00.21

PyTorch histogramming
* considered to be ported directly to PyTorch
* Syntax as in the nupmy histogramdd
* except of the normed option
* support for GPU
* summary perfromance comparion:
* https://docs.google.com/presentation/d/1vYPTTsn5Zs7X9OWaewUTlnw9hqJ3XKJNGKiAViHv-cY
* Example/test usage:
* Benchmark:




Interactive error bars
* working for pandas
* for ROOT trees additional parsing to be done
* see example RootInteractive/InteractiveDrawing/bokeh/test_bokehDrawSA.py
* Example syntax:

figureArray = [
['A'], ['C-A'], {"color": "red", "size": 7, "colorZvar":"C", "filter": "A<0.5"}],
[['A'], ['C-A'], {"color": "red", "size": 7, "colorZvar": "C", "errY": "errY", "errX":"0.01" }],
[['A'], ['C+A', 'C-A']],
[['B'], ['C+B', 'C-B'], {"color": "red", "size": 7, "colorZvar": "C", "errY": "errY" }],
[['D'], ['(A+B+C)*D'], {"size": 10, "errY": "errY"} ],
[['D'], ['D*10'], {"size": 10, "errY": "errY"}],
]


v0-00-18
Solving issues
* Optimization of makePdfMaps implementation 41
* Some pytest interactive drawing are not properly responding 38
* Problem with bokeh transition 1.34 --> 2.0 36
* using older version of bokeh
* failure in makePdfMaps in case of empty slices 37




v0-00-16

0.00.16

Modifications:
* makePDFMaps.py - adding
* trying to make RootInteractive independent of AliRoot
* test reqiring AliRoot are skipped


v0-00-15
Layout support as an array
* image array
* widget array

widgetParams=[
['range', ['A']],
['range', ['B',0,1,0.1,0,1]],
['range', ['C'], {'type':'minmax'}],
['range', ['D'], {'type':'sigma', 'bins':10, 'sigma':3}],
['range', ['E'], {'type':'sigmaMed', 'bins':10, 'sigma':3}],
['slider', ['AA'],{'bins':10}],
['multiSelect',["DD"]],
['select',["CC",0,1,2,3]],
['slider','F', ['min()','max()','med','min()','median()+3*tlm()']], to be implmneted
]
widgetLayoutDesc=[ [0,1,2], [3,4,5], [6,7], {'sizing_mode':'scale_width'} ]

figureLayoutDesc=[
[0,1,2, {'commonX':1,'y_visible':2,'plot_height':300}],
[3,{'plot_height':100}],
{'plot_height':100,'sizing_mode':'scale_width'}
]

Fixing metadata warnings

TTree searching
* PWGPP-485 - findSelectedBranches works for anytree and TTree


Widget support
* layout can be specified as an list of list
* adding automatic adjustment of the ranges of widgets
* min-max
* n sigma
* unique
Table support
* Options to filter columns
* include
* exclude

NDregression
* adding demo notebooks for n dimensional regression



v-00-11
Main modifications:
* bokeh standalone application
* See interface description in tests:
./InteractiveDrawing/bokeh/test_bokehDrawSA.py
./InteractiveDrawing/bokeh/test_bokehDrawArray.py
* histogramming package only slicing supported - not yet interactive
* see test - pytest ./Tools/test_histogramND.py

v0-00-09
Major change: PWGPP-543, PWGPP-541: bokeh standalone server+ array visualization interface

bokehTools.py::bokehDrawArray
* new syntax PWGPP-543, PWGPP-541-adding marker array and colz option to bokehDrawArray
* see test code RootInteractive/InteractiveDrawing/bokeh/test_bokehDrawArray.py

figureArray = [
[['A'], ['C-A'], {"color": "red", "size": 7, "colorZvar":"C"}],
[['A'], ['C+A', 'C-A']],
[['B'], ['C+B', 'C-B'],{"color": "red", "size": 7, "colorZvar":"C"}],
[['D'], ['sin(D/10)', 'sin(D/20)*0.5', 'sin(D/40)*0.25'], {"size": 10}],
['table']
]
def test_DrawfromArray():
figureLayout: str = '((0,1,2),(3),(4, x_visible=1),commonX=1,x_visible=1,y_visible=0,plot_height=250,plot_width=1000)'
tooltips = [("VarA", "(A)"), ("VarB", "(B)"), ("VarC", "(C)"), ("VarD", "(D)")]
fig=bokehDraw.fromArray(df, "A>0", figureArray,"slider.A(0,100,0,0,100)",tooltips=tooltips, layout=figureLayout)



bokehDraw.py, bokehTools
* handle created in constructor of bokehDraw (before in bokehTools.drawColzArray)

bokehDrawSA_2.py
* Bug fix - removing double drawing
* make constructor using array interface
* support for colz and "normal 1D drawing

test_bokehDrawSA.py
* test of the bokehDrawSA
* old interface
* array interface
* test_Layout.py, testBokehClient0.py
* removing call of test - to disable multiple call to test in pytest

updated documentation scripts using sphinx



v0-00-08
PWGPP-532, PWGPP-540, PWGPP-524 - New release 0.0.08 with logging
* Using logging instead of the print
* adding nbval dependency to enable automatic tests of JUPYTER notebooks
* in bokehDraw - using default options using dictionary instead of coding
* inspired by https://stackoverflow.com/questions/1098549/proper-way-to-use-kwargs-in-python

def testFunc( **kwargs ):
options = {
'option1' : 'default_value1',
'option2' : 'default_value2',
'option3' : 'default_value3', }
options.update(kwargs)


v0-00-05
Pre-release enabling pip installation of RootInteractive
Modifications
Python 2 -> Python3
* dependent packages in aliBuild require Python3
* make code pip instalable
* adding appropriate setup.py with dependencies
* adding requirenmnets.txt

v0-00-03
Pre-release enabling pip installation of RootInteractive
Modifications
* Python 2 -> Python3
* dependnt pacjakages in aliBuild requre Python3
* make code pip instalable
* adding appropriate setup.py
* adding requirenmnets.txt

v0-00-02
Modifications:

PWGPP-485
* automatic parsing of the expression for the tree visualization
* before user had to specify variable to be exported from tree to the bokeh/panda table

PWGPP-518 - Bokeh layout specification and time axis
* implemented customized bokeh layout

PWGPP-119: RootInteractive/Bokeh: Status tree visualization
* decomposing the alias tree to subtree
* possibility to visualize TPC QA alarms as a decision tree



v0-00-01
RootInteractive
Root/Python/AliRoot wrappers for the interactive drawing and ML for multidimensional data
This is pre-release
Current visualization based mostly on the Bokeh and Jupyter lab

RootInteractive - directory structure
* Tools(TTree<=>panda, numpy)
* InteractiveDrawing
* bokeh
* MLpipeline
* Wrappers
* Autoencoders
* tutorial
* test - option

RootInteractiveTest
* Parallel github with real ALICE examples of usage of the RootInteractive
* RootIntereactiveTest to be released in parallel with the RootInteractive
Data server
Input data for the tests and RootInteractive test

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.