<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:55:38 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-633] Debug false lines in extracted spectra</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-633</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE1D-14&quot; title=&quot;Run 1D-DRP for the resulting products from 2D in the end-to-end processing test&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE1D-14&quot;&gt;&lt;del&gt;PIPE1D-14&lt;/del&gt;&lt;/a&gt; identifies some false lines in coadded spectra from the integration test. They appear to be coming from negative features in the sky spectra. In particular, &lt;tt&gt;visit=25 arm=r&lt;/tt&gt; has a single pixel in the fiberTrace at row=116 for the eighth spectrum, which is producing a 3-sigma negative value in the extracted spectrum, but inspection of the &lt;tt&gt;calExp&lt;/tt&gt; shows that pixel flux value is well within the expected noise.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14900">PIPE2D-633</key>
            <summary>Debug false lines in extracted spectra</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="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="price">price</assignee>
                                    <reporter username="price">price</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Sep 2020 18:06:43 +0000</created>
                <updated>Tue, 29 Sep 2020 00:30:16 +0000</updated>
                            <resolved>Tue, 29 Sep 2020 00:30:16 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="17802" author="rhl" created="Mon, 28 Sep 2020 18:13:07 +0000"  >&lt;p&gt;So you&apos;re looking at why the 2-D data isn&apos;t significant, but the 1-D result is?&lt;/p&gt;

&lt;p&gt;Is this related to the problem that we use the background as an estimate for its variance? (population v. sample)?&lt;/p&gt;</comment>
                            <comment id="17803" author="price" created="Mon, 28 Sep 2020 18:18:51 +0000"  >&lt;p&gt;That&apos;s the first thing I&apos;m investigating. There may be other causes that I will chase down as well.&lt;/p&gt;

&lt;p&gt;I don&apos;t think this is related to how the variance is measured. At the moment, the question is how a single-pixel value of -0.14 with a variance of 21 gets extracted to a spectrum value of -1.0 with a variance of 0.11.&lt;/p&gt;</comment>
                            <comment id="17804" author="price" created="Mon, 28 Sep 2020 18:36:17 +0000"  >&lt;p&gt;Ah, I had mismatched the image and spectrum. The actual image value is -10.8 and variance of 12. That&apos;s a S/N of about 3, which matches the S/N in the spectrum. So that question is answered.&lt;/p&gt;

&lt;p&gt;Now, how is that single 3-sigma low value leaking into everything else?&lt;/p&gt;</comment>
                            <comment id="17805" author="price" created="Mon, 28 Sep 2020 20:18:23 +0000"  >&lt;p&gt;The low value is in a sky fiber, and so the low value is an ingredient for the 1D sky subtraction model, and the subtraction of a low value makes a high value.&lt;/p&gt;

&lt;p&gt;The 1D sky subtraction is using &lt;tt&gt;FitFocalPlaneTask.fit&lt;/tt&gt;, the docstring for which says:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
        This implementation is a placeholder, as it simply averages the input
        vectors instead of doing any real fitting or rejection of outliers, and
        no attention is paid to the position of the fibers on the focal plane.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I should add that there&apos;s no treatment of errors either.&lt;/p&gt;

&lt;p&gt;So I think I now understand what&apos;s causing the problem, and the solution is to replace &lt;tt&gt;FitFocalPlaneTask&lt;/tt&gt; with a proper implementation. We&apos;ll always be limited by the mere two sky fibers in the integration test, but we should be able to make that single bad pixel go away.&lt;/p&gt;</comment>
                            <comment id="17806" author="rhl" created="Mon, 28 Sep 2020 20:51:22 +0000"  >&lt;p&gt;If we need to add more sky fibres, let&apos;s do it. &#160;I&apos;d be OK with a 50:50 ratio for a test suite (as opposed to a guessed 20:80 sky:science on the sky)&lt;/p&gt;</comment>
                            <comment id="17809" author="price" created="Tue, 29 Sep 2020 00:30:16 +0000"  >&lt;p&gt;Debugging is done. Will be fixed on &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-635&quot; title=&quot;Improve FitFocalPlaneTask&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-635&quot;&gt;&lt;del&gt;PIPE2D-635&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="14902">PIPE2D-635</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="14521">PIPE1D-14</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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|zzs2rc:</customfieldvalue>

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