<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:53:49 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-472] Strategy for determining traces from non-odd/even high-density fiber data</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-472</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;In the ideal case, in order to determine the traces for high-density fiber data, two quartz exposures need to be prepared, one with the even-numbered fibers illuminated, and the other with the alternate odd-numbered fibers illuminated.&lt;/p&gt;

&lt;p&gt;However, this has not been possible for recent high-density fiber data from LAM. Please develop a rough strategy of determining the traces from such data in order to reduce those data.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13838">PIPE2D-472</key>
            <summary>Strategy for determining traces from non-odd/even high-density fiber data</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="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Nov 2019 20:25:51 +0000</created>
                <updated>Mon, 4 Jan 2021 20:23:09 +0000</updated>
                            <resolved>Fri, 26 Jun 2020 18:15:27 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="16798" author="price" created="Wed, 4 Mar 2020 19:53:13 +0000"  >&lt;p&gt;My plan is to get a rough analytical fit to the spatial profile from low-density fiber data, and use that whenever high-density fiber data restricts the spatial range.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hassan&quot; class=&quot;user-hover&quot; rel=&quot;hassan&quot;&gt;hassan&lt;/a&gt; recommends looking at &quot;visits 436..441 . Under /projects/HSC/PFS/Subaru/raw/pfs/2019-12-17/ on the Princeton cluster.&quot;&lt;/p&gt;</comment>
                            <comment id="17318" author="price" created="Mon, 15 Jun 2020 19:55:49 +0000"  >&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;
detrend.py /projects/HSC/PFS/Subaru --calib /projects/HSC/PFS/Subaru/CALIB-price --rerun price/pipe2d-472/fiberTraces --id visit=448 -c isr.doFlat=False
measureFiberProfile.py /projects/HSC/PFS/Subaru --calib /projects/HSC/PFS/Subaru/CALIB-price/ --rerun price/pipe2d-472/fiberTraces --id visit=448 arm=r -c buildFiberTraces.profileRadius=7 --log measureFiberProfile.buildFiberTraces=DEBUG
constructFiberTrace.py /projects/HSC/PFS/Subaru --calib /projects/HSC/PFS/Subaru/CALIB-price --rerun price/pipe2d-472/fiberTraces --id visit=455 arm=r -C constructFiberTrace-config.py --batch-type=none
ingestCalibs.py /projects/HSC/PFS/Subaru --calib /projects/HSC/PFS/Subaru/CALIB-price /projects/HSC/PFS/Subaru/rerun/price/pipe2d-472/fiberTraces/FIBERTRACE/pfsFiberTrace-2019-12-17-000455-r1.fits --validity 1000
reduceExposure.py /projects/HSC/PFS/Subaru --calib /projects/HSC/PFS/Subaru/CALIB-price --rerun price/pipe2d-472/fiberTraces --id visit=453..457 arm=r
plotArm.py /projects/HSC/PFS/Subaru --calib /projects/HSC/PFS/Subaru/CALIB-price --rerun price/pipe2d-472/fiberTraces --id visit=453..457 arm=r --filename &lt;span class=&quot;code-quote&quot;&gt;&apos;spectra-%(visit)d-%(arm)s%(spectrograph)d.png&apos;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;All the extracted spectra from 455 are unity +/- epsilon (with epsilon ~ 2e-8), as expected.&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;
&amp;gt;&amp;gt;&amp;gt; butler = Butler(&lt;span class=&quot;code-quote&quot;&gt;&quot;/projects/HSC/PFS/Subaru/rerun/price/pipe2d-472/fiberTraces&quot;&lt;/span&gt;)
&amp;gt;&amp;gt;&amp;gt; ss = butler.get(&lt;span class=&quot;code-quote&quot;&gt;&quot;pfsArm&quot;&lt;/span&gt;, visit=457, arm=&lt;span class=&quot;code-quote&quot;&gt;&quot;r&quot;&lt;/span&gt;)
&amp;gt;&amp;gt;&amp;gt; ss.flux[ss.mask == 0].mean()  # exposure time is twice that of 455, so expect 2
2.005703
&amp;gt;&amp;gt;&amp;gt; ss.flux[ss.mask == 0].std()
0.08082811
&amp;gt;&amp;gt;&amp;gt; np.percentile(ss.flux[ss.mask == 0], (25.0, 75.0))
array([1.99344251, 2.01826459])
&amp;gt;&amp;gt;&amp;gt; 0.741*(2.01826459-1.99344251)
0.018393161279999893
&amp;gt;&amp;gt;&amp;gt; np.sqrt(ss.variance[ss.mask == 0].mean())
0.0118158533126398
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So noise is not too crazy. Outliers (std &lt;span class=&quot;error&quot;&gt;Unable to render embedded object: File (= robust std) are likely due to CRs (1200 sec exposure) not found.&lt;/span&gt;).&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;constructFiberTrace-config.py&lt;/tt&gt; is:&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;
from pfs.drp.stella.extendFiberProfile &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; BuildExtendedFiberTracesTask
from pfs.drp.stella.buildFiberTraces &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; BuildFiberTracesTask
config.trace.retarget(BuildExtendedFiberTracesTask)
config.trace.filename = &lt;span class=&quot;code-quote&quot;&gt;&quot;profile-448-r1.pkl&quot;&lt;/span&gt;
config.trace.profileRadius = 2
config.trace.centroidRadius = 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="17319" author="price" created="Mon, 15 Jun 2020 19:57:47 +0000"  >&lt;p&gt;Did some optimisation of the new &lt;tt&gt;BuildFiberTraceTask&lt;/tt&gt; so it wouldn&apos;t take forever on dense fiber data, and added new code to be able to extract spectra on dense fiber data.&lt;/p&gt;</comment>
                            <comment id="17384" author="price" created="Fri, 26 Jun 2020 18:15:27 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12693" name="profile-448-b-339.png" size="134221" author="price" created="Mon, 25 May 2020 19:04:19 +0000"/>
                            <attachment id="12694" name="profile-448-r-339.png" size="129759" author="price" created="Mon, 25 May 2020 19:04:19 +0000"/>
                    </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:o8</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="62">2DDRP-2019 I</customfieldvalue>
    <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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>