<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:49:56 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[PIPE2D-243] Characterize PSF using out-of-focus images</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-243</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Measure the optical aberrations of individual exposures of PFS data from out-of-focus images.&lt;/p&gt;

&lt;p&gt;The current plan is to follow the procedure by Joshua Mayers which was used for HSC images (e.g., &lt;a href=&quot;https://jira.lsstcorp.org/browse/DM-8565&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.lsstcorp.org/browse/DM-8565&lt;/a&gt; and connected tickets). This means forward modeling of the PFS images taken at LAM with Galsim.&lt;/p&gt;

&lt;p&gt;I am documenting my progress at &lt;a href=&quot;https://github.com/nevencaplar/PFS_Work_In_Progress/blob/master/Zernike.ipynb&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/nevencaplar/PFS_Work_In_Progress/blob/master/Zernike.ipynb.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Update: July 5, 2018, report:&#160;&lt;a href=&quot;https://www.overleaf.com/17550215gqrxkdfywqkp#/66627172/&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://www.overleaf.com/17550215gqrxkdfywqkp#/66627172/&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="11862">PIPE2D-243</key>
            <summary>Characterize PSF using out-of-focus images</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="10100" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="No further work should be done on this.">Won&apos;t Fix</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="ncaplar">ncaplar</assignee>
                                    <reporter username="ncaplar">ncaplar</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Sep 2017 16:45:21 +0000</created>
                <updated>Fri, 5 Apr 2019 15:04:41 +0000</updated>
                            <resolved>Thu, 4 Apr 2019 20:56:40 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                            <comments>
                            <comment id="12586" author="ncaplar" created="Mon, 25 Sep 2017 16:51:13 +0000"  >&lt;p&gt;At the moment, I have been successful in running galsim and creating some mock images. I have also made a mock-up version of the pupil (see Pupil00.png). Jim G. should provide me at some point with illumination files which will give correct proportions of struts etc... At the moment I am struggling to understand if I am properly modeling the system, i.e., to set the all the parameters of the simulation (pupil size, pixel scale....) properly, so that the simulated images look somewhat like the LAM images.&lt;/p&gt;</comment>
                            <comment id="12686" author="ncaplar" created="Thu, 19 Oct 2017 19:01:44 +0000"  >&lt;p&gt;I have fully analyzed one of the test images taken at LAM (v3617).&lt;/p&gt;

&lt;p&gt;Below we can see one image which shows poststamp images of the defocused spots across the detector. The full black squares are the positions that were either too faint, or for which the simulation on the cluster did not finish (because I put too strict time limits to run my job).  The numbers above are x and y positions on the chip. I am showing both the linear and log scaling. &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10816_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10816/10816_Originals+Log.png&quot; title=&quot;Originals Log.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10816&quot; file-preview-title=&quot;Originals Log.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10819/_thumb_10819.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10812_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10812/10812_Models.png&quot; title=&quot;Models.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10812&quot; file-preview-title=&quot;Models.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10816/_thumb_10816.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;Then I model the post stamps. I have been modeling those with Galsim, with 16 parameters (z4 to z11 Zernike coefficients, size of the central obscuration, size of struts,  x and y position of the central obscuration in the focal plane, x and y position on the chi, &#8220;size of the telescope&#8221;, size of the input fiber image). Results are quite good, capturing the main features of the actual data. There is only one obvious failure (at 3620,2347), and even data in corner of the detector is reproduced. Below I am showing results, with linear and log scaling.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10811_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10811/10811_Models+Log.png&quot; title=&quot;Models Log.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10811&quot; file-preview-title=&quot;Models Log.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10812/_thumb_10812.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10814_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10814/10814_Residuals%2C+no+rescale.png&quot; title=&quot;Residuals, no rescale.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10814&quot; file-preview-title=&quot;Residuals, no rescale.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10811/_thumb_10811.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;When we look at the residuals in linear scale, some of the images are almost complete erased. Log scale reveals that some structure is still left.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10817_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10817/10817_Pupils.png&quot; title=&quot;Pupils.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10817&quot; file-preview-title=&quot;Pupils.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10814/_thumb_10814.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10817_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10817/10817_Pupils.png&quot; title=&quot;Pupils.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10817&quot; file-preview-title=&quot;Pupils.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10813/_thumb_10813.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;One can also look at the &#8220;predicted&#8221; images of the pupils and their movement across the detector.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10803_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10803/10803_2_z6.png&quot; title=&quot;2_z6.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10803&quot; file-preview-title=&quot;2_z6.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10817/_thumb_10817.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;Below I am showing the estimates for the behavior of different Zernike coefficients across the detector (from z5 to z11). Size of the spots is the same for all of the images, the information is only in the color. &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10804_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10804/10804_3_z7.png&quot; title=&quot;3_z7.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10804&quot; file-preview-title=&quot;3_z7.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10802/_thumb_10802.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10804_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10804/10804_3_z7.png&quot; title=&quot;3_z7.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10804&quot; file-preview-title=&quot;3_z7.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10803/_thumb_10803.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10805_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10805/10805_4_z8.png&quot; title=&quot;4_z8.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10805&quot; file-preview-title=&quot;4_z8.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10804/_thumb_10804.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10806_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10806/10806_5_z9.png&quot; title=&quot;5_z9.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10806&quot; file-preview-title=&quot;5_z9.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10805/_thumb_10805.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10807_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10807/10807_6_z10.png&quot; title=&quot;6_z10.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10807&quot; file-preview-title=&quot;6_z10.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10806/_thumb_10806.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10808_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10808/10808_7_z11.png&quot; title=&quot;7_z11.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10808&quot; file-preview-title=&quot;7_z11.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10807/_thumb_10807.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;10808_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/10808/10808_7_z11.png&quot; title=&quot;7_z11.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;10808&quot; file-preview-title=&quot;7_z11.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/10808/_thumb_10808.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;



&lt;p&gt;Future improvements, roughly in the order of priority that I would suggest:&lt;br/&gt;
1. Analysis on better images with larger spots and stronger signal, also use images with different defocus to compare results&lt;br/&gt;
2. Check if the images are uniformly illuminated by comparing data taken from both sides of focus&lt;br/&gt;
3. Eliminate the pupil parameters from the fit and use the data which will be provided from France about the movement of the central obscuration and struts across the detector&lt;br/&gt;
4. I am using &#8220;size of the telescope&#8221; as a free parameter - obviously this is wrong and I am using it hide some of my lack of knowledge about how the spectrographs work and abusing the code which was done for other purpose. This needs to be better understood (and other parameters in galsim which I am not touching at the moment, e.g., wavelength of the light). &lt;br/&gt;
5. Do a bit more realistic modeling of input fiber (currently it is top hat, realistically is that some wings)&lt;br/&gt;
6. Analyzing with the images with corrected gains (currently variance in the scientific images is different than what would be inferred from variance image)&lt;/p&gt;</comment>
                            <comment id="15274" author="ncaplar" created="Thu, 4 Apr 2019 20:56:40 +0000"  >&lt;p&gt;This is an old overarching ticket summarizing the development of the PSF pipelne from defocused images. The work has been split to many other tickets. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="12633">PIPE2D-284</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="10802" name="1_z5.png" size="107778" author="ncaplar" created="Thu, 19 Oct 2017 19:00:13 +0000"/>
                            <attachment id="10803" name="2_z6.png" size="110692" author="ncaplar" created="Thu, 19 Oct 2017 19:00:30 +0000"/>
                            <attachment id="10804" name="3_z7.png" size="103621" author="ncaplar" created="Thu, 19 Oct 2017 19:00:30 +0000"/>
                            <attachment id="10805" name="4_z8.png" size="104107" author="ncaplar" created="Thu, 19 Oct 2017 19:00:30 +0000"/>
                            <attachment id="10806" name="5_z9.png" size="106988" author="ncaplar" created="Thu, 19 Oct 2017 19:00:30 +0000"/>
                            <attachment id="10807" name="6_z10.png" size="113918" author="ncaplar" created="Thu, 19 Oct 2017 19:00:30 +0000"/>
                            <attachment id="10808" name="7_z11.png" size="113206" author="ncaplar" created="Thu, 19 Oct 2017 19:00:29 +0000"/>
                            <attachment id="10701" name="Donut_Example.png" size="37684" author="ncaplar" created="Mon, 25 Sep 2017 16:45:13 +0000"/>
                            <attachment id="10811" name="Models Log.png" size="480124" author="ncaplar" created="Thu, 19 Oct 2017 19:00:55 +0000"/>
                            <attachment id="10812" name="Models.png" size="443586" author="ncaplar" created="Thu, 19 Oct 2017 19:00:55 +0000"/>
                            <attachment id="10816" name="Originals Log.png" size="628243" author="ncaplar" created="Thu, 19 Oct 2017 19:02:43 +0000"/>
                            <attachment id="10819" name="Originals.png" size="519854" author="ncaplar" created="Thu, 19 Oct 2017 19:05:55 +0000"/>
                            <attachment id="10817" name="Pupils.png" size="405256" author="ncaplar" created="Thu, 19 Oct 2017 19:03:01 +0000"/>
                            <attachment id="10813" name="Residuals, no rescale Log.png" size="657711" author="ncaplar" created="Thu, 19 Oct 2017 19:01:09 +0000"/>
                            <attachment id="10814" name="Residuals, no rescale.png" size="506155" author="ncaplar" created="Thu, 19 Oct 2017 19:01:09 +0000"/>
                    </attachments>
                <subtasks>
                            <subtask id="12024">PIPE2D-269</subtask>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PIPE2D-1</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qpt6:508yjx</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>hassan</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="46">2DDRP-2019 D</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>