<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:00:03 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-936] SplinedDetectorMap::findFiberId is broken</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-936</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;With the bootstrapped PFI detectorMap from &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-933&quot; title=&quot;Fix normalisation of extracted spectra&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-933&quot;&gt;&lt;del&gt;PIPE2D-933&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=rhl&quot; class=&quot;user-hover&quot; rel=&quot;rhl&quot;&gt;rhl&lt;/a&gt; reports that &lt;tt&gt;findFiberId&lt;/tt&gt; produces obviously-wrong results:&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;
y = 2945
&lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; x in [97, 692, 711, 2602]:
    print(f&lt;span class=&quot;code-quote&quot;&gt;&quot;({x},{y}) {detMap.findFiberId(geom.PointD(x, y))}&quot;&lt;/span&gt;)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;produces:&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;
(97, 2945) 315
(692, 2945) 315
(711, 2945) 315
(2602, 2945) 231
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="18327">PIPE2D-936</key>
            <summary>SplinedDetectorMap::findFiberId is broken</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, 8 Nov 2021 19:27:10 +0000</created>
                <updated>Wed, 10 Nov 2021 20:41:23 +0000</updated>
                            <resolved>Wed, 10 Nov 2021 20:41:23 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="24991" author="price" created="Wed, 10 Nov 2021 16:51:46 +0000"  >&lt;p&gt;Note that this only occurs with the &lt;tt&gt;SplinedDetectorMap&lt;/tt&gt; that we use for the simulator-derived and bootstrapped detectorMaps. Other subclasses of &lt;tt&gt;DetectorMap&lt;/tt&gt; (in particular the &lt;tt&gt;DoubleDetectorMap&lt;/tt&gt; we generally use, derived from fitting arc lines and sky lines) use a different implementation of &lt;tt&gt;findFiberId&lt;/tt&gt;. So this bug should not be seen in the wild if we&apos;re using the right detectorMaps.&lt;/p&gt;</comment>
                            <comment id="25005" author="price" created="Wed, 10 Nov 2021 20:05:22 +0000"  >&lt;p&gt;Dumped the &lt;tt&gt;SplinedDetectorMap::findFiberId&lt;/tt&gt; implementation, and moved the &lt;tt&gt;ModelBasedDetectorMap::findFiberId&lt;/tt&gt; into the base class for all to use.&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;
pfs@52d67892cb5d:~/pfs/drp_stella (tickets/PIPE2D-936=) $ python -c &lt;span class=&quot;code-quote&quot;&gt;&apos;from pfs.drp.stella &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; DetectorMap; from lsst.geom &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; Point2D; detMap = DetectorMap.readFits(&lt;span class=&quot;code-quote&quot;&gt;&quot;pfsDetectorMap-068100-r1.fits&quot;&lt;/span&gt;); print(detMap.findFiberId(Point2D(97, 2945)), detMap.findFiberId(Point2D(711, 2945)), detMap.getXCenter(647, 2945), detMap.getXCenter(548, 2945))&apos;&lt;/span&gt;
647 548 97.01797764634567 711.3482153210797
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="25006" author="price" created="Wed, 10 Nov 2021 20:22:25 +0000"  >&lt;p&gt;Merged.&lt;/p&gt;</comment>
                    </comments>
                    <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|zzs9ul:xj</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="125">2DDRP-2021 A11</customfieldvalue>

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