Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-34066

AOS rotation: test 2

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_aos
    • Labels:

      Description

      • Turn off all perturbations again, but this time use the cmd file to add back 1 Zernike perturbation at a time to M1 only.  I’d suggest an amplitude of maybe 250 nm.
      • Single star on the boresight.
      • For each Zernike index 4-22 (or some subset if this is too much), make a plot of the estimated Zernike coefficient vs input rotation angle.  You should get sine waves for these, with periods as follows:
      • Z4, Z11, Z22 estimated Zernikes are independent of input rotation angle.
      • Z7, Z8, Z16, Z17 period is 360 degrees
      • Z5, Z6, Z12, Z13 period is 180 degrees
      • Z9, Z10, Z18, Z19 period is 120 degrees
      • Z14, Z15, period is 90 degrees
      • Z20, Z21, period is 72 degrees
      • I predict that the above are periodic with rotTelPos, but not rotSkyPos.
      • Note that phosim injects circular Zernikes, but ts_wep is estimating annular Zernikes, so we don’t expect to recover 2*250 nm (reflection so path length changes by 500nm!) if we inject a 250 nm perturbation.

        Attachments

          Issue Links

            Activity

            No builds found.
            ksuberlak Krzysztof Suberlak created issue -
            ksuberlak Krzysztof Suberlak made changes -
            Field Original Value New Value
            Link This issue is child task of DM-33116 [ DM-33116 ]
            tjenness Tim Jenness made changes -
            Team Telescope and Site [ 13500 ]
            ksuberlak Krzysztof Suberlak made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            Implementation with `CloseLoopTask` - using that class and its tools, while running only 1 iteration  https://github.com/suberlak/AOS/blob/main/AOS_DM-34065_rotation_JM_test-02.ipynb (too slow due to refCat generation for each loop)

             

            Implementation with custom-written functions - much faster b/c refCat and butler only generated once, thereupon same repo used for all data. https://github.com/suberlak/AOS/blob/main/AOS_DM-34065_rotation_JM_test-02_b.ipynb 

            Show
            ksuberlak Krzysztof Suberlak added a comment - Implementation with `CloseLoopTask` - using that class and its tools, while running only 1 iteration  https://github.com/suberlak/AOS/blob/main/AOS_DM-34065_rotation_JM_test-02.ipynb  (too slow due to refCat generation for each loop)   Implementation with custom-written functions - much faster b/c refCat and butler only generated once, thereupon same repo used for all data. https://github.com/suberlak/AOS/blob/main/AOS_DM-34065_rotation_JM_test-02_b.ipynb  
            ksuberlak Krzysztof Suberlak made changes -
            Attachment image-2022-04-04-14-02-41-345.png [ 58525 ]
            ksuberlak Krzysztof Suberlak made changes -
            Attachment image-2022-04-04-14-06-25-418.png [ 58526 ]
            ksuberlak Krzysztof Suberlak made changes -
            Attachment image-2022-04-04-14-07-40-131.png [ 58527 ]
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            Each time a single `izernike` command inputs zk perturbation to M1. We explore all zk4-22, for various rotation angles.  For  `rotCamInDeg` passed as `rotSkyPos` in the `inst` file, there is no dependence on the angle when simulating a single star on the boresight - all rotation angles yield the same results . For example, results of inputting 250 nm of zk13, at various rotation angles (result are numerically the same). This is what the test assumed - that there is no dependence on the rotation with `rotSkyPos: 

            Inputting different zk at a particular rotation angle is summarized below. There is a peak corresponding to each input zk (marked by a vertical dashed line with color matching the fit results). One panel for zk5:13:

             

            and another panel for zk14:22:

            Show
            ksuberlak Krzysztof Suberlak added a comment - Each time a single `izernike` command inputs zk perturbation to M1. We explore all zk4-22, for various rotation angles.  For  `rotCamInDeg` passed as `rotSkyPos` in the `inst` file, there is no dependence on the angle when simulating a single star on the boresight - all rotation angles yield the same results . For example, results of inputting 250 nm of zk13, at various rotation angles (result are numerically the same). This is what the test assumed - that there is no dependence on the rotation with `rotSkyPos:  Inputting different zk at a particular rotation angle is summarized below. There is a peak corresponding to each input zk (marked by a vertical dashed line with color matching the fit results). One panel for zk5:13:   and another panel for zk14:22:
            ksuberlak Krzysztof Suberlak made changes -
            Attachment image-2022-04-04-14-09-53-568.png [ 58528 ]
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            However, there is a dependence of results for a given `izernike` perturbation with rotation angle if conveyed as `rotTelPos` in the inst file:

             

            Show
            ksuberlak Krzysztof Suberlak added a comment - However, there is a dependence of results for a given `izernike` perturbation with rotation angle if conveyed as `rotTelPos` in the inst file:  
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            Varying `rotSkyPos` with `rotTelPos` set to 0, is like rotating the entire telescope, while keeping the angle between the camera rotator and the telescope fixed (it is possible for smaller telescopes with  telescope rotators https://telescopemount.org/alt-az-mounts-for-long-exposure-astrophotography-telescope-rotators/ , although not for LSST). It is case1 here https://jira.lsstcorp.org/browse/DM-34356 . 

             

            Varying `rotTelPos` without specifying `rotSkyPos` (i.e. allowing PhoSim to calculate it based on the parallactic angle) is like pointing the telescope at a given location in the sky, and then rotating the camera wrt telescope. This is more realistic for LSST, and is case3 here https://jira.lsstcorp.org/browse/DM-34356 

            Show
            ksuberlak Krzysztof Suberlak added a comment - Varying `rotSkyPos` with `rotTelPos` set to 0, is like rotating the entire telescope, while keeping the angle between the camera rotator and the telescope fixed (it is possible for smaller telescopes with  telescope rotators https://telescopemount.org/alt-az-mounts-for-long-exposure-astrophotography-telescope-rotators/  , although not for LSST). It is case1 here https://jira.lsstcorp.org/browse/DM-34356  .    Varying `rotTelPos` without specifying `rotSkyPos` (i.e. allowing PhoSim to calculate it based on the parallactic angle) is like pointing the telescope at a given location in the sky, and then rotating the camera wrt telescope. This is more realistic for LSST, and is case3 here https://jira.lsstcorp.org/browse/DM-34356  
            Hide
            ksuberlak Krzysztof Suberlak added a comment - - edited

            Comparison of various zk - the number in the left column postage stamp corresponds to the zk number. 

            Show
            ksuberlak Krzysztof Suberlak added a comment - - edited Comparison of various zk - the number in the left column postage stamp corresponds to the zk number. 
            ksuberlak Krzysztof Suberlak made changes -
            ksuberlak Krzysztof Suberlak made changes -
            Attachment image-2022-04-08-12-18-32-244.png [ 58677 ]
            Hide
            ksuberlak Krzysztof Suberlak added a comment - - edited

            Comparison of donuts given a single zk for a variety of `rotSkyPos`, keeping rotTelPos=0. The number in each postage stamp is the value of 'rotSkyPos' in that simulation. 

            Show
            ksuberlak Krzysztof Suberlak added a comment - - edited Comparison of donuts given a single zk for a variety of `rotSkyPos`, keeping rotTelPos=0. The number in each postage stamp is the value of 'rotSkyPos' in that simulation. 
            ksuberlak Krzysztof Suberlak made changes -
            Attachment image-2022-04-08-12-42-20-382.png [ 58678 ]
            ksuberlak Krzysztof Suberlak made changes -
            Attachment image-2022-04-08-12-46-19-723.png [ 58679 ]
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            Comparison of donut postage stamps given a single input zk (18) for a variety of `rotTelPos`, allowing PhoSim to calculate `rotSkyPos`. As above, the number in each stamp is the value of angle input in the simulation, in that case `rotTelPos`:

             

            Show
            ksuberlak Krzysztof Suberlak added a comment - Comparison of donut postage stamps given a single input zk (18) for a variety of `rotTelPos`, allowing PhoSim to calculate `rotSkyPos`. As above, the number in each stamp is the value of angle input in the simulation, in that case `rotTelPos`:  
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            In summary, as mentioned here https://lsstc.slack.com/archives/C9BEJU1T3/p1649452191399489?thread_ts=1649278238.043959&cid=C9BEJU1T3 , these tests prove that "rotTelPos in phosim_syseng4 is really just rotSpiderPos", i.e. the camera is kept at a fixed angle wrt M1M2, and the only thing that rotates due to changing "rotTelPos" is the spider. 

            Show
            ksuberlak Krzysztof Suberlak added a comment - In summary, as mentioned here https://lsstc.slack.com/archives/C9BEJU1T3/p1649452191399489?thread_ts=1649278238.043959&cid=C9BEJU1T3  , these tests prove that "rotTelPos in phosim_syseng4 is really just rotSpiderPos", i.e. the camera is kept at a fixed angle wrt M1M2, and the only thing that rotates due to changing "rotTelPos" is the spider. 
            Hide
            ksuberlak Krzysztof Suberlak added a comment -

            In summary, I think we can say convincingly that this proves that there is no camera rotation imparted by 'rotTelPos', only the spider rotation. The camera is at a fixed angle wrt M1M3 assembly. This is similar to the findings of https://jira.lsstcorp.org/browse/DM-31532

            Show
            ksuberlak Krzysztof Suberlak added a comment - In summary, I think we can say convincingly that this proves that there is no camera rotation imparted by 'rotTelPos', only the spider rotation. The camera is at a fixed angle wrt M1M3 assembly. This is similar to the findings of https://jira.lsstcorp.org/browse/DM-31532 . 
            ksuberlak Krzysztof Suberlak made changes -
            Reviewers Bryce Kalmbach [ jbkalmbach ] Joshua Meyers [ jmeyers314 ]
            ksuberlak Krzysztof Suberlak made changes -
            Status In Progress [ 3 ] In Review [ 10004 ]
            Hide
            jmeyers314 Joshua Meyers added a comment -

            This one looks done.

            Show
            jmeyers314 Joshua Meyers added a comment - This one looks done.
            jmeyers314 Joshua Meyers made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            ksuberlak Krzysztof Suberlak made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]

              People

              Assignee:
              ksuberlak Krzysztof Suberlak
              Reporter:
              ksuberlak Krzysztof Suberlak
              Reviewers:
              Joshua Meyers
              Watchers:
              Joshua Meyers, Krzysztof Suberlak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.