<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:33:24 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-20] Discuss strategy to persist pfsFiberTrace</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/DAMD-20</link>
                <project id="10400" key="DAMD">Data Model</project>
                    <description>&lt;p&gt;To persist the new `FiberTraces` after the recent changes to the design of the `FiberTrace` class we need to change the datamodel and persist the `MaskedImage` for each `FiberTrace`. There are currently 2 proposals how to do that. One would be to cat all `MaskedImage` s into one single `MaskedImage` and also add an additional data array for the unpacking. This could possibly be achieved by saving the `MaskedImage` first using the `MaskedImage.writeFits` method and then add all additional data to that fits file using `pyfits`. The second proposal would be to find a way to store multiple `MaskedImage` s in one fits file - one `MaskedImage` per `FiberTrace`. This appears to be rather complicated as the `MaskedImage` class was not designed to put multiple arrays into one file. Changes to the `MaskedImage` class might be required&lt;/p&gt;</description>
                <environment></environment>
        <key id="11733">DAMD-20</key>
            <summary>Discuss strategy to persist pfsFiberTrace</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="-1">Unassigned</assignee>
                                    <reporter username="aritter">aritter</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Aug 2017 19:25:13 +0000</created>
                <updated>Fri, 11 May 2018 20:42:08 +0000</updated>
                            <resolved>Fri, 11 May 2018 20:42:08 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="12486" author="rhl" created="Tue, 15 Aug 2017 19:31:34 +0000"  >&lt;p&gt;There&apos;s no problem writing multiple MaskedImages to a file, but I don&apos;t think we want to end up with 1800 HDUs (3 for each fibre).  So we definitely want to merge the images into one. &lt;/p&gt;</comment>
                            <comment id="12504" author="aritter" created="Thu, 17 Aug 2017 21:26:50 +0000"  >&lt;p&gt;The `FiberTraceSet` only contains the fibers which could be traced while the datamodel for `pfsFiberTrace` requires all `FiberTrace` s to be set in `pfsFiberTrace...fits`. This means that somewhere on the way from the `FiberTraceSet` to the `pfsFiberTrace...fits` file we need to add in empty (zero?) values into the `BinTableHDU` for each `FiberTrace` ID not in the `FiberTraceSet`. Should we do that each time when we create a `PfsFiberTrace` object (and undo it when reconstructing the `FiberTraceSet` from the `PfsFiberTrace` object) or only in the `PfsFiberTrace.write` and `PfsFiberTrace.read` functions? I would lean towards the latter...&lt;br/&gt;
Also, should I implement this change as part of &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-235&quot; title=&quot;Change sliced FiberTrace Image/Profile/Mask to non-sliced MaskedImage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-235&quot;&gt;&lt;del&gt;PIPE2D-235&lt;/del&gt;&lt;/a&gt; or as an individual ticket? Probably individual ticket but it would kind of make sense to do this in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-235&quot; title=&quot;Change sliced FiberTrace Image/Profile/Mask to non-sliced MaskedImage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-235&quot;&gt;&lt;del&gt;PIPE2D-235&lt;/del&gt;&lt;/a&gt; as there are plenty of changes already in `pfsFiberTrace.py`...&lt;/p&gt;</comment>
                            <comment id="12505" author="aritter" created="Fri, 18 Aug 2017 18:19:20 +0000"  >&lt;p&gt;I have pushed the proposed changes to the Datamodel for &lt;tt&gt;PfsFiberTrace&lt;/tt&gt; to the branch &lt;tt&gt;tickets/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-20&quot; title=&quot;Discuss strategy to persist pfsFiberTrace&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DAMD-20&quot;&gt;&lt;del&gt;DAMD-20&lt;/del&gt;&lt;/a&gt;&lt;/tt&gt; in the &lt;tt&gt;datamodel&lt;/tt&gt; repository. The proposed changes are already implemented and tested in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-235&quot; title=&quot;Change sliced FiberTrace Image/Profile/Mask to non-sliced MaskedImage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-235&quot;&gt;&lt;del&gt;PIPE2D-235&lt;/del&gt;&lt;/a&gt;. Should I file a RFC for the proposed changes?&lt;/p&gt;</comment>
                            <comment id="13396" author="hassan" created="Fri, 11 May 2018 20:42:08 +0000"  >&lt;p&gt;Following discussions with &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;, this ticket is regarded as done.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="11725">PIPE2D-235</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|031vid:xi07fhk0i0m</customfieldvalue>

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