<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:53:55 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-482]  reduceArc: multiple visits gives poorer result than single visit</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-482</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=naoki.yasuda&quot; class=&quot;user-hover&quot; rel=&quot;naoki.yasuda&quot;&gt;naoki.yasuda&lt;/a&gt; reports that despite &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-475&quot; title=&quot;Fix coaddition of spectra in ReduceArcTask.coaddSpectra&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-475&quot;&gt;&lt;del&gt;PIPE2D-475&lt;/del&gt;&lt;/a&gt; being fixed, he finds that when running &lt;tt&gt;reduceArc.py&lt;/tt&gt;, single visits at a time leads to a better result than multiple visits. The underlying problem needs to be investigated and fixed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14019">PIPE2D-482</key>
            <summary> reduceArc: multiple visits gives poorer result than single visit</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="10100" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="No further work should be done on this.">Won&apos;t Fix</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="price">price</assignee>
                                    <reporter username="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 Nov 2019 17:18:38 +0000</created>
                <updated>Mon, 4 Jan 2021 20:23:10 +0000</updated>
                            <resolved>Thu, 26 Mar 2020 16:13:38 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="16446" author="hassan" created="Wed, 27 Nov 2019 17:19:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=naoki.yasuda&quot; class=&quot;user-hover&quot; rel=&quot;naoki.yasuda&quot;&gt;naoki.yasuda&lt;/a&gt; Can you provide the visits you processed to this ticket please?&lt;/p&gt;</comment>
                            <comment id="16449" author="naoki.yasuda" created="Thu, 28 Nov 2019 01:09:21 +0000"  >&lt;p&gt;I have used visit=17071..17076 for multiple visits and visit=17075 for a single visit.&lt;/p&gt;

&lt;p&gt;Example output for multiple visits is like&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;
reduceArc.calibrateWavelengths INFO: FiberId 525, rms 0.070001 nm (0.817 pix) from 46/47 (0.087720 nm = 1.024 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 4 reserved points), 630.94-966.04 nm
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and for a single visit&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;
reduceArc.calibrateWavelengths INFO: FiberId 525, rms 0.004030 nm (0.047 pix) from 26/33 (0.004550 nm = 0.053 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 4 reserved points), 671.82-966.04 nm
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;RMS seems to be much smaller for a single visit.&lt;/p&gt;</comment>
                            <comment id="16876" author="price" created="Tue, 17 Mar 2020 15:17:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-476&quot; title=&quot;Combine arcs properly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-476&quot;&gt;&lt;del&gt;PIPE2D-476&lt;/del&gt;&lt;/a&gt; changed how &lt;tt&gt;reduceArc&lt;/tt&gt; works: it no longer coadds images, but measures lines on different images and then fits them all. I think that has more or less invalidated this ticket. To be sure, I ran on the same data. For the same fiber &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=naoki.yasuda&quot; class=&quot;user-hover&quot; rel=&quot;naoki.yasuda&quot;&gt;naoki.yasuda&lt;/a&gt; chose, I get for a single visit an RMS of 0.104 pixels, and for multiple visits, 0.077 pixels.&lt;/p&gt;

&lt;p&gt;Now, I don&apos;t think that this has solved everything. Line identification is sensitive to the choice of &lt;tt&gt;matchRadius&lt;/tt&gt;, which I think is primarily caused by slight errors in the detectorMap: it&apos;s been pointed out that we need to revise the bootstrap algorithm to account for the fact that the detector is actually a pair of CCDs. But I think that this exercise has demonstrated that there is now no longer a fundamental discrepancy between single and multiple visits.&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;
pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ mkdir DATA
pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ echo &lt;span class=&quot;code-quote&quot;&gt;&quot;lsst.obs.pfs.PfsMapper&quot;&lt;/span&gt; &amp;gt; DATA/_mapper
pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ makeDummyCableBDesign.py blue green red3 red6
pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ makeDummyCableBDesign.py green red1 red4 red6 red8
pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ makeDummyCableBDesign.py green red1 red4 red8
pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ ingestPfsImages.py DATA &lt;span class=&quot;code-quote&quot;&gt;&apos;/projects/HSC/PFS/LAM/raw/2019-0[45]-*/PFLA*.fits&apos;&lt;/span&gt; --pfsConfigDir .
pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ mkdir DATA/CALIB
(lsst-scipipe) pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ ingestCalibs.py DATA --calib DATA/CALIB/ ~/pfs/drp_pfs_data/detectorMap/detectorMap-2019Apr-r1.fits --validity 10000 --mode=copy
pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ pfs_build_calibs.sh -r calibs -C DATA/CALIB -c 8 -n -b visit=16562..16576 -d visit=16577..16606 -f visit=16612..16740:6 -F visit=16607 DATA

(lsst-scipipe) pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ reduceArc.py DATA --calib DATA/CALIB --rerun calibs/arc --id visit=17075 arm=r -j 8 -c identifyLines.matchRadius=0.5

reduceArc.calibrateWavelengths INFO: FiberId 2, rms 0.025042 nm (0.295 pix) from 29/33 (0.028162 nm = 0.332 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-966.04 nm
reduceArc.calibrateWavelengths INFO: Fiber 2: wavelength correction -0.004007 +/- 0.081546 nm
reduceArc.calibrateWavelengths INFO: FiberId 63, rms 0.004215 nm (0.049 pix) from 26/34 (0.006594 nm = 0.077 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 63: wavelength correction -0.077705 +/- 0.029938 nm
reduceArc.calibrateWavelengths INFO: FiberId 192, rms 0.003827 nm (0.045 pix) from 25/35 (0.003613 nm = 0.042 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-924.56 nm
reduceArc.calibrateWavelengths INFO: Fiber 192: wavelength correction -0.151087 +/- 0.016433 nm
reduceArc.calibrateWavelengths INFO: FiberId 255, rms 0.010412 nm (0.121 pix) from 28/35 (0.013162 nm = 0.153 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-949.85 nm
reduceArc.calibrateWavelengths INFO: Fiber 255: wavelength correction -0.151806 +/- 0.007621 nm
reduceArc.calibrateWavelengths INFO: FiberId 339, rms 0.012432 nm (0.144 pix) from 27/36 (0.008252 nm = 0.096 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 339: wavelength correction -0.070652 +/- 0.014877 nm
reduceArc.calibrateWavelengths INFO: FiberId 401, rms 0.010191 nm (0.118 pix) from 27/37 (0.007643 nm = 0.089 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 401: wavelength correction -0.092033 +/- 0.016596 nm
reduceArc.calibrateWavelengths INFO: FiberId 464, rms 0.005364 nm (0.062 pix) from 27/36 (0.005672 nm = 0.066 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 464: wavelength correction -0.115254 +/- 0.027879 nm
reduceArc.calibrateWavelengths INFO: FiberId 525, rms 0.008924 nm (0.104 pix) from 28/37 (0.008733 nm = 0.102 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 525: wavelength correction -0.100386 +/- 0.033164 nm
reduceArc.calibrateWavelengths INFO: FiberId 587, rms 0.002927 nm (0.034 pix) from 21/34 (0.003960 nm = 0.046 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-867.03 nm
reduceArc.calibrateWavelengths INFO: Fiber 587: wavelength correction -0.057718 +/- 0.059873 nm
reduceArc.calibrateWavelengths INFO: FiberId 650, rms 0.010758 nm (0.127 pix) from 28/34 (0.027379 nm = 0.322 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 650: wavelength correction -0.012630 +/- 0.042133 nm

(lsst-scipipe) pprice@tiger2-sumire:/scratch/pprice/pipe2d-482 $ reduceArc.py DATA --calib DATA/CALIB --rerun calibs/arc --id visit=17071..17076 arm=r -j 8 -c identifyLines.matchRadius=0.5

reduceArc.calibrateWavelengths INFO: FiberId 2, rms 0.005207 nm (0.061 pix) from 146/188 (0.004989 nm = 0.059 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 2: wavelength correction -0.000654 +/- 0.045689 nm
reduceArc.calibrateWavelengths INFO: FiberId 63, rms 0.009841 nm (0.115 pix) from 162/198 (0.004882 nm = 0.057 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 637.13-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 63: wavelength correction -0.071476 +/- 0.041218 nm
reduceArc.calibrateWavelengths INFO: FiberId 192, rms 0.003841 nm (0.045 pix) from 154/207 (0.002881 nm = 0.034 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 192: wavelength correction -0.151711 +/- 0.015886 nm
reduceArc.calibrateWavelengths INFO: FiberId 255, rms 0.004093 nm (0.048 pix) from 143/217 (0.005197 nm = 0.060 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-944.11 nm
reduceArc.calibrateWavelengths INFO: Fiber 255: wavelength correction -0.154494 +/- 0.006561 nm
reduceArc.calibrateWavelengths INFO: FiberId 339, rms 0.007517 nm (0.087 pix) from 165/218 (0.009047 nm = 0.105 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 339: wavelength correction -0.066522 +/- 0.012268 nm
reduceArc.calibrateWavelengths INFO: FiberId 401, rms 0.006458 nm (0.075 pix) from 157/223 (0.003695 nm = 0.043 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 401: wavelength correction -0.090638 +/- 0.019203 nm
reduceArc.calibrateWavelengths INFO: FiberId 464, rms 0.005982 nm (0.070 pix) from 161/228 (0.007797 nm = 0.091 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-952.89 nm
reduceArc.calibrateWavelengths INFO: Fiber 464: wavelength correction -0.117851 +/- 0.032010 nm
reduceArc.calibrateWavelengths INFO: FiberId 525, rms 0.006579 nm (0.077 pix) from 162/225 (0.006673 nm = 0.078 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-952.89 nm
reduceArc.calibrateWavelengths INFO: Fiber 525: wavelength correction -0.096714 +/- 0.032190 nm
reduceArc.calibrateWavelengths INFO: FiberId 587, rms 0.005941 nm (0.070 pix) from 161/218 (0.004300 nm = 0.050 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-935.68 nm
reduceArc.calibrateWavelengths INFO: Fiber 587: wavelength correction -0.064564 +/- 0.041166 nm
reduceArc.calibrateWavelengths INFO: FiberId 650, rms 0.006973 nm (0.082 pix) from 149/214 (0.006440 nm = 0.076 pix &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; 10 reserved points), 671.82-944.11 nm
reduceArc.calibrateWavelengths INFO: Fiber 650: wavelength correction -0.018627 +/- 0.044291 nm
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="16921" author="price" created="Mon, 23 Mar 2020 15:39:23 +0000"  >&lt;p&gt;I suggest we close this issue without any explicit fix.&lt;/p&gt;</comment>
                            <comment id="16952" author="hassan" created="Thu, 26 Mar 2020 16:13:38 +0000"  >&lt;p&gt;I think based on the changes Paul has outlined in his comments, we should close this ticket and create a new one if we find a similar problem.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13848">PIPE2D-475</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13850">PIPE2D-476</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|02qprw:08</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="68">2DDRP-2019 J</customfieldvalue>
    <customfieldvalue id="93">2DDRP-2021 A</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>