<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:51:46 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-358] DetectorMap updates should be global, not fiber-fiber</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-358</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;The method CalibrateWavelengthsTask.fitWavelengthSolution() updates the &lt;tt&gt;detectorMap&lt;/tt&gt; based on new arc data. The current implementation performs this update on a fiber-by-fiber basis. Change this such that the update is done globally, ie., across all fibers at once.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="13350">PIPE2D-358</key>
            <summary>DetectorMap updates should be global, not fiber-fiber</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</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="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Feb 2019 21:48:43 +0000</created>
                <updated>Mon, 4 Jan 2021 20:23:08 +0000</updated>
                            <resolved>Thu, 24 Sep 2020 22:18:21 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                <comments>
                            <comment id="17484" author="price" created="Wed, 29 Jul 2020 16:27:13 +0000"  >&lt;p&gt;I think I&apos;m done banging my head on this, having achieved sub-km/s RMS the first time I tried it on real data.&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.py /projects/HSC/PFS/Subaru --calib=/projects/HSC/PFS/Subaru/CALIB-price --rerun=price/pipe2d-358 --id visit=18577 arm=r

reduceArc.fitDetectorModel INFO: Final fit: chi2=224.346214 xRMS=0.053974 yRMS=0.028801 (0.002491 nm, 0.933024 km/s) from 217/219 lines
reduceArc.fitDetectorModel DEBUG:     Model: GlobalDetectorModel(fiberCenter=332.291, fiberPitch=-6.16892, wavelengthCenter=801.012, dispersion=0.0864977, ccdRotation=0.000517996, xy0=(2041.03,2033.31), xyGap=(-73.6047,-1.10033), xDistortion=[4.24904e-06, 1.00001, 0.000405752, 0.00712836, 0.000470946, -0.000308668, -0.000316134, 7.79662e-05, 0.00244859, -0.00012895, -0.0173589, 3.80331e-05, -0.000120442, 0.000253118, 0.000988404, 0.00270288, -0.000273452, 0.00385268, 0.000118333, 0.00362501, -6.42576e-05, 0.0104819, 0.000140662, -0.000116482, 0.000284904, 0.000243509, -0.000280598, -0.00170299, -0.00078614, 0.000144483, -0.00037612, 0.000243847, -0.00102174, -0.000428461, -0.0019592, 0.000739211], yDistortion=[-1.60052e-05, -6.0378e-05, 1.0001, 0.0230838, -0.000254465, 0.0155239, 0.000922278, 0.00384039, 0.000254343, 0.00468012, 0.00106382, -0.000126003, 6.11022e-05, -7.28816e-05, 0.00178635, -0.00259075, 0.00167231, -0.000269819, 0.00388316, -0.00045924, -0.00471183, -0.000660477, 2.17569e-05, 0.000296298, -2.79199e-05, 0.00026548, 0.000151485, -0.00347985, 0.00169531, -1.55191e-05, 6.43486e-05, -0.000480967, 0.000443129, -0.000266667, -0.000351572, 0.00844538], spatialOffsets=[0.0215725, -0.00138737, -0.0682133, 0.0424107, 0.13649, -0.328949, 1.56173, -0.647606, 0.0956323, -0.00854651], spectralOffsets=[0.00244941, 0.00160458, 0.00433619, 0.00566214, -0.00207837, -0.00204595, 0.00159544, -0.00268849, -0.000249456, -0.00165473])
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Just for fun, I&apos;ll note that the position of the right-hand CCD (&lt;tt&gt;xyGap=(-73.6047,-1.10033)&lt;/tt&gt;) is off horizontally by about 4.5 pixels from the design in the simulator (for which I get &lt;tt&gt;xyGap=(-69.2997,-0.000911715)&lt;/tt&gt;) and a whole pixel vertically misaligned with the left-hand CCD!&lt;/p&gt;

&lt;p&gt;Need to clean up and add tests.&lt;/p&gt;</comment>
                            <comment id="17485" author="cloomis" created="Wed, 29 Jul 2020 16:55:47 +0000"  >&lt;p&gt;Nice!&lt;/p&gt;

&lt;p&gt;Not sure whether it is worth pursuing, but the simulator adds 1.040 mm between the two detectors, based on the CCD and substrate design, plus an additional 20um measured physically on the CMM. Umm:&lt;/p&gt;

&lt;p&gt;interCcdGap = 1.040 # 31.440 (physical) - 30.720 (active) + 0.300 (physical gap) + 0.020 (observed)&lt;/p&gt;

&lt;p&gt;So an additional 60+um is a lot. &lt;/p&gt;

&lt;p&gt;The R1 FPA mechanical report does not really address the gap, just coplanarity and surface flatness. But I bet we can find measured data if we care.&lt;/p&gt;</comment>
                            <comment id="17486" author="rhl" created="Wed, 29 Jul 2020 17:44:53 +0000"  >&lt;p&gt;I don&apos;t think that we care much about the design or even as-built.  Only things visible in the data are of interest at this point.&lt;/p&gt;

&lt;p&gt;But how exciting.  Was that sub-km/s based on fitting to a set of arcs and measuring on another?&lt;/p&gt;</comment>
                            <comment id="17487" author="price" created="Wed, 29 Jul 2020 17:49:03 +0000"  >&lt;p&gt;No, it&apos;s the RMS from the solution on a single arc.&lt;/p&gt;</comment>
                            <comment id="17488" author="rhl" created="Wed, 29 Jul 2020 17:51:16 +0000"  >&lt;p&gt;That&apos;s good, but not quite sub-km/s accuracy yet.  Does this code produce debug/QA information on how it&apos;s tweaked things?&lt;/p&gt;</comment>
                            <comment id="17542" author="price" created="Fri, 14 Aug 2020 01:35:24 +0000"  >&lt;p&gt;This is a BIG change, adding &lt;tt&gt;GlobalDetectorMap&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="17549" author="price" created="Mon, 17 Aug 2020 18:29:16 +0000"  >&lt;p&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; requests that &lt;tt&gt;BaseDetectorMap&lt;/tt&gt; in the submitted patch be renamed as &lt;tt&gt;DetectorMap&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="17725" author="price" created="Thu, 24 Sep 2020 22:18:21 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13319">PIPE2D-340</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|02qprv:cg</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="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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>