Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add function to compute background cube #1183
This PR adds a helper function
We plan to change to
The goal for the next days is to get a CTA GPS background model image using these background models.
Pair coding with @robertazanin .
We've started an example how to compute a background cube survey image in gammasky/cta-dc1-gps-analysis@6259dd6 . @robertazanin will continue with this, scripting the cutout / paste and energy integration. Here we had to change the background loading via DataStoreObservation from the old FOVCube to the new Background3D. Doesn't look like there were any callers / users, so I think it's OK. (if there are complaints, we'll just implement what's needed on the new class).
@adonath - If you have time to help with this, adding a
I'll leave this open for comments now, and then merge tonight if there are none. @adonath - Maybe you have time to review this?
I've left two minor inline comments. This function has been missing for a long time so it's good to have it finally implemented.