-
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
Telescope / NominalFrame for reconstruction / visualization #1315
Comments
I am biased since I really need to fix this, but I propose to start from the first one :) For protopipe, there are 2 different, but related aspects:
The second aspect is a mixture of two things:
There I transform to TelescopeFrame, but I imagine that one can do the same for Nominal. The only problem for me is that for some reason (either it is supposed to be like this or I made a mistake, but I didn't find it yet) the performance (very simple, just the theta2 distribution right out from So I would propose to start from there (I can move this into a dedicated issue or open a PR right away to test this if we agree). |
@HealthyPear actually, I think the discussion on which focal length to use for this transformation is a completely different one. For this issue here, let's assume we have the right one and discuss the necessary steps to calculate this stuff in the respective coordinate frames. Which focal length to put in is also a very simple change, unlike the general restructuring that's needed to make this happen. |
Sure! As I said it is already possible to choose which focal length, and then it's just a matter of initializing CameraFrame with the correct value. Regarding the general structuring: I think we need just to decouple the changes related to the library (ctapipe) from those related to the order of the operations (the pipeline in general). I think that from the point of view of ctapipe, one thing that needs to be modified for sure is the reconstructor (like I did in the notebook). What I did was to move the transformation outside, in-between image cleaning and parametrization. The rest is more a matter of pipeline, I guess... |
An update on this I have looked into PR #1191 and used that code to make a new test. I attach here a PDF (the upload of a jupyter notebook seems to not be supported, unfortunately...). It seems to work at least for point-source simulations, it shouldn't be difficult to extend it also to divergent. Since this is my best solution at the moment, I added it in a test branch of protopipe to create some parameter distributions in degrees to compare with @moralejo ; if it turns out to be correct I can open the PR. |
UPDATE: What I was talking about is now working and ready for review in PR #1408. |
Done |
This is a meta issue for open issues related to improving calculation of image parameters,
reconstruction and plotting.
The text was updated successfully, but these errors were encountered: