<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:33:51 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>[DAMD-63] Redesign and implement pfsObject FluxTbl</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/DAMD-63</link>
                <project id="10400" key="DAMD">Data Model</project>
                    <description>&lt;p&gt;I screwed up the implementation of the pfsObject FITS HDUs when I implemented the end-to-end pipeline, since I didn&apos;t understand what &lt;tt&gt;FLUXTBL&lt;/tt&gt; was meant for. We need to rename what is now &lt;tt&gt;FLUXTBL&lt;/tt&gt; to &lt;tt&gt;FLUX&lt;/tt&gt;, redesign &lt;tt&gt;FLUXTBL&lt;/tt&gt; (the original design did not support multiple visits) and provide an implementation for populating it, and update &lt;tt&gt;datamodel.txt&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13638">DAMD-63</key>
            <summary>Redesign and implement pfsObject FluxTbl</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, 25 Jun 2019 16:24:07 +0000</created>
                <updated>Thu, 24 Oct 2019 20:32:24 +0000</updated>
                            <resolved>Thu, 24 Oct 2019 16:38:10 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="15694" author="price" created="Tue, 25 Jun 2019 19:42:16 +0000"  >&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; points out that the &lt;tt&gt;CONFIG&lt;/tt&gt; and &lt;tt&gt;MASK&lt;/tt&gt; extensions have been removed to. &lt;tt&gt;CONFIG&lt;/tt&gt; has been removed in favour of pfsConfig, and I believe &lt;tt&gt;MASK&lt;/tt&gt; has been subsumed into what will be &lt;tt&gt;FLUX&lt;/tt&gt;. Let&apos;s fix these up in &lt;tt&gt;datamodel.txt&lt;/tt&gt; at the same time.&lt;/p&gt;</comment>
                            <comment id="15901" author="price" created="Mon, 29 Jul 2019 18:27:14 +0000"  >&lt;p&gt;Here&apos;s a plot of a coadd (black) and the fluxTable contents (purple, yellow, red, cyan).&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12100/12100_fluxTable.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&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; from lsst.daf.persistence &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; Butler
&amp;gt;&amp;gt;&amp;gt; butler = Butler(&lt;span class=&quot;code-quote&quot;&gt;&quot;INTEGRATION/rerun/integration/pipeline&quot;&lt;/span&gt;)
&amp;gt;&amp;gt;&amp;gt; obj = butler.get(&lt;span class=&quot;code-quote&quot;&gt;&quot;pfsObject&quot;&lt;/span&gt;, catId=1, tract=0, patch=&lt;span class=&quot;code-quote&quot;&gt;&quot;0,0&quot;&lt;/span&gt;, objId=0x5d, nVisit=4, pfsVisitHash=0x42cfc4af8cc94582)
&amp;gt;&amp;gt;&amp;gt; fig, axes = obj.fluxTable.plot(show=False)
&amp;gt;&amp;gt;&amp;gt; axes.plot(obj.wavelength, obj.flux, &lt;span class=&quot;code-quote&quot;&gt;&apos;k-&apos;&lt;/span&gt;)
&amp;gt;&amp;gt;&amp;gt; fig.show()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="15902" author="rhl" created="Mon, 29 Jul 2019 20:14:11 +0000"  >&lt;p&gt;I am confused by the comment about CONFIG. &#160;It is not replaced by the pfsConfig file, it was explicitly denormalised for the benefit of end users.&lt;/p&gt;

&lt;p&gt;I also don&apos;t understand the remark about multiple epochs. &#160;The pfsObject file is the combined spectrum; if you want the input visits you need to go back to the pfsArm files.&lt;/p&gt;</comment>
                            <comment id="15903" author="price" created="Mon, 29 Jul 2019 20:38:08 +0000"  >&lt;p&gt;Now &lt;em&gt;I&apos;m&lt;/em&gt; confused too. You say that &lt;tt&gt;pfsObject&lt;/tt&gt; is a combined spectrum, but a spectrum that has been coadded from multiple observations doesn&apos;t (necessarily) have a single top-end configuration. So what are you expecting to find in the &lt;tt&gt;CONFIG&lt;/tt&gt; extension?&lt;/p&gt;

&lt;p&gt;What is the point of having the &lt;tt&gt;FLUXTBL&lt;/tt&gt; as opposed to just the flux vector of the coadd? My understanding 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;
    A coadded spectrum is a convenient representation of the spectrum of an
    object with multiple observations, but the act of coaddition necessarily
    involves a reduction in the amount of data through resampling in wavelength
    and replacing a distribution of fluxes with a statistical representation.
    The intention of a ``FluxTable`` is to provide the full set of original data
    so that the user can have the option to inspect and fit the observations
    themselves rather than a reduced, resampled and censored version of the
    observations. This may be useful &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; identifying artifacts that have leaked
    into the coadds (e.g., cosmic rays) or &lt;span class=&quot;code-keyword&quot;&gt;transient&lt;/span&gt; spectral features, or &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt;
    doing Hogg-ish Bayesian fitting.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="15913" author="price" created="Mon, 5 Aug 2019 20:21:49 +0000"  >&lt;p&gt;I believe this is now ready for people to look at. &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; and &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiyoto.yabe&quot; class=&quot;user-hover&quot; rel=&quot;kiyoto.yabe&quot;&gt;Kiyoto Yabe&lt;/a&gt; have expressed an interest, but I welcome comments from anyone.&lt;/p&gt;</comment>
                            <comment id="16209" author="price" created="Tue, 1 Oct 2019 21:52:02 +0000"  >&lt;p&gt;I believe I have addressed concerns about changes to the datamodel:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;I had consolidated arrays from independent image HDUs into a binary table HDU.&lt;/li&gt;
	&lt;li&gt;I was providing a wavelength array instead of specifying it via WCS.&lt;br/&gt;
I have undone these changes in datamodel.txt, and changed the implementation so it matches.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please have another look.&lt;/p&gt;</comment>
                            <comment id="16246" author="price" created="Thu, 24 Oct 2019 16:38:10 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="13631">PIPE2D-438</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13737">DAMD-65</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12100" name="fluxTable.png" size="47151" author="price" created="Mon, 29 Jul 2019 18:24:52 +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|02qpt6:508yl03z0c</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="52">2DDRP-2019 F</customfieldvalue>
    <customfieldvalue id="55">2DDRP-2019 G</customfieldvalue>
    <customfieldvalue id="59">2DDRP-2019 H</customfieldvalue>

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