-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flat-field camera corrections #870
Conversation
…STCameraContainer (Fields: LSTEventContainer and LSTServiceContainer)
…le with version 1.0.2 of the protozfit library
…run but spread in multiple fits files
…_sub caliculation) Patched setting of event trigger time for MC events FlatFieldCalculator.calculate_relative_gain
Thanks Dominik, I wish you to find easily the problem. I see that you made a merge in my repository, can I make a pull it to my local repository and then a push again? (I have some corrections to push to the PR coming from the MC test) |
yes, sure. |
I think we need #925 before we can expect the tests to work again |
Very good @FrancaCassol .. I think we are close to have the master fixed again .. so that this PR can finally also be merged. I cancel the tests for the time being, since they will still fail due to the problems with the master. .. might take another hour. |
Dominik, I am going to move the test_pedestal. |
Added a a window_shift argument to BaselineWaveformCleaner
Okay do whatever you like ... just for the moment do not (yet) expect the tests to pass |
Hi, |
Ah Hello Franca, regarding the new LST reader. Generally, the smaller a PR is the easier and quicker it should be to merge it, i.e. the more topic one mixes within one PR the longer it takes to discuss it. In this specific case it is even more difficult. ctapipe would like to move these optional dependencies, like the SST1M, the Target and also the LST into their own packages, which will then be plugins for ctapipe. For you as the author of the reader this means you have complete control over your own plugin package. |
@FrancaCassol The tests fail .. but I do not know why. There seems to be an issue with the order(?) of tests, I believe. I can re-create the failing tests on my laptop when I do just:
but when I only execute the failing test file like this:
then the tests do not fail. This is very puzzling for me. Maybe you have an idea where this issue might come from? |
Hi Dominik,
I agree totally with you, but I think the problem is the time that a PR takes to be accepted. I was waiting for this PR to be accepted before asking a new one, but now I have such an amount of new l (initially small) changes that the next PR will be again rather important. I even wonder if it make sense to continue with the present one because it is outdated with respect to my code... should I better start with a new one?
This is interesting ... are we going to discuss on that at the next A&S WG meeting?
Wonderful :-) |
For me it happens the same ... strange, it looks like the example_event changes ... |
Yes, sorry this PR is being slow mainly because there is current work to move all EventSource "plugins" (e.g. those that need optional external libraries like Zfits) to separate repos, to make testing faster in the main ctapipe repo, and to avoid having to install so many dependencies. So soon this code will be external (probably a single module like ctapipe_io_zfits that contains both lst and nectarcam readers). |
Hi Karl, Just to be sure to understand: the message is: "wait till a bit"? |
It was decided to perform a successive PR, when the code will be more advanced and tested in the context of the lst-chain repository. |
New code to calculate flat-field coefficients from flasher calibration events.
For that, new containers are defined in container.py
The code is based on a FlatFieldFactory (place in calib/camera) which permits to select a specific FlatFieldCalculator.
For the moment one calculator is implemented:
Also, a tool is provided in ctapipe/examples:
NB: this PR will work only when PR #812 will be accepted (help on that side is very welcome)