<!-- 
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-59] How can I make pfsArm object?</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/DAMD-59</link>
                <project id="10400" key="DAMD">Data Model</project>
                    <description>&lt;p&gt;I&apos;m checking the latest datamodel (60d300c77b67207001aeeb84468436722b224009) now, but I&apos;m not sure how to make pfsArm file. Is pfsArm.py dismissed?&lt;/p&gt;</description>
                <environment></environment>
        <key id="13618">DAMD-59</key>
            <summary>How can I make pfsArm object?</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="10100" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="No further work should be done on this.">Won&apos;t Fix</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="price">price</assignee>
                                    <reporter username="kiyoto.yabe">Kiyoto Yabe</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Jun 2019 08:05:25 +0000</created>
                <updated>Wed, 21 Aug 2019 17:58:26 +0000</updated>
                            <resolved>Wed, 21 Aug 2019 17:58:26 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="15642" author="hassan" created="Tue, 11 Jun 2019 12:58:33 +0000"  >&lt;p&gt;Following some refactoring earlier this year, the PfsArm class has been refactored and moved to drp.py.&lt;/p&gt;

&lt;p&gt;Here&apos;s skeleton code for creating a PfsArm file:&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.datamodel.drp &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; PfsArm
[...]
PfsArm(dataId, fiberIds, wavelength, flux, mask,
                      sky, covar, flags, metadata)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For the constructor parameters, see also the docString for parent class &lt;tt&gt;PfsSpectra&lt;/tt&gt; in pfsSpectra.py .&lt;/p&gt;</comment>
                            <comment id="15643" author="hassan" created="Tue, 11 Jun 2019 12:59:01 +0000"  >&lt;p&gt;Assigned to &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; to provide additional support.&lt;/p&gt;</comment>
                            <comment id="15645" author="kiyoto.yabe" created="Wed, 12 Jun 2019 01:05:50 +0000"  >&lt;p&gt;OK. I&apos;ll give it a try.&lt;/p&gt;</comment>
                            <comment id="15646" author="kiyoto.yabe" created="Wed, 12 Jun 2019 06:10:49 +0000"  >&lt;p&gt;Then, another question arises. How can I make a pfsObject from a set of pfsArm objects? Previously, we used makePfsObject.py but it seems to be outdated. Is it possible to update makePfsObject.py? Or, is there an easy way to do that?&lt;/p&gt;</comment>
                            <comment id="15677" author="price" created="Wed, 19 Jun 2019 17:08:00 +0000"  >&lt;p&gt;Can you use the &lt;tt&gt;MergeArmsTask&lt;/tt&gt; in drp_stella? If not, what are you trying to do?&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/Subaru-PFS/drp_doc/tree/master/design&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;DRP design document&lt;/a&gt; is slightly outdated now, but it might be useful to read.&lt;/p&gt;</comment>
                            <comment id="15679" author="kiyoto.yabe" created="Thu, 20 Jun 2019 01:51:39 +0000"  >&lt;p&gt;We can use it if it is included in datamodel package. We (ETC users) don&apos;t want to install the DRP packages. What I want to do is just to make both pfsArm and pfsObject fits files with simulated spectra included. I could make pfsArm file using drp.py but not for pfsObject...&lt;/p&gt;</comment>
                            <comment id="15681" author="price" created="Thu, 20 Jun 2019 19:08:17 +0000"  >&lt;p&gt;Making a &lt;tt&gt;PfsObject&lt;/tt&gt; from &lt;tt&gt;PfsArm&lt;/tt&gt; files necessarily involves algorithmic code (interpolation and coaddition), which I think would be good to keep out of the data model package. Perhaps you could copy the implementation from &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/blob/master/python/pfs/drp/stella/mergeArms.py#L151-L200&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;MergeArmsTask&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;Alternatively, I have been working on updating the 1D simulator (ticket &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/SURVEY-7&quot; title=&quot;Update the link to the datamodel submodule in ETC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SURVEY-7&quot;&gt;&lt;del&gt;SURVEY-7&lt;/del&gt;&lt;/a&gt;?), and have just been waiting for the recent changes to settle before pushing it out.&lt;/p&gt;</comment>
                            <comment id="15969" author="price" created="Wed, 21 Aug 2019 17:58:26 +0000"  >&lt;p&gt;I think the remaining questions are addressed in &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;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13619">DAMD-60</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|02qpso:i</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>
                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>