<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:58:48 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-839] Make AdjustDetectorMapTask faster</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-839</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;&lt;tt&gt;AdjustDetectorMapTask&lt;/tt&gt; uses a low-order non-linear fit to adjust the detectorMap using the traces and lines, but this is slower than we would like (~ 70 sec for SuNSS on tiger). If we&apos;re close to the solution (as we should be if we&apos;re just doing an adjustment), then we should be able to switch to a linear fit with the traces converted to lines with a large y error, which would be much faster.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15610">PIPE2D-839</key>
            <summary>Make AdjustDetectorMapTask faster</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>Thu, 13 May 2021 19:42:11 +0000</created>
                <updated>Wed, 4 Aug 2021 01:57:58 +0000</updated>
                            <resolved>Wed, 4 Aug 2021 01:57:58 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="21744" author="price" created="Tue, 27 Jul 2021 17:31:05 +0000"  >&lt;p&gt;Also took the opportunity to deal with another tall pole (line masking in the continuum subtraction). These two together have reduced the runtime of &lt;tt&gt;reduceExposure.py&lt;/tt&gt; from 213.352 sec to 82.923 sec (2.5x).&lt;/p&gt;

&lt;p&gt;Tall poles are now centroiding, photometry, the new improved adjustDetectorMap and continuum subtraction:&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;
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.087    0.087   29.473   29.473 /home/pprice/pfs/drp_stella/python/pfs/drp/stella/centroidLines.py:72(run)
        1    0.000    0.000   24.689   24.689 /home/pprice/pfs/drp_stella/python/pfs/drp/stella/centroidLines.py:109(centroidLines)
        1    0.005    0.005   17.456   17.456 /home/pprice/pfs/drp_stella/python/pfs/drp/stella/photometerLines.py:56(run)
        1    0.015    0.015   15.279   15.279 /home/pprice/pfs/drp_stella/python/pfs/drp/stella/adjustDetectorMap.py:29(run)
2035/1764    0.012    0.000   13.718    0.008 {built-in method builtins.next}
       71    0.000    0.000   13.630    0.192 /tigress/HSC/PFS/stack/20190925/python/miniconda3-4.5.12/envs/lsst-scipipe/lib/python3.7/contextlib.py:107(__enter__)
        4    0.048    0.012   13.611    3.403 /home/pprice/pfs/drp_stella/python/pfs/drp/stella/fitContinuum.py:229(subtractionContext)
        2    1.576    0.788   13.563    6.782 /home/pprice/pfs/drp_stella/python/pfs/drp/stella/fitContinuum.py:197(subtractContinuum)
        1    0.026    0.026   11.837   11.837 /home/pprice/pfs/drp_stella/python/pfs/drp/stella/fitDistortedDetectorMap.py:453(fitDetectorDistortion)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;By running on the weekly (600 fibers), SuNSS data (251 fibers; flat-fielding disabled) and the integration test (15 fibers), we get a sense of how the runtime scales:&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;
nFibers runTime
600     170
251     67
15      29
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="21780" author="hassan" created="Wed, 4 Aug 2021 00:32:25 +0000"  >&lt;p&gt;Changes look fine. It looks to me that one change is what is documented in the commits as a &apos;linear solver&apos; where I see low-order terms being utilized. If I&apos;m correct, the commits might need to be re-phrased a little.&lt;/p&gt;</comment>
                            <comment id="21782" author="price" created="Wed, 4 Aug 2021 01:57:58 +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|zzs8a1:</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="115">2DDRP-2021 A 7</customfieldvalue>

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