Git Product home page Git Product logo

groot's People

Contributors

andruquiroga avatar ansari-abdul avatar baltzell avatar drewkenjo avatar dreykiman avatar forcar avatar gavalian avatar wphelps avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

groot's Issues

Move to JeffersonLab github?

If this is supposed to be the "official" repository for the groot, used by the clas12-offline-software, it should be moved over to the jeffersonlab github so it can be worked on by everyone.

TGCanvas SaveAll

The TGCanvas has a button labeled "Save All" to save all the canvas tabs in the window, but it doesn't seem to actually save any of the canvases when you click on it.

change freehep URL to https://...

The freehep repository URL should be changed to https://... to avoid conflicts with recent maven versions that are blocking http repositories

Add Pad Attributes

This will allow greater flexibility for users to specify stat box position and pad margins via the GUI or API.

  • Implement PadAttributes
  • Add PadAttributes to OptionsPanel
  • Add PadAttributes to GStyle

Refreshing a canvas

@wphelps @gavalian I've notice that my canvases are often drawn initially with some ugly overlaps/cropping, but when I drag the corner of the window it refreshes and then looks fine. Do you know why this is? I attached some before/after images to show the point.

Before:

image

After:

image

Add License

Could you please provide a license to the groot project?
Until then, I am not able to use your code.

Note: My preference would be MIT License, but please feel free to pick what makes sense for you.

some H2F plotting features

Hello, I was wondering whether you could add a few plotting features for 2D histograms (no hurry) - what I'd like to plot are 2D simple 2D histograms by markers (not by the usual color scale), so to study the distribution of points and eventually compare several distributions superimposing more plots with different markers. It would be nice to be able to set a marker style, and select a color for each histogram.
It could also be helpful to plot the H2F object as "box" (which is already possible), but selecting a different color per histogram so to allow, again, a visually meaningful superimposition (I don't think this is possible as of now for H2Fs).
Thanks!

EmbeddedCanvas.update()

Recent change of EmbeddedCanvas.update():

    JFrame topFrame = (JFrame) SwingUtilities.getWindowAncestor(this);
    topFrame.getContentPane().setVisible(false);
            this.repaint();   
    topFrame.getContentPane().setVisible(true);

causes my various TextEntry fields in the topFrame to stop working if Timer if firing off repeated updates to refresh the canvas. I can always replace canvas.update() with canvas.repaint() to prevent this, but the above code doesn't look like something we want this class to do.

Import all UI functionality from jroot

  • Copy/Paste datasets complete
  • Copy Pad/Canvas image
  • Save/Save as Canvas image
  • Popout pad
  • OptionsPanel
    • Quick action/summary pane
    • Advanced Options: Axes
    • Advanced Options: Datasets
  • FitPanel

ParallelSliceFitter

Three suggestions:

  1. Replace ArrayList with synchronized list (avoiding thread collisions):
    // ArrayList fitResults = new ArrayList();
    List fitResults = Collections.synchronizedList(new ArrayList());

  2. Remove progress code with Thread.sleep which was evidently intended to minimize thread collisions. This speeds up ParallelSliceFitter by at least x10.

  3. fitResults are filled from slice threads and therefore not in ascending bin sequence. Resort:
    fitResults.sort(Comparator.comparing(FitResults::getPoint));

Miscellaneous Requests and Bugs

  • Stat box for 2D histos showing NENTRIES (total attempts to fill histo) and NEVENTS (attempts which satisfy xmin,xmax,ymin,ymax)
  • LatexText text doesn't move with pad (when double clicking on pad)
  • LatexText refreshes without erasing leading to text bleeding after several refreshes.
  • Request equivalent of PAW key command (symbol legend and text)

TColorPalette.java

Could you do something a little more sensible in dealing with negative values for log plots. Just assign some default color (gray) to values <= 0, instead of value=0 as done now. As currently configured, even if zmin is set >0 the histogram is rejected for containing a negative value. Another improvement would be to allow zmin to be fixed while zmax is allowed to autoscale.

Directory and DataSet disappears when saving histograms to hipo file

When trying to save histograms into a hipo file, one of them (and its directory) always disappears (the first directory created).

Minimal example:
(tested with coat-lib 4.0 from coatjava 5a13 and tested with coat-lib 5.1 from coatjava master on February 16)

TDirectory dir = new TDirectory();
H1F h1 = this.get1DHisto(plotName);
dir.mkdir("/calibration/PCAL");
dir.mkdir("/calibration/ECIN");

dir.cd("/calibration/ECIN");
dir.addDataSet(h1);
dir.cd("/calibration/PCAL");
dir.addDataSet(h1);
        
dir.writeFile("testfile.hipo");
        
TDirectory diread = new TDirectory();
diread.readFile("testfile.hipo");
diread.cd();
diread.ls();

Fit uncertainties in stat box?

How to get the fit parameter uncertainties displayed in the stat box? I tried various setOptStat arguments but failed.

Chopped Tops

Since recent groot pull I notice tops of plots getting chopped, overflowing out of their frame boundaries (top plot) or looking like some other plot is underneath them (bottom plot).

groot-topchop

screen shot 2016-10-07 at 3 04 50 pm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.