<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:48:50 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-138] Fix FiberId identification</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-138</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Please change the FiberId identification in FiberTrace::assignITrace and FiberTrace::findITrace&lt;br/&gt;
so it assigns the ID of the closest Fiber found in redFiberPixels.fits.gz/redFiberTraces.fits.&lt;/p&gt;</description>
                <environment></environment>
        <key id="11378">PIPE2D-138</key>
            <summary>Fix FiberId identification</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</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="aritter">aritter</assignee>
                                    <reporter username="aritter">aritter</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Dec 2016 03:22:44 +0000</created>
                <updated>Tue, 13 Jun 2017 01:55:23 +0000</updated>
                            <resolved>Tue, 13 Jun 2017 01:55:23 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="11729" author="swinbank" created="Mon, 9 Jan 2017 17:59:46 +0000"  >&lt;p&gt;We discussed this at the 2017-01-09 meeting. The existing tickets/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-138&quot; title=&quot;Fix FiberId identification&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-138&quot;&gt;&lt;del&gt;PIPE2D-138&lt;/del&gt;&lt;/a&gt; branch contains a single giant commit with a lot of unrelated work. We agreed that @aritter will (in priority order):&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Pull out just the work related to FiberId identification and handle it on this ticket;&lt;/li&gt;
	&lt;li&gt;File other tickets to describe the purely mechanical work (adding line lists, etc) which are currently included in the giant commit, and send them out for review separately;&lt;/li&gt;
	&lt;li&gt;File another ticket to describe the overall strategy for wavelength calibration at LAM, and provide a description there of the approach which is going to be taken. We will review this at a future meeting.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="11748" author="aritter" created="Thu, 12 Jan 2017 19:29:40 +0000"  >&lt;p&gt;I changed `findITrace` to return the number of the closest predicted FiberTrace. This function will&lt;br/&gt;
now always return a positive number, so I also changed the return type from int to size_t and the return type of `assignITrace` from bool to void.&lt;/p&gt;</comment>
                            <comment id="11764" author="swinbank" created="Wed, 18 Jan 2017 17:47:00 +0000"  >&lt;p&gt;Per discussion of 2017-01-18,&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Point 1 above has been done, and is now on this ticket.&lt;/li&gt;
	&lt;li&gt;Points 2 &amp;amp; 3 have not been addressed.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="11765" author="swinbank" created="Wed, 18 Jan 2017 17:51:36 +0000"  >&lt;p&gt;Points 2 &amp;amp; 3 to be attacked on &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-148&quot; title=&quot;describe overall strategy for the wavelength calibration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-148&quot;&gt;&lt;del&gt;PIPE2D-148&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="11766" author="swinbank" created="Wed, 18 Jan 2017 17:53:59 +0000"  >&lt;p&gt;The single giant commit which was on this ticket branch is now on branch &lt;tt&gt;PFSMeeting&lt;/tt&gt;: &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/tree/PFSMeeting&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/drp_stella/tree/PFSMeeting&lt;/a&gt; in separate commits (but Andreas assures me we are not losing anything).&lt;/p&gt;</comment>
                            <comment id="11849" author="aritter" created="Fri, 10 Feb 2017 02:46:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=swinbank&quot; class=&quot;user-hover&quot; rel=&quot;swinbank&quot;&gt;swinbank&lt;/a&gt;, if you haven&apos;t started reviewing the ticket yet, I would have 1 more commit to add which I found stashed away, replacing one number with a control parameter&lt;/p&gt;</comment>
                            <comment id="11852" author="swinbank" created="Fri, 10 Feb 2017 15:31:53 +0000"  >&lt;p&gt;Fine. I&apos;ll set the ticket back to &quot;in progress&quot;; please let me know (by setting the ticket to &quot;in review&quot;) when your additional commit is added.&lt;/p&gt;</comment>
                            <comment id="11912" author="swinbank" created="Wed, 22 Feb 2017 13:52:26 +0000"  >&lt;p&gt;In addition to the comments on GitHub:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I don&apos;t see tests. Specifically, I&apos;d like to see tests which demonstrate that each individual function does what you expect &lt;b&gt;and&lt;/b&gt; an overall integration test. You should be able to test (for example) &lt;tt&gt;findITrace&lt;/tt&gt; with a variety of different inputs and demonstrate that it always returns the correct trace.&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/15/commits/9072604e4bee80fe8b6ebf488ce9557144ff011e&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;9072604e4bee80fe8b6ebf488ce9557144ff011e&lt;/a&gt; is broken: it garbles the argument list of &lt;tt&gt;assignITrace&lt;/tt&gt;. You then fix it in a later commit, but that&apos;s not good enough: the code should compile after each atomic change.&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/15/commits/9072604e4bee80fe8b6ebf488ce9557144ff011e&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;9072604e4bee80fe8b6ebf488ce9557144ff011e&lt;/a&gt; has a misleading commit message: it refers to &lt;tt&gt;yCenter&lt;/tt&gt;, but the argument is actually &lt;tt&gt;yCenters&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;Why are &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/15/commits/c08dcb427617691d2a47cb84a54c83e3937b16e5&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;c08dcb427617691d2a47cb84a54c83e3937b16e5&lt;/a&gt; and &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/15/commits/baf1012421a0ca1f9922487b359cb7e6668b9a9d&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;baf1012421a0ca1f9922487b359cb7e6668b9a9d&lt;/a&gt; separate commits? If you are changing the return type to reflect changes in the logic of the function, why aren&apos;t you changing the return type &lt;b&gt;at the same time&lt;/b&gt; as you change the logic?&lt;/li&gt;
	&lt;li&gt;The formatting of the commit message in &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/15/commits/2f20a2ff6fa1f1a9868b3a8420e7d0760c3de260&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;2f20a2ff6fa1f1a9868b3a8420e7d0760c3de260&lt;/a&gt; is incorrect (there&apos;s a weird extra new line).&lt;/li&gt;
	&lt;li&gt;In &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/15/commits/2f20a2ff6fa1f1a9868b3a8420e7d0760c3de260&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;2f20a2ff6fa1f1a9868b3a8420e7d0760c3de260&lt;/a&gt; you add the &lt;tt&gt;maxDistance&lt;/tt&gt; parameter. However, I can&apos;t find anywhere that that parameter is actually used! I&apos;m not sure whether that&apos;s because there&apos;s something more subtle here than I understand, or whether you forgot. Can you clarify, please? (And as per the first point above: this functionality should be tested, so I can see that it works by just checking that the test runs.)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="11913" author="swinbank" created="Wed, 22 Feb 2017 13:53:13 +0000"  >&lt;p&gt;Mostly quite minor comments, here and on GitHub. However, the lack of tests is a big problem, and I&apos;d like to understand properly how &lt;tt&gt;maxDistance&lt;/tt&gt; is being used.&lt;/p&gt;</comment>
                            <comment id="11948" author="aritter" created="Wed, 22 Mar 2017 00:45:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=swinbank&quot; class=&quot;user-hover&quot; rel=&quot;swinbank&quot;&gt;swinbank&lt;/a&gt;, I just found out that the fiber IDs in &lt;tt&gt;RedFiberPixels.fits.gz&lt;/tt&gt; contain gaps what requires a code change in order to get the correct fiber IDs. I would shortly move this ticket back to &apos;In Progress&apos; and fix that unless you have any objections...&lt;/p&gt;</comment>
                            <comment id="11949" author="aritter" created="Wed, 22 Mar 2017 00:52:33 +0000"  >&lt;p&gt;According to &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt; the slit has more positions than there are science fibers, and the&lt;br/&gt;
pipelines will only see the science fibers.&lt;br/&gt;
The missing fiber IDs are gaps (between the two CCDs, say), fiducial fibers, alignment fibers, etc.&lt;br/&gt;
It was decided to number all fibers according to the &lt;em&gt;slit&lt;/em&gt; position, and not, say, the science fiber index.&lt;/p&gt;</comment>
                            <comment id="11950" author="cloomis" created="Wed, 22 Mar 2017 00:53:00 +0000"  >&lt;p&gt;That&apos;s from me, and I figure I should state the convention: fibers are numbered according to their position along the slit, and not according to their index as visible science fibers. Besides the science fibers which the pipeline sees, there are gaps between fiber bundles and between the two CCDs, and there are other fibers &amp;#8211; fiducial alignments fibers, etc.&lt;/p&gt;

&lt;p&gt;So all of PFS numbers fibers from 1 to 651, even though there are only ~600 science fibers per spectrograph.&lt;/p&gt;</comment>
                            <comment id="11951" author="aritter" created="Wed, 22 Mar 2017 01:42:04 +0000"  >&lt;p&gt;I think you mean &lt;span class=&quot;error&quot;&gt;&amp;#91;-324, 324&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="11952" author="rhl" created="Wed, 22 Mar 2017 02:01:24 +0000"  >&lt;p&gt;I thought that fibres start at 1.  What did &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt; mean?&lt;/p&gt;</comment>
                            <comment id="11953" author="swinbank" created="Wed, 22 Mar 2017 14:19:02 +0000"  >&lt;p&gt;I&apos;ve set this back to &quot;in review&quot; &#8212; as suggested by @aritter above &#8212; until the above issues are resolved.&lt;/p&gt;</comment>
                            <comment id="11954" author="cloomis" created="Wed, 22 Mar 2017 14:57:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt; meant what he said, but 1) left out the 1-indexing and 2) got the numbers wrong. Yes, the fibers &lt;em&gt;should&lt;/em&gt; be numbered from 1 to 651, and the science fibers span 2 to 650&lt;/p&gt;

&lt;p&gt;The file which &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=aritter&quot; class=&quot;user-hover&quot; rel=&quot;aritter&quot;&gt;aritter&lt;/a&gt; has is not correct, as it is still indexed w.r.t. the center being 0.&lt;/p&gt;</comment>
                            <comment id="12226" author="rhl" created="Tue, 6 Jun 2017 21:38:42 +0000"  >&lt;p&gt;I didn&apos;t check that the code is correct.&lt;/p&gt;

&lt;p&gt;Please look at the review comments and deal with as appropriate.  Sometimes this means filling a ticket.&lt;/p&gt;</comment>
                            <comment id="12244" author="aritter" created="Tue, 13 Jun 2017 01:55:23 +0000"  >&lt;p&gt;Merged into master&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="11379">PIPE2D-139</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="11443">PIPE2D-148</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|ii00v2:zi</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>rhl</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="22">2014-16</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>