<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:33:16 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-7] Define format for up-the-ramp files</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/DAMD-7</link>
                <project id="10400" key="DAMD">Data Model</project>
                    <description>&lt;p&gt;We do not specify how to handle the multiple up the ramp images.  I suspect that the answer is MEFs &amp;#8211; but it&apos;s not my call &amp;#8211; and we need to specify the details (e.g. what information is in each header).&lt;/p&gt;</description>
                <environment></environment>
        <key id="11137">DAMD-7</key>
            <summary>Define format for up-the-ramp files</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</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="cloomis">cloomis</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Sat, 3 Sep 2016 19:21:29 +0000</created>
                <updated>Thu, 20 Oct 2022 19:19:18 +0000</updated>
                            <resolved>Thu, 20 Oct 2022 19:19:18 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="11417" author="rhl" created="Fri, 7 Oct 2016 15:29:06 +0000"  >&lt;p&gt;We discussed this at the autumn Princeton Software meeting, and Philip Tait confirmed that MEFs are OK.  The next step is generate some example images (possibly from real &amp;#8211; if junky &amp;#8211; H4RG detectors)&lt;/p&gt;</comment>
                            <comment id="17599" author="cloomis" created="Fri, 28 Aug 2020 14:13:44 +0000"  >&lt;p&gt;We are currently saving full raw reads, each in its own RICE-compressed HDU. Note that we do not even do the IRP subtraction, nor IRP de-interleaving. We should at the very least de-interleave the reference columns. [ I propose doing the de-interleaving now, actually. ]&lt;/p&gt;

&lt;p&gt;In the longer run, once we have cleaner DAQs and preferably some actual 300-fiber spectra, we need to understand how much more efficiently we can compress data by pre-processing the reads (save diffs? etc.)&lt;/p&gt;

&lt;p&gt;Another question is whether we want to have an &quot;at end&quot; HDU, to save stuff we only learn after starting the ramp.&lt;/p&gt;

&lt;p&gt;The headers will mostly be identical to the CCD headers. As it stands I am being lazy and saving complete headers for each read. I do not know how well we sample, say, alt/rot positions.&lt;/p&gt;</comment>
                            <comment id="17709" author="cloomis" created="Wed, 16 Sep 2020 14:24:57 +0000"  >&lt;p&gt;Minor file structure issue. We expect to use IRP and de-interlace the data and reference images. I propose that for each read the two be saved in two separate HDUs. If IRP is not used, I would save an empty HDU for the reference image, just to keep the file structure the same. &lt;/p&gt;</comment>
                            <comment id="18115" author="cloomis" created="Fri, 4 Dec 2020 17:09:59 +0000"  >&lt;p&gt;I&apos;m ready to close this ticket, leaving discussions of headers for another place.&lt;/p&gt;

&lt;p&gt;We save each complete ramp in a PFSB file. For each read in the ramp we save two RICE-compressed uint16 HDUs: one named &quot;IMAGE_%d&quot;, the other &quot;REF_%d&quot;.  The REF header has essentially nothing in it: all per-read metadata goes in the IMAGE header. Other tickets will address just what those cards should be, but the first proposal will likely be for all read-related info (read identification, read timestamps, interleaving details, plus all the environmental and telescope info which changes at interesting timescales).&lt;/p&gt;

&lt;p&gt;The reference pixel image is raw, in the sense of being only the reference pixels which are read out in the particular ASIC/H4 configuration. So from 0 pixels up to 4k by 4k, depending on the science:reference pixel interleave factor. Any interpolation is for downstream software to do.&lt;/p&gt;

&lt;p&gt;Could still rename REF_%d and IMAGE_%d....&lt;/p&gt;
</comment>
                            <comment id="18134" author="cloomis" created="Wed, 9 Dec 2020 15:48:42 +0000"  >&lt;p&gt;Grr. Was about to close this, I am not able to create empty non-primary image HDUs. How bad would it be to not generate &apos;REF_%d&apos; HDUs? Since it makes little sense to access HDUs by index not extreme, that seems safe. The reduction code would need to catch missing REF_ HDUs.&lt;/p&gt;</comment>
                            <comment id="18732" author="cloomis" created="Thu, 4 Mar 2021 20:50:26 +0000"  >&lt;p&gt;Will also add an optional RESET_%d HDU, which would come before any IMAGE HDUs, and where %d will almost certainly always be 1. Turns out that I need to read the reset frame, and that there might be value in the content.&lt;/p&gt;</comment>
                            <comment id="21678" author="furu" created="Mon, 12 Jul 2021 04:56:03 +0000"  >&lt;p&gt;Could you point me to some instruction of what IRP means and how it operates on these images. I think it acceptable to skip REF HDU in case of disabled IRP, but should have some keyword in the RESET or whatever HDU(s) to indicate which mode was used for readout.&lt;/p&gt;</comment>
                            <comment id="21679" author="rhl" created="Mon, 12 Jul 2021 18:19:39 +0000"  >&lt;p&gt;&quot;IRP&quot; stands for &quot;Interleaved Reference Pixels&quot;, which are extra reads from virtual pixels which tell us something about the readout electronics.  You can think of them as being like the overscan pixels in a CCD readout.&lt;/p&gt;

&lt;p&gt;I&apos;ll have to defer to &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; to tell you about header keywords.&lt;/p&gt;</comment>
                            <comment id="21694" author="hassan" created="Fri, 16 Jul 2021 13:03:22 +0000"  >&lt;p&gt;To be discussed/clarified in a offline meeting with &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=furu&quot; class=&quot;user-hover&quot; rel=&quot;furu&quot;&gt;Hisanori Furusawa&lt;/a&gt;. At working-group meeting level.&lt;/p&gt;</comment>
                            <comment id="30402" author="cloomis" created="Mon, 31 Jan 2022 23:27:49 +0000"  >&lt;p&gt;I was inclined to put the attached into the `ics_hxActor` docs. Maybe it should primarily be in datamodel.&lt;/p&gt;</comment>
                            <comment id="31652" author="cloomis" created="Thu, 20 Oct 2022 19:19:18 +0000"  >&lt;p&gt;&lt;tt&gt;PFSB.md&lt;/tt&gt; is in &lt;tt&gt;datamodel&lt;/tt&gt;. Further work should be on new tickets.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22911">DAMD-134</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14714">INSTRM-1069</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="16986">INSTRM-1336</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13235">INSTRM-596</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14931">INSTRM-1090</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="15091" name="PFSB.md" size="4729" author="cloomis" created="Mon, 31 Jan 2022 23:28:03 +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|02qpq3:r3s1r</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>