<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:56:57 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-725] Cosmic ray detection/masking fails for SuNSS data</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-725</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Running the repairTask on SuNSS data finds almost none of the many CRs in the data. Please fix this, or at least make it less bad.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="15296">PIPE2D-725</key>
            <summary>Cosmic ray detection/masking fails for SuNSS data</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="hassan">hassan</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                            <label>SuNSS</label>
                    </labels>
                <created>Tue, 16 Feb 2021 23:11:54 +0000</created>
                <updated>Wed, 17 Mar 2021 03:59:55 +0000</updated>
                            <resolved>Wed, 17 Mar 2021 03:59:43 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="18556" author="rhl" created="Wed, 17 Feb 2021 20:43:45 +0000"  >&lt;p&gt;The main problem appears to be a bad flat field with a large variance set. &#160;However, we&apos;ll need to tune params. &#160;I am running with&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;
config.interp.modelPsf.defaultFwhm = 3
config.cosmicray.nCrPixelMax = 5000000 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;(the second line isn&apos;t new)&lt;/p&gt;</comment>
                            <comment id="18557" author="price" created="Wed, 17 Feb 2021 20:49:22 +0000"  >&lt;p&gt;We don&apos;t have flats for SuNSS data.&lt;/p&gt;</comment>
                            <comment id="18560" author="rhl" created="Wed, 17 Feb 2021 21:36:17 +0000"  >&lt;p&gt;The problem was that you &lt;em&gt;did&lt;/em&gt; make flats for &lt;tt&gt;CALIB-price&lt;/tt&gt;, and they had a variance plane set.&lt;/p&gt;</comment>
                            <comment id="18561" author="price" created="Wed, 17 Feb 2021 21:38:41 +0000"  >&lt;p&gt;They were there from a previous experiment. This is an example of why I think it&apos;s important everyone is careful about what calibs they use.&lt;/p&gt;</comment>
                            <comment id="18562" author="rhl" created="Wed, 17 Feb 2021 21:41:43 +0000"  >&lt;p&gt;I agree that people have to be careful, but I think that that having an an official certified CALIB that we can all use is the way to do that.  I was not happy to be told, &quot;use CALIB-price&quot; but it&apos;s the current workflow.&lt;br/&gt;
We can revisit how we do this in a month when the new calibration production tooling is in place.&lt;/p&gt;</comment>
                            <comment id="18610" author="rhl" created="Fri, 26 Feb 2021 20:08:06 +0000"  >&lt;p&gt;Pushed CR params tuned for SuNSS&lt;/p&gt;

&lt;p&gt;This may break the simulator when merged to master, and we need to think about how to do this.  &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;&lt;/p&gt;</comment>
                            <comment id="18751" author="hassan" created="Fri, 5 Mar 2021 22:49:46 +0000"  >&lt;p&gt;The weekly unfortunately did break following the change to the &lt;tt&gt;obs_pfs&lt;/tt&gt; repo. This has been investigated and it turns out to be a problem in fibre identification, where fiber 480 is identified in both visits 35 and 37, and means that the fiberIds for these visits were not actually disjoint prior to being combined. Fiber 480 should not appear in visit 35 in accordance to the &lt;tt&gt;pfsConfig&lt;/tt&gt; for that visit, and inspecting the corresponding &lt;tt&gt;calExp&lt;/tt&gt;, is clearly a misidentification.&lt;/p&gt;

&lt;p&gt;This has now been investigated and fixed 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; in the &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-725&quot; title=&quot;Cosmic ray detection/masking fails for SuNSS data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-725&quot;&gt;&lt;del&gt;PIPE2D-725&lt;/del&gt;&lt;/a&gt; ticket branch of &lt;tt&gt;drp_stella&lt;/tt&gt; &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/commit/b39b96e2520f9c4d9beaab1810e44d58b1e897b5&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/drp_stella/commit/b39b96e2520f9c4d9beaab1810e44d58b1e897b5&lt;/a&gt; . &lt;/p&gt;

&lt;p&gt;The weekly build now completes successfully.&lt;/p&gt;</comment>
                            <comment id="18752" author="rhl" created="Fri, 5 Mar 2021 22:51:13 +0000"  >&lt;p&gt;Does this mean that you&apos;re allowing the slit offsets to float in the weekly?&lt;/p&gt;</comment>
                            <comment id="18753" author="hassan" created="Fri, 5 Mar 2021 22:59:16 +0000"  >&lt;p&gt;The detectorMap was good enough in this instance. The problem is more to do with finding the traces following a cosmic ray hit. Perhaps &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; can elaborate better.&lt;/p&gt;</comment>
                            <comment id="18754" author="rhl" created="Sat, 6 Mar 2021 00:07:10 +0000"  >&lt;p&gt;That&apos;s the point. &#160;If you tell the code to believe the traces, does it work? &#160;There are options for more general solutions, but we should never need to run them on real data.&lt;/p&gt;</comment>
                            <comment id="18757" author="price" created="Sat, 6 Mar 2021 21:52:50 +0000"  >&lt;p&gt;The problem was not related to the detectorMap. We could change the code to use the detectorMap centers in constructing the profile, which would make that more robust in the steady state, but &lt;tt&gt;constructFiberTrace&lt;/tt&gt; runs before &lt;tt&gt;reduceArc&lt;/tt&gt;, so we can&apos;t always assume we have a perfect detectorMap.&lt;/p&gt;</comment>
                            <comment id="18758" author="rhl" created="Sat, 6 Mar 2021 21:56:22 +0000"  >&lt;p&gt;I&apos;m confused. &#160;If we use the detectorMap how can we mis-identify fibres?&lt;/p&gt;

&lt;p&gt;And while I understand the bootstrap problem, in the vast majority of cases we &lt;em&gt;will&lt;/em&gt; have a good DetectorMap, the only exception being when we first bring a new detector online (or go from DCB to SuNSS or the PFI), and that&apos;s when we need to override trusting the DetectorMap.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="18759" author="price" created="Sat, 6 Mar 2021 22:37:03 +0000"  >&lt;p&gt;Currently, the detectorMap is only used for seeding the positions, and trace centroids are coming from the image.&lt;/p&gt;

&lt;p&gt;And it could be that we were running with blind find.&lt;/p&gt;</comment>
                            <comment id="18760" author="rhl" created="Sun, 7 Mar 2021 14:22:58 +0000"  >&lt;p&gt;Let&apos;s see if turning off blind find solves the problem, it should. &#160;Even blind find shouldn&apos;t be running fibre-by-fibre, but that&apos;s probably not worth fixing as using it is going to be very unusual. &#160;I have no problem in tweaking the centres, but identifying fibres is something that the detectorMap can do reliably.&lt;/p&gt;</comment>
                            <comment id="18878" author="hassan" created="Tue, 16 Mar 2021 23:46:23 +0000"  >&lt;p&gt;As mentioned during the internal Princeton group discussion on 2021-03-15: disabling the blind find does result in the weekly passing successfully. &lt;/p&gt;

&lt;p&gt;As proposed and agreed during that discussion: I will commit the configuration changes in obs_pfs made by RHL and myself, &lt;em&gt;and&lt;/em&gt; Paul&apos;s changes to drp_stella to make finding fibers more robust when blind find is enabled.&lt;/p&gt;</comment>
                            <comment id="18879" author="hassan" created="Wed, 17 Mar 2021 03:59:43 +0000"  >&lt;p&gt;Merged changes in &lt;tt&gt;obs_pfs&lt;/tt&gt; and {drp_stella}} to master (commits a7647e3 and 34406d3 respectively).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="15299">PIPE2D-728</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|02qpt6:508yl0chzzy000009</customfieldvalue>

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

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