<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:59:34 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-907] Solve profiles for multiple fibers simultaneously</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-907</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;If black spots are not perfect at hiding fibers and/or allow even a little light, then fiber profiles measured independently will be contaminated. &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; advocates measuring simultaneously in order to remove the contamination.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17205">PIPE2D-907</key>
            <summary>Solve profiles for multiple fibers simultaneously</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>Tue, 28 Sep 2021 18:41:40 +0000</created>
                <updated>Thu, 27 Apr 2023 18:30:46 +0000</updated>
                            <resolved>Thu, 27 Apr 2023 18:30:46 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="22553" author="price" created="Mon, 11 Oct 2021 19:27:17 +0000"  >&lt;p&gt;We&apos;re going to assume for starters that the black spots are grey (constant attenuation as a function of wavelength). We can&apos;t assume that the attenuation is identical for all fibers.&lt;/p&gt;</comment>
                            <comment id="22561" author="price" created="Thu, 14 Oct 2021 03:36:35 +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; has suggested that solving for the profiles might be done by matrix inversion. But it seems to me that the model is non-linear in the parameters, as we&apos;re fitting:&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;
flux(image, x, y) = A_{image, fiber} . B_{fiber, x, y}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;where &lt;tt&gt;A&lt;/tt&gt; is the normalisation for a particular fiber on a particular image, and &lt;tt&gt;B&lt;/tt&gt; is the fiber profile.&lt;/p&gt;

&lt;p&gt;If we were to fit &lt;tt&gt;log(flux)&lt;/tt&gt; the equation would be linear, but then it&apos;s not linear in flux and Bad Things would surely happen.&lt;/p&gt;

&lt;p&gt;One thing to think about is measuring a guess for &lt;tt&gt;A&lt;/tt&gt; directly from the data (e.g., starting with a narrow boxcar extraction) and solving for &lt;tt&gt;B&lt;/tt&gt;. Then we could iterate a few times in an attempt to atone for errors in our starting assumption.&lt;/p&gt;</comment>
                            <comment id="30403" author="price" created="Tue, 1 Feb 2022 18:39:26 +0000"  >&lt;p&gt;I&apos;ve come fairly close to getting this working well, but I&apos;ve hit a roadblock when fitting profiles in the integration test: the matrix solution is taking a crazy long time with the default solver, and other solvers either fail or segfault. But the matrices are fine when I run them through the Eigen sparse matrix benchmark program. I&apos;m hoping that a more recent version of Eigen will deal with whatever is causing this, so will put this back on the stack until after &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-598&quot; title=&quot;Upgrade base LSST stack to latest version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-598&quot;&gt;&lt;del&gt;PIPE2D-598&lt;/del&gt;&lt;/a&gt;, and deal with more pressing issues.&lt;/p&gt;</comment>
                            <comment id="30404" author="rhl" created="Tue, 1 Feb 2022 19:13:26 +0000"  >&lt;p&gt;Hmm.  Are you sure that there&apos;s not a memory problems somewhere?&lt;/p&gt;</comment>
                            <comment id="30405" author="price" created="Tue, 1 Feb 2022 19:55:35 +0000"  >&lt;p&gt;Thanks for the idea. I found a memory problem in my code, but fixing that didn&apos;t help the segfaults and such in the matrix solver.&lt;/p&gt;</comment>
                            <comment id="30406" author="rhl" created="Tue, 1 Feb 2022 20:34:31 +0000"  >&lt;p&gt;You shouldn&apos;t be able to get segfaults from a bad matrix, especially if it solves stand-alone.&lt;/p&gt;</comment>
                            <comment id="32479" author="arnaud.lefur" created="Mon, 27 Mar 2023 17:25:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=price&quot; class=&quot;user-hover&quot; rel=&quot;price&quot;&gt;price&lt;/a&gt; Where do we stand on merging this ?&lt;/p&gt;</comment>
                            <comment id="32630" author="price" created="Thu, 27 Apr 2023 18:30:46 +0000"  >&lt;p&gt;Merged a couple of weeks ago.&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|02qph7:07a</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="122">2DDRP-2021 A 10</customfieldvalue>
    <customfieldvalue id="125">2DDRP-2021 A11</customfieldvalue>
    <customfieldvalue id="130">2DDRP-2022 A</customfieldvalue>
    <customfieldvalue id="162">2DDRP-2023 A</customfieldvalue>

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