scikit-hep / scikit-hep-tutorials

Ecosystem tutorials, demos, examples
https://scikit-hep.org/scikit-hep-tutorials
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Package structure discussion #2

Open eduardo-rodrigues opened 5 years ago

eduardo-rodrigues commented 5 years ago

It makes sense to have a bit of structure in the repository so that anyone coming here can easily find the tutorial for their topic of interest. We could largely follow the list of topics used on our website (scikit-hep.org) to categorise the packages: interoperability, particles and decays, histogramming, fitting, etc.

Opinions @henryiii, @HDembinski, @apuignav, @mayou36?

HDembinski commented 5 years ago

Sounds very good, but I wonder how to organise this. iminuit already has extensive tutorials available as part of the iminuit documentation. Should these be duplicated or moved into this repo? Having the tutorials locally in the iminuit repo is nice, because CI can check that the tutorials don't break on a new PR. This is a very useful feature, and I am not sure how to maintain this when the tutorials are part of this repo here. Unit-testing code in the docs is very important, because they tend to break unnoticed.

jonas-eschle commented 5 years ago

I agree also to have it topically structured, but I think it may can also contain even larger tutorials, e.g. show how to combine particles and decays with histograms and fitting, saying real use cases.

on @HDembinski my idea:

There is an overlap and we could move some tutorials around, but if in doubt, we rather leave the status quo and build an additional layer here, linking maybe to other tutorials. I think though that CI is not a problem, a package could simply git clone this repo and pick the relevant tutorials for testing.

In general, I see it as a collection of "how to do (parts of) an analysis with the help of scikit-hep" examples

eduardo-rodrigues commented 5 years ago

Thanks everyone for the feedback. I agree very much with the comments. Just to make it super clear:

In short, it's more about the ecosystem and less about the individual packages.

I have the impression that we all agree. The work remains to be done, now … :-).

eduardo-rodrigues commented 5 years ago

To move forward: @mayou36, are you working on a demo of zfit and Scikit-HEP stuff, which we could add here?

jonas-eschle commented 5 years ago

Not yet, just been busy and will be unavailable for two weeks now, but afterwards this is definitely on my list and we can come back to it. I think mostly phasespace and other packages, hepunits and Particle could go well together, not sure yet how to best involve a fitting library exactly (except of iminuit of course! and the future statutils).