<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:22:55 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>[INSTRM-236] Add .fitsCard field to KeyDictionary definitions.</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-236</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;I think we can add a .fitsCard=NAME field to the Keys. which if seen would indicate that the value should be directly written to the FITS headers.&lt;/p&gt;</description>
                <environment></environment>
        <key id="11946">INSTRM-236</key>
            <summary>Add .fitsCard field to KeyDictionary definitions.</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</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="cloomis">cloomis</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                            <label>FITS</label>
                    </labels>
                <created>Wed, 18 Oct 2017 15:32:36 +0000</created>
                <updated>Wed, 11 Jul 2018 16:18:08 +0000</updated>
                            <resolved>Tue, 5 Jun 2018 22:58:45 +0000</resolved>
                                                                    <component>tron_actorcore</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="13462" author="cloomis" created="Tue, 5 Jun 2018 22:58:45 +0000"  >&lt;p&gt;&lt;tt&gt;ics_actorkeys&lt;/tt&gt; dictionary keys can now accept options of the form &lt;tt&gt;FITS=(shortName, longName)&lt;/tt&gt;. For example:&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;
Key(&lt;span class=&quot;code-quote&quot;&gt;&apos;flow&apos;&lt;/span&gt;,
       &lt;span class=&quot;code-object&quot;&gt;Float&lt;/span&gt;(name=&lt;span class=&quot;code-quote&quot;&gt;&apos;Flow_meter&apos;&lt;/span&gt;, units=&lt;span class=&quot;code-quote&quot;&gt;&apos;Hz&apos;&lt;/span&gt;,
             help=&lt;span class=&quot;code-quote&quot;&gt;&apos;Flow meter reading&apos;&lt;/span&gt;,
             FITS=(&lt;span class=&quot;code-quote&quot;&gt;&apos;W_MCFLOW&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;MCP__COOLANT_FLOW&apos;&lt;/span&gt;))),
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The &lt;tt&gt;actorcore.utility.fits&lt;/tt&gt; module has grown the following routine (and typos and brainos, ugh. Sorry):&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;
def gatherHeaderCards(cmd, actor, modelNames=None, shortNames=False):
    &quot;&quot;&quot; Fetch and &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; all FITS cards defined in the given models.

    Args
    ----
    cmd : an actorcore Command
    actor : an actorcore Actor,
      Which contans .models.
    modelNames : None, or list of strings
      The actors to generate keys &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt;. If None, all the models in actor.models
    shortNames : bool
      If True, use the &lt;span class=&quot;code-object&quot;&gt;short&lt;/span&gt; FITS names.

    Returns
    -------
    cards : list of fitsio-compatible card dictionaries.
      Suitable to get a header with &lt;span class=&quot;code-quote&quot;&gt;&quot;fitsio.FITSHDR(cards)&quot;&lt;/span&gt;
    &quot;&quot;&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And a routine for starting an image file, which can optionally append a &lt;tt&gt;longName to short name&lt;/tt&gt; translation HDU:&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-python&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;def&lt;/span&gt; startFitsFile(cmd, filename, cards,
                  img=&lt;span class=&quot;code-keyword&quot;&gt;&lt;span class=&quot;code-object&quot;&gt;None&lt;/span&gt;&lt;/span&gt;, clobber=&lt;span class=&quot;code-keyword&quot;&gt;&lt;span class=&quot;code-object&quot;&gt;False&lt;/span&gt;&lt;/span&gt;, doShortnameHDU=&lt;span class=&quot;code-keyword&quot;&gt;&lt;span class=&quot;code-object&quot;&gt;True&lt;/span&gt;&lt;/span&gt;):
    &quot;&quot;&quot; Write the PHDU &lt;span class=&quot;code-keyword&quot;&gt;and&lt;/span&gt; first HDU(s).

    Args
    ----
    cmd : an actorcore Command
    filename : string
       Full pathname &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the FITS &lt;span class=&quot;code-object&quot;&gt;file&lt;/span&gt;.
    cards : &lt;span class=&quot;code-object&quot;&gt;list&lt;/span&gt; of fits cards
       fitsio compatible: strings &lt;span class=&quot;code-keyword&quot;&gt;or&lt;/span&gt; dictionaries
    img : &lt;span class=&quot;code-keyword&quot;&gt;&lt;span class=&quot;code-object&quot;&gt;None&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;code-keyword&quot;&gt;or&lt;/span&gt; a 2-d image
    clobber : &lt;span class=&quot;code-object&quot;&gt;bool&lt;/span&gt;
       Whether to overwrite &lt;span class=&quot;code-object&quot;&gt;any&lt;/span&gt; existing &lt;span class=&quot;code-object&quot;&gt;file&lt;/span&gt;. In production, this should &lt;span class=&quot;code-keyword&quot;&gt;not&lt;/span&gt; happen.
    doShortnameHDU : &lt;span class=&quot;code-object&quot;&gt;bool&lt;/span&gt;
       Whether to create a translation HDU &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; we have short card names.

    &quot;&quot;&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Yes, this one should have been reviewed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="12631">INSTRM-414</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|ii04nx:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="24">2017-10A</customfieldvalue>

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