<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:36:05 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>[PIPE1D-63] Bad redshift measurements again?</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE1D-63</link>
                <project id="10700" key="PIPE1D">DRP 1D pipeline</project>
                    <description>&lt;p&gt;The latest weekly test shows there seems to be the redshift measurement failure. The &lt;em&gt;Z&lt;/em&gt;&#160;feature looks like what was seen in&#160;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE1D-51&quot; title=&quot;Bad redshift determination with version 0.22.0?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE1D-51&quot;&gt;&lt;del&gt;PIPE1D-51&lt;/del&gt;&lt;/a&gt;. So, this may be due to something in the mask treatment. I&apos;ll take a look into this in more details but please investigate the issue in your side.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://pfs.ipmu.jp/internal/devarch/ipmu/pipe_e2e_extended/check_results/check_redshift_determination_w.2022.29_0.32.1+_0.32.1.pdf&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://pfs.ipmu.jp/internal/devarch/ipmu/pipe_e2e_extended/check_results/check_redshift_determination_w.2022.29_0.32.1+_0.32.1.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="22879">PIPE1D-63</key>
            <summary>Bad redshift measurements again?</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="ali.allaoui">Ali Allaoui</assignee>
                                    <reporter username="kiyoto.yabe">Kiyoto Yabe</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Jul 2022 10:59:06 +0000</created>
                <updated>Thu, 1 Dec 2022 01:43:44 +0000</updated>
                            <resolved>Thu, 1 Dec 2022 01:43:44 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                            <comment id="31170" author="vlebrun" created="Wed, 20 Jul 2022 14:37:54 +0000"  >&lt;p&gt;The problem seems to arise from a more noisy red part of the spectrum (see&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15236/15236_weekly_20220718.png&quot; title=&quot;weekly_20220718.png attached to PIPE1D-63&quot;&gt;weekly_20220718.png&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&#160;as compared to&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15237/15237_weekly_20220708.png&quot; title=&quot;weekly_20220708.png attached to PIPE1D-63&quot;&gt;weekly_20220708.png&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;), and the noise seems to be underestimated (see&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15235/15235_weekly_20220708_zoom.png&quot; title=&quot;weekly_20220708_zoom.png attached to PIPE1D-63&quot;&gt;weekly_20220708_zoom.png&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;) , hence it modifies the balance between solutions and produces errors&lt;/p&gt;</comment>
                            <comment id="31171" author="price" created="Wed, 20 Jul 2022 15:39:32 +0000"  >&lt;p&gt;There was a fix to the variances applied during sky subtraction made as part of &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1055&quot; title=&quot;Fix weekly failure 2022-06-12&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1055&quot;&gt;&lt;del&gt;PIPE2D-1055&lt;/del&gt;&lt;/a&gt; that merged on 2022-07-12. I was fairly sure that fix was an improvement, but I&apos;ll take another look.&lt;/p&gt;</comment>
                            <comment id="31173" author="price" created="Wed, 20 Jul 2022 20:35:47 +0000"  >&lt;p&gt;The attachment &lt;tt&gt;pfsObject-00006-00000-0,0-00000000000103dd-002-0x11fcdfd13c364618.jpg&lt;/tt&gt; shows the pfsObject spectrum of interest from the 2022-07-17 weekly that ran on Tiger. The black line is the flux, while the two dotted red lines are flux +/- sqrt(variance). The divot around 680 nm is a 3-sigma deviation for a single pixel, but that can&apos;t be statistically significant as a line detection. I failed to find any problems in the &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1055&quot; title=&quot;Fix weekly failure 2022-06-12&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1055&quot;&gt;&lt;del&gt;PIPE2D-1055&lt;/del&gt;&lt;/a&gt; fixes. I think I need a more detailed description about the problem before I can track it down on the 2D side.&lt;/p&gt;</comment>
                            <comment id="31177" author="vlebrun" created="Thu, 21 Jul 2022 09:15:38 +0000"  >&lt;p&gt;I have put another zoomed view, where there is a huge spike (about 1000 times above mean value) which is as well around 3sigma, and which might an effect on the continuum.&lt;/p&gt;

&lt;p&gt;I have also identified a star spectrum where the variance is obviously wrong especially around 10000A :&#160; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15241_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15241/15241_Significant_spikes.png&quot; title=&quot;Significant_spikes.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15241&quot; file-preview-title=&quot;Significant_spikes.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15240/_thumb_15240.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="31178" author="vlebrun" created="Thu, 21 Jul 2022 10:07:58 +0000"  >&lt;p&gt;yet another example of significant features that are mistaken for lines :&#160; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15242_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15242/15242_Mask_10000A.png&quot; title=&quot;Mask_10000A.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15242&quot; file-preview-title=&quot;Mask_10000A.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15241/_thumb_15241.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="31179" author="price" created="Thu, 21 Jul 2022 16:07:29 +0000"  >&lt;p&gt;There are enough pixels in the spectra that 3 and 4 sigma single-pixel spikes will be plentiful. I don&apos;t think there&apos;s anything we can do about that. That star spectrum looks problematic though.&lt;/p&gt;</comment>
                            <comment id="31180" author="price" created="Thu, 21 Jul 2022 18:55:54 +0000"  >&lt;p&gt;The problems with the star spectrum are due to overzealous CR masking, which is a known problem. The simulator produces sharper features than the actual instrument does, so fiber traces often get mis-identified as CRs. This is especially bad in the NIR, where there are lots of bright sky lines, and when working with bright targets. Filed &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1063&quot; title=&quot;Tune CR parameters for simulator data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1063&quot;&gt;&lt;del&gt;PIPE2D-1063&lt;/del&gt;&lt;/a&gt; to tune the CR parameters.&lt;/p&gt;</comment>
                            <comment id="31181" author="price" created="Thu, 21 Jul 2022 19:00:34 +0000"  >&lt;p&gt;Oh, I should point out that most of the pixels in the drop-out region between 1000 and 1020 nm are masked, but that is not apparent from your plots. It would be helpful if masked pixels were readily distinguishable (or not plotted at all) in your plots, if we are going to use them to find problems.&lt;/p&gt;</comment>
                            <comment id="31184" author="vlebrun" created="Fri, 22 Jul 2022 09:21:56 +0000"  >&lt;p&gt;As for the mask, we take them into account, the point is that the valid pixels are related by lines in out plots. That explains these straight lines over large intervals on this plot&#160; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15243_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15243/15243_IsolatedPixelsGalaxies.png&quot; title=&quot;IsolatedPixelsGalaxies.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15243&quot; file-preview-title=&quot;IsolatedPixelsGalaxies.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15242/_thumb_15242.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;but there are valid pixels with underestimated variance. If this is due to the specific star spectra problem then fine, but indeed we use the masks. More generally, I wonder if this is worth keeping single isolated pixels between large masked intervals, how sure can we be they are really valid ?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="31185" author="vlebrun" created="Fri, 22 Jul 2022 09:54:48 +0000"  >&lt;p&gt;It appears those isolated unmasked pixels with huge flux and underestimated variance also occur in galaxy spectra&#160; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15245_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15245/15245_mask_w.2022.28.png&quot; title=&quot;mask_w.2022.28.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15245&quot; file-preview-title=&quot;mask_w.2022.28.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15243/_thumb_15243.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;and then are mistaken for emission lines.&#160;&lt;/p&gt;</comment>
                            <comment id="31187" author="kiyoto.yabe" created="Thu, 28 Jul 2022 06:22:21 +0000"  >&lt;p&gt;Sorry for this basic question, but there are two mask columns (one in HDU2 and the other in HDU8). Which mask is &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=vlebrun&quot; class=&quot;user-hover&quot; rel=&quot;vlebrun&quot;&gt;vlebrun&lt;/a&gt;&#160;using after all discussion in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE1D-53&quot; title=&quot;[0.24.0] Mask values no properly used&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE1D-53&quot;&gt;&lt;del&gt;PIPE1D-53&lt;/del&gt;&lt;/a&gt;? I found that HDU2 was very different between w.2022.28 and w.2022.29 (and after). No, we are just seeing there are almost no mask in blue and red? Anyway, I still don&apos;t quite understand the difference between HDU2 and HDU8 masks.&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15244_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15244/15244_mask_w.2022.29.png&quot; title=&quot;mask_w.2022.29.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15244&quot; file-preview-title=&quot;mask_w.2022.29.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15245/_thumb_15245.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15244_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15244/15244_mask_w.2022.29.png&quot; title=&quot;mask_w.2022.29.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15244&quot; file-preview-title=&quot;mask_w.2022.29.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15244/_thumb_15244.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="31188" author="ali.allaoui" created="Thu, 28 Jul 2022 08:39:20 +0000"  >&lt;p&gt;drp1d_pipe pfsobject reader uses PfsObject class to read fits ( &lt;a href=&quot;https://github.com/Subaru-PFS/drp_1dpipe/blob/master/drp_1dpipe/io/reader.py&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/drp_1dpipe/blob/master/drp_1dpipe/io/reader.py&lt;/a&gt;) and we use this reader to convert pfs objects files to our format in the weekly run.&lt;/p&gt;</comment>
                            <comment id="31191" author="kiyoto.yabe" created="Fri, 29 Jul 2022 00:14:22 +0000"  >&lt;p&gt;OK, thank you. So, you use basically pfsObject.mask which corresponds to HDU2 on the plots above, I guess. Then, I&apos;m not sure if spectra are masked properly or not.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22882">PIPE2D-1063</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22887">PIPE1D-64</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22888">PIPE1D-65</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="15243" name="IsolatedPixelsGalaxies.png" size="65772" author="vlebrun" created="Fri, 22 Jul 2022 09:54:08 +0000"/>
                            <attachment id="15242" name="Mask_10000A.png" size="73445" author="vlebrun" created="Fri, 22 Jul 2022 09:18:15 +0000"/>
                            <attachment id="15245" name="mask_w.2022.28.png" size="187913" author="kiyoto.yabe" created="Thu, 28 Jul 2022 06:20:08 +0000"/>
                            <attachment id="15244" name="mask_w.2022.29.png" size="136375" author="kiyoto.yabe" created="Thu, 28 Jul 2022 06:20:03 +0000"/>
                            <attachment id="15238" name="pfsObject-00006-00000-0,0-00000000000103dd-002-0x11fcdfd13c364618.jpg" size="188183" author="price" created="Wed, 20 Jul 2022 20:22:57 +0000"/>
                            <attachment id="15241" name="Significant_spikes.png" size="64404" author="vlebrun" created="Thu, 21 Jul 2022 10:07:43 +0000"/>
                            <attachment id="15239" name="weekly18072022_spike.png" size="62827" author="vlebrun" created="Thu, 21 Jul 2022 08:28:23 +0000"/>
                            <attachment id="15240" name="weekly20020718_star_wrongvariance.png" size="171407" author="vlebrun" created="Thu, 21 Jul 2022 08:59:08 +0000"/>
                            <attachment id="15237" name="weekly_20220708.png" size="113926" author="vlebrun" created="Wed, 20 Jul 2022 14:36:15 +0000"/>
                            <attachment id="15235" name="weekly_20220708_zoom.png" size="134312" author="vlebrun" created="Wed, 20 Jul 2022 14:36:13 +0000"/>
                            <attachment id="15236" name="weekly_20220718.png" size="151961" author="vlebrun" created="Wed, 20 Jul 2022 14:36:15 +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|zzsuc7:</customfieldvalue>

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