<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:54:44 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-547] Investigate and solve the problem of negative values in LSF</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-547</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Investigate the problem of negative values reported by &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=price&quot; class=&quot;user-hover&quot; rel=&quot;price&quot;&gt;price&lt;/a&gt;&#160;in&#160;pfspipe.ipmu.jp/jira/browse/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-333&quot; title=&quot;Construct a 1D LSF from a 2D PSF&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-333&quot;&gt;&lt;del&gt;PIPE2D-333&lt;/del&gt;&lt;/a&gt;.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="14316">PIPE2D-547</key>
            <summary>Investigate and solve the problem of negative values in LSF</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="ncaplar">ncaplar</assignee>
                                    <reporter username="ncaplar">ncaplar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Apr 2020 13:51:37 +0000</created>
                <updated>Mon, 4 Jan 2021 20:23:15 +0000</updated>
                            <resolved>Tue, 14 Apr 2020 14:28:02 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="17014" author="ncaplar" created="Fri, 10 Apr 2020 13:53:12 +0000"  >&lt;p&gt;This is my priority for the week starting April 12&lt;/p&gt;</comment>
                            <comment id="17020" author="ncaplar" created="Mon, 13 Apr 2020 17:01:03 +0000"  >&lt;p&gt;I have evaluated what LSF would I expect at the position that &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=price&quot; class=&quot;user-hover&quot; rel=&quot;price&quot;&gt;price&lt;/a&gt;&#160;mentioned (fiber=339, wavelength=800nm, i.e., at x=1765 and y=2021). I get the result shown in the Figures (LSF_Neven_fiber339_wavelength_800.png and LSF_Neven_fiber339_wavelength_800_in_2d.png). I see no negative values in either 1d or 2d.&#160;&lt;/p&gt;

&lt;p&gt;The way forward:&lt;/p&gt;

&lt;p&gt;1. I will investigate if I ever see any negative values on my own computer.&lt;br/&gt;
2. If I never see any negative values, I have to investigate further from where did these negative values appear.&#160;&lt;/p&gt;</comment>
                            <comment id="17021" author="ncaplar" created="Mon, 13 Apr 2020 17:06:42 +0000"  >&lt;p&gt;I never see any negative values in any of my PSFs and LSFs at 1600 spots across the detector. I am concluding, based on this, that the negative values are happening ``somewhere&apos;&apos; downstream. I am investigating.&#160;&lt;/p&gt;</comment>
                            <comment id="17023" author="ncaplar" created="Mon, 13 Apr 2020 21:23:45 +0000"  >&lt;p&gt;Paul correctly pointed out that I was investigating the different input data (I was using Sep12, and the default input data was Sep11). With this input set, I did find some positions that have negative values for their predictions.&lt;/p&gt;

&lt;p&gt;Basically what happens is: &lt;/p&gt;

&lt;p&gt;1. the algorithm selects two points on the same side (e.g., both below the wanted point or above the wanted point)&lt;/p&gt;

&lt;p&gt;2. the algorithm does linear interpolation, and if these two inputs are nearby and the wanted point is far away, a small gradient can produce large enough difference that the predicted value drops below 0.&lt;/p&gt;

&lt;p&gt;This is illustrated in Figure ``Interpolation_effect.png&apos;&apos;.&lt;/p&gt;

&lt;p&gt;The effect is more likely to happen in the areas of sparse data, as input data points are far away (Shown in ``where_the_data_is.png&apos;&apos;). This is why we get negative values in the center where there are few input PSF spots.&lt;/p&gt;

&lt;p&gt;The problem will go away with a denser sampling of input points, as part of&#160;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-521&quot; title=&quot;Create global PSF solutions for the July 2019, using 2020 improvments&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-521&quot;&gt;&lt;del&gt;PIPE2D-521&lt;/del&gt;&lt;/a&gt;, but the creation of that datasets is probably at least a week away.&lt;/p&gt;</comment>
                            <comment id="17032" author="ncaplar" created="Tue, 14 Apr 2020 14:27:47 +0000"  >&lt;p&gt;This was discussed on the technical telecon on Apr 13/Apr 14. The conclusions:&lt;/p&gt;

&lt;p&gt;In the short term:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Finish &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-521&quot; title=&quot;Create global PSF solutions for the July 2019, using 2020 improvments&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-521&quot;&gt;&lt;del&gt;PIPE2D-521&lt;/del&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&#160;Modify the Interpolation algorithm that is always positive definite&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;In the longer term:&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160;1. Improve the interpolation algorithm, and see how to get best results&lt;/p&gt;</comment>
                            <comment id="17033" author="rhl" created="Tue, 14 Apr 2020 14:31:23 +0000"  >&lt;p&gt;I&apos;m not at all surprised that interpolation leads to negative values, it was certainly the explanation that came to mind.  I assume that most are very close to zero.&lt;/p&gt;

&lt;p&gt;This problem should go away once we interpolate the pupil illumination/Zernikes&lt;/p&gt;</comment>
                            <comment id="17056" author="ncaplar" created="Thu, 16 Apr 2020 16:50:53 +0000"  >&lt;p&gt;I have added Figure ``Interpolation_effect_with_April1520_version.png&apos;&apos; showing that at the same location that we had negative values in the previous version, LSF is well behaved using the newest version of the spots. I still have to investigate if this is the case across the full detector plane.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13327">PIPE2D-347</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13307">PIPE2D-333</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12608" name="Interpolation_effect.png" size="55178" author="ncaplar" created="Mon, 13 Apr 2020 21:18:49 +0000"/>
                            <attachment id="12631" name="Interpolation_effect_with_April1520_version.png" size="35691" author="ncaplar" created="Thu, 16 Apr 2020 16:49:40 +0000"/>
                            <attachment id="12606" name="LSF_Neven_fiber339_wavelength_800_in_2d.png" size="16953" author="ncaplar" created="Mon, 13 Apr 2020 16:57:23 +0000"/>
                            <attachment id="12607" name="LSF_Neven_fiber339_wavelength_800.png" size="13125" author="ncaplar" created="Mon, 13 Apr 2020 16:57:23 +0000"/>
                            <attachment id="12609" name="where_the_data_is.png" size="25063" author="ncaplar" created="Mon, 13 Apr 2020 21:20:12 +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|02qps0:39</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="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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>