[INSTRM-1037] Store AG geometry in pfs_insdata repo Created: 10/Jul/20 Updated: 17/Dec/21 Resolved: 14/Sep/21 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | pfs_instdata |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | yuki.moritani | Assignee: | Yoshida, Hiroshige |
| Resolution: | Done | Votes: | 0 |
| Labels: | EngRun | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
|
AG cameras position on PFI is needed for "shuffle" to find guide stars. Following the discussions at ICS/PFI+MCS telecon on 3 and 10 July 2020, 4 corner of each sensor is proper.
Hassan, Naoyuki and I talked about the file architecture of this information a while ago, looking the current pfi.yaml and Cobra stuffs. To have commonality with Cobra, we'd like to propose:
|
| Comments |
| Comment by Martin Reinecke [ 02/Apr/21 ] |
|
Since shuffle is required to output pixel coordinates for guide star candidates, the list of four corners is no longer sufficient. To determine this information, we also need to know the "origin" corner, the "+X" and "+Y" corner, and the camera resolution. |
| Comment by Martin Reinecke [ 02/Apr/21 ] |
|
Alternatively, a per-camera matrix transforming between PFI and the respective pixel coordinate system shold also work well. Then the only additional required information would be the number of pixels in x and y direction. |
| Comment by yuki.moritani [ 05/Apr/21 ] |
|
Yoshida, Hiroshige how do you treat PFI[mm]-AG[pixel] conversion for agActor (and other AG software)? What information do you use? |
| Comment by Yoshida, Hiroshige [ 05/Apr/21 ] |
|
Currently, the AG subsystem implements naive transformation methods internally, using:
In general, ignoring distortion, I think we only need, for each AGC:
In stead (or in addition), we could have transformation matrices for each AGC for each direction.
|
| Comment by yuki.moritani [ 05/May/21 ] |
|
Yoshida-san and I talked about this topic. We think it will be nice to have a module to query the PFI position for a AG cameras, and vice versa. In this way, MPA can get PFI coordinates of 4 corners of individual AG cameras, and NAOJ can can get PFI coordinates of observed centroids.. Yoshida-san already has something to do so, so I think his routine should be a good start. |
| Comment by hassan [ 23/Jul/21 ] |
|
Martin Reinecke mentioned during the ICS/PFI telecon today that he needs this in order to provide shuffle-related deliveries. |
| Comment by yuki.moritani [ 14/Sep/21 ] |
|
The function was implemented, and Martin is now using this function, so I close this ticket. What we may need to modify in the future is to treat the fact that AG pixel coordinates includes overscan region. |