Open themperek opened 6 years ago
I'd keep it separate. Other packages depend on it (e.g., testbeam-analysis). You can rename it. But why bother?
To keep everything in one place, tested (with unit tests) and in sync. Testbeam analysis can import pymosa. Same for #7
To be discussed.
The interpreter is not part of pymosa IMHO. And should stay separated because it is shared between projects. I don't like the idea to install basil, pymosa, and all the dependencies, etc. just to get testbeam-analysis running.
You need to install: pyBAR_mimosa26_interpreter what difference it makes if you have to install pymosa instead?
The gain is it better tested, will have a package and will be in one place.
One part is analysis software, the other one is hardware related. I would not mix them up. And as I pointed out it is not only pymosa, but instead many (hardware related) dependencies which come automatically if you do a pip install. This is useless stuff if you need the interpreter only.
The tests can be in added to the Mimosa26 interpreter project. Anything speaks against it?
The reverse is also true: if you just want to take data and use another TB-system (e.g. Eudaq) you do not want to be forced to install beasty packages like numba
. Although these issues can be solved by specifying pip install options for subpackages. But that is also messy to my mind,
Please, no subpackages.
https://github.com/SiLab-Bonn/pyBAR_mimosa26_interpreter/blob/master/requirements.txt
numba can be done optional (use if you have not use if you have not)
What is now the status? Should we move the new mimosa26 interpreteter to pymosa? I would also be in favor to move it to pymosa. It is still separated and people only need to install pymosa to use our M26 stuff.
I am almost done with it, apart from some documentation for the interpreter which is definetly needed since it is a very complex thing which should be documented.
I still would keep it separate.
Yes, pyBAR_mimosa26_interpreter is not the best name since it is in wide use. But you will have much less work if you keep the packages separate - at least for some time.
PS: A good time for merging both projects would be the time when we do the transition to Python 3.x.
Just for your info: With EUDAQ integration we have to do data analysis during data taking, thus this package has to depend on the interpretation package.
I am so far done with the new (cleanup of Tokos code) Mimosa26 interpreter. You can see it here. As soon as possible I will write a documentation and explain how to use the interpreter and how the event building is done.
Make data interpretation part from https://github.com/SiLab-Bonn/pyBAR_mimosa26_interpreter to pymosa