Conversation
These changes are needed to account for the non-linear distortions due to the LAT's off-axis mirrors; otherwise only a single value of the "roll" can be treated in the existing framework. Introduces the idea of "focal_plane_template", a TOD member like focal_plane that will be used as the source to compute the (model-corrected) focal_plane. This changes the apply_pointing_model interface a bit but probably not in a way that users will notice.
amaurea
left a comment
There was a problem hiding this comment.
Looks fine. I checked the arc implementation, and it matches mine. Thanks for impementing this. Is the zemax model updated, or does it still just cover the central tube?
Thanks. The zemax version applies to the full focal plane. Also @amaurea mentioned elsewhere that I should probably not import private functions from other submodules, and that |
|
Looks good to me. Two nitpicky comments:
|
Ah, ya I can probably remove a bunch of that. This was sort of left over from when I hadn't figured out how I wanted to do the _template handling. The "in_place" option is not worth the complexity it adds.
Ok, latest code has this as a string. How do you feel about that? And I'll change it to |
I think an int is preferable to a string, if only because then when you pass this to an optimizer and |
These changes are needed to account for the non-linear distortions due
to the LAT's off-axis mirrors; otherwise only a single value of the
"roll" can be treated in the existing framework.
Introduces the idea of "focal_plane_template", a TOD member like
focal_plane that will be used as the source to compute the
(model-corrected) focal_plane.
This changes the apply_pointing_model interface a bit but probably not
in a way that users will notice.
This framework can also be used to support detailed refraction corrections, in the future.