<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:33: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>[DAMD-60] driver.py, makePfsObject.py and datamodel.ipynb need updating</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/DAMD-60</link>
                <project id="10400" key="DAMD">Data Model</project>
                    <description>&lt;p&gt;Following the refactoring in Jan 2019 (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-310&quot; title=&quot;Modify pipeline flow to match design&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-310&quot;&gt;&lt;del&gt;PIPE2D-310&lt;/del&gt;&lt;/a&gt;) where a lot of the datamodel classes have been moved to &lt;tt&gt;drp.py&lt;/tt&gt;, some utility code have not yet been updated accordingly so are currently not usable.&lt;/p&gt;

&lt;p&gt;These include:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;makePsfObject.py&lt;/li&gt;
	&lt;li&gt;driver.py&lt;/li&gt;
	&lt;li&gt;datamodel.ipynb&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please update them.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13619">DAMD-60</key>
            <summary>driver.py, makePfsObject.py and datamodel.ipynb need updating</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>Tue, 11 Jun 2019 13:10:31 +0000</created>
                <updated>Thu, 11 Jul 2019 14:11:57 +0000</updated>
                            <resolved>Thu, 11 Jul 2019 00:28:00 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="15675" author="price" created="Wed, 19 Jun 2019 15:37:58 +0000"  >&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;makePfsObject.py&lt;/tt&gt; is deliberately broken. I extracted it from another file when I built the end-to-end pipeline. I didn&apos;t delete it because one of its features (populating the &lt;tt&gt;fluxtbl&lt;/tt&gt;) hasn&apos;t been incorporated into the pipeline. I think the process of resampling and coadding should belong in the algorithmic code of drp_stella rather than datamodel. I propose creating a ticket to implement the &lt;tt&gt;fluxtbl&lt;/tt&gt; functionality in the pipeline.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;bin/driver.py&lt;/tt&gt; is awfully named. It appears to plot spectra from a &lt;tt&gt;PfsArm&lt;/tt&gt;, then combine them into a &lt;tt&gt;PfsObject&lt;/tt&gt; and plot them. I propose replacing this with a couple of &lt;tt&gt;bin&lt;/tt&gt; scripts that will plot a &lt;tt&gt;PfsArm&lt;/tt&gt; and &lt;tt&gt;PfsObject&lt;/tt&gt;. As previously, I believe the algorithmic code doing the resampling and coadding should belong in drp_stella.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;notebooks/datamodel.ipynb&lt;/tt&gt; appears to have been a developmental aid. It duplicates much of the old code. I propose to delete it.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="15676" author="hassan" created="Wed, 19 Jun 2019 17:03:10 +0000"  >&lt;p&gt;Regarding &lt;tt&gt;makePfsObject&lt;/tt&gt;: Yabe-san requires a tool to create a &lt;tt&gt;PfsObject&lt;/tt&gt; from a &lt;tt&gt;PfsArm&lt;/tt&gt; instance. See His comment in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-59&quot; title=&quot;How can I make pfsArm object?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DAMD-59&quot;&gt;&lt;del&gt;DAMD-59&lt;/del&gt;&lt;/a&gt;: &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-59?focusedCommentId=15646&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15646&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://pfspipe.ipmu.jp/jira/browse/DAMD-59?focusedCommentId=15646&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15646&lt;/a&gt; . If your suggestion enables him to do that operation, that&apos;s fine (it&apos;s also fine to have such a tool in drp_stella). &lt;/p&gt;
</comment>
                            <comment id="15678" author="price" created="Wed, 19 Jun 2019 19:00:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-438&quot; title=&quot;Implement fluxtbl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-438&quot;&gt;&lt;del&gt;PIPE2D-438&lt;/del&gt;&lt;/a&gt; is the ticket for implementing the &lt;tt&gt;fluxtbl&lt;/tt&gt;. This will likely involve changes to the datamodel; I&apos;ll make a DAMD ticket once I know what those are.&lt;/p&gt;</comment>
                            <comment id="15683" author="price" created="Thu, 20 Jun 2019 22:11:19 +0000"  >&lt;p&gt;I tested out the plotting scripts, and they appear to work fine.&lt;/p&gt;</comment>
                            <comment id="15692" author="kiyoto.yabe" created="Tue, 25 Jun 2019 08:00:07 +0000"  >&lt;p&gt;I&apos;m a bit confused, but there appears to be &quot;FLUXTBL&quot; HDU in the current pfsObject, which contains the merged spectrum. So, are you going to rename FLUXTBL to FLUX and add FLUXTBL for the original spectra, right?&lt;/p&gt;

&lt;p&gt;Related to the question above, I made pfsObject following codes in drp_stellar, but the HDU list of the generated fits file is :&lt;/p&gt;

&lt;p&gt;HDU0 Primary&lt;/p&gt;

&lt;p&gt;HDU1 FLUXTBL&lt;/p&gt;

&lt;p&gt;HDU2 TARGET&lt;/p&gt;

&lt;p&gt;HDU3 SKY&lt;/p&gt;

&lt;p&gt;HDU4 OBSERVATIONS&lt;/p&gt;

&lt;p&gt;HDU5 COVAR&lt;/p&gt;

&lt;p&gt;HDU6 COVAR2&lt;/p&gt;

&lt;p&gt;, which is different from the description in the datamodel.txt:&lt;/p&gt;

&lt;p&gt;HDU #0 PDU&lt;/p&gt;

&lt;p&gt;HDU #1 FLUX&#160; &#160;&lt;/p&gt;

&lt;p&gt;HDU #2 FLUXTBL&lt;/p&gt;

&lt;p&gt;HDU #3 COVAR&#160; &#160;&lt;/p&gt;

&lt;p&gt;HDU #4 COVAR2&#160; &#160;&lt;/p&gt;

&lt;p&gt;HDU #5 MASK&#160; &#160; &#160; &#160;&lt;/p&gt;

&lt;p&gt;HDU #6 SKY&#160; &#160; &#160; &#160; &#160;&lt;/p&gt;

&lt;p&gt;HDU #7 CONFIG&#160;&#160;&lt;/p&gt;

&lt;p&gt;So, which one do we take?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="15693" author="price" created="Tue, 25 Jun 2019 16:24:28 +0000"  >&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. So yes, I think I 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;. Filed &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-63&quot; title=&quot;Redesign and implement pfsObject FluxTbl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DAMD-63&quot;&gt;&lt;del&gt;DAMD-63&lt;/del&gt;&lt;/a&gt; for that.&lt;/p&gt;</comment>
                            <comment id="15749" author="hassan" created="Wed, 10 Jul 2019 20:25:35 +0000"  >&lt;p&gt;Changes acceptable.&lt;/p&gt;</comment>
                            <comment id="15750" author="price" created="Thu, 11 Jul 2019 00:28:00 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13618">DAMD-59</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13124">PIPE2D-310</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|02qpt6:508yjm9</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>

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