<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:55:41 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-637] FRD extraction function for in-focus PSFs with noise</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-637</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;This ticket is a specific implementation of the algorithm-development for ticket &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-630&quot; title=&quot;Deliver algorithms to handle FRD extraction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-630&quot;&gt;PIPE2D-630&lt;/a&gt;. The purpose of this ticket is to generate a function/class that takes an arbitrarily generated in-focus image from Neven&apos;s code and solves for its FRD. Read noise, Poisson noise, and continuum will be added in this step. Thus, FRD extraction is not expected to be perfect, and the error in FRD extraction will be determined.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14907">PIPE2D-637</key>
            <summary>FRD extraction function for in-focus PSFs with noise</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="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="bbelland">Brent Belland</assignee>
                                    <reporter username="bbelland">Brent Belland</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Oct 2020 00:43:46 +0000</created>
                <updated>Fri, 13 Jan 2023 01:31:51 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="18000" author="bbelland" created="Mon, 26 Oct 2020 23:43:17 +0000"  >&lt;p&gt;Adding Poisson and read+instrumental scattering noise to a 500,000 count PSF (~50,000 count in brightest pixel) and running the code extraction from &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-636&quot; title=&quot;FRD extraction function for noiseless in-focus PSFs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-636&quot;&gt;&lt;del&gt;PIPE2D-636&lt;/del&gt;&lt;/a&gt; results in v034b_noise2.png. While the minimum of the residual plot can correlate with the input FRD (dot-dashed line), the spread in values due to the noise is large. Extraction of the FRD requires more finesse, as expected.&lt;/p&gt;

&lt;p&gt;v034b_noise_x10_2.png demonstrates the corresponding residual plot for a&#160;5,000,000 count, 10x coadded PSF. While the minimum of the function is much more clearly correlated with the input FRD (dot-dashed line), it isn&apos;t likely to take 10 coadded images at a given position during calibration.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Next steps are:&lt;/p&gt;

&lt;p&gt;1) Extract uncertainty in the FRD extraction algorithm, by calculating range within minimum + 1 sigma noise.&lt;/p&gt;

&lt;p&gt;2) Determine the FRD and corresponding uncertainty from fitting 10 positions&apos; FRD at the same time, hopefully beating down the error in a way similar to v034b_noise_x10_2.png.&lt;/p&gt;

&lt;p&gt;3) Determine a better metric than squared residuals. FRD manifests most in the edges of the PSF&lt;/p&gt;</comment>
                            <comment id="18034" author="bbelland" created="Tue, 10 Nov 2020 00:47:11 +0000"  >&lt;p&gt;Current status update:&lt;/p&gt;

&lt;p&gt;All residual fitting has been improved greatly by only considering the inner 10x10 pixels where the PSF resides. The noises at a given flux have been reduced more in line with practical expectation.&lt;/p&gt;

&lt;p&gt;I attempted to address point (1) from the previous comment by fitting a parabola (as a first-order approximation) to the minimum of the residual function. This allowed for a minimum to be determined and fit for. An uncertainty in the parabola minimum could be found (~ 1.5 mrad), but a more conservative metric finding a range of FRD within 1 sigma of the minimum was also calculated (+/- 4.5 mrad). (See FRD_Residual_Uncertainty.png)&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13203/13203_image-2020-11-09-16-47-01-525.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;(2) was subsequently addressed by fitting 10 parabolae to 10 residuals for 10 PSFs from the same fiber. This code did find the minimum to a lower uncertainty in the parabola minima (~ +/- 1 mrad) as would be expected from fitting multiple images.&lt;/p&gt;

&lt;p&gt;However, fitting N parabola for 1 parameter (FRD) is not efficient, and the residual function is not symmetric in FRD. After discussion with Neven earlier Monday, a much simpler approach using just the minima during image optimization/fitting was discussed. This approach will allow for fitting for the FRD directly and avoid the systematics of my current work.&lt;/p&gt;</comment>
                            <comment id="18070" author="bbelland" created="Tue, 24 Nov 2020 01:04:45 +0000"  >&lt;p&gt;Chi squared minimization was incorporated that solves for the center of an arbitrary number of position inputs. 2fiberpositions.png and 7fiberpositions.png display how the center fitting for the position with the chi squared code works. The uncertainty range decreases when additional fibers are added but only a small amount; the uncertainty range from the chi squared map clearly exceed the minimum uncertainty by eye. This is due to the masking which has been discussed in previous telecons. Current work has been focused on implementing the proper masking corresponding to the uncertainty from the Cramer-Rao bound from the Fisher Information as Robert Lupton has suggested.&lt;/p&gt;</comment>
                            <comment id="18071" author="bbelland" created="Tue, 24 Nov 2020 01:12:19 +0000"  >&lt;p&gt;2positions_firstmask.png displays what happens when I run the chi squared analysis with a mask restricted to 2-4 pixels away from the center of the PSF. The improvement in the mask is evident from the reduced chi squared, but the generation of the proper mask from Fisher information is still in development.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="14704">PIPE2D-630</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14906">PIPE2D-636</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13212" name="2fiberpositions.png" size="21193" author="bbelland" created="Tue, 24 Nov 2020 01:09:42 +0000"/>
                            <attachment id="13214" name="2positions_firstmask.png" size="19825" author="bbelland" created="Tue, 24 Nov 2020 01:10:42 +0000"/>
                            <attachment id="13213" name="7fiberpositions.png" size="20081" author="bbelland" created="Tue, 24 Nov 2020 01:09:42 +0000"/>
                            <attachment id="13204" name="FRD_Residual_Uncertainty.png" size="27656" author="bbelland" created="Tue, 10 Nov 2020 00:47:22 +0000"/>
                            <attachment id="13203" name="image-2020-11-09-16-47-01-525.png" size="27656" author="bbelland" created="Tue, 10 Nov 2020 00:47:02 +0000"/>
                            <attachment id="13201" name="v034b_noise2.png" size="16102" author="bbelland" created="Mon, 26 Oct 2020 23:32:30 +0000"/>
                            <attachment id="13200" name="v034b_noise_x10_2.png" size="17045" author="bbelland" created="Mon, 26 Oct 2020 23:32:30 +0000"/>
                    </attachments>
                <subtasks>
                    </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_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzst9o:zzzr</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>