<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:48:14 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>[PIPE2D-81] Design access mechanism, dataset types for accessing flats from Butler</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-81</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Need to be able to retrieve dithered flats, aperture definition flats (equivalent to dither=0), etc. One option is to load all flats from the Butler and sort them out in Python code; another is to define separate dataset types, or do something clever with DataIds. Please:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Write down all the different types of flats you expect to be working with;&lt;/li&gt;
	&lt;li&gt;Produce a straw-man design for how you want to organize them.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="11151">PIPE2D-81</key>
            <summary>Design access mechanism, dataset types for accessing flats from Butler</summary>
                <type id="5" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10516&amp;avatarType=issuetype">Sub-task</type>
                            <parent id="10102">PIPE2D-10</parent>
                                    <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="aritter">aritter</assignee>
                                    <reporter username="swinbank">swinbank</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Sep 2016 17:45:17 +0000</created>
                <updated>Fri, 7 Oct 2016 05:12:26 +0000</updated>
                            <resolved>Fri, 7 Oct 2016 05:12:26 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="11323" author="aritter" created="Thu, 22 Sep 2016 03:33:03 +0000"  >&lt;p&gt;We will be working with dispersed Flats only, no photometric Flats. There is 2 kinds of dispersed Flats:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;no offset in x for aperture definition (identification of tracing of the FiberTrace apertures)&lt;/li&gt;
	&lt;li&gt;dithered Flats for the construction of normalized Flats to take out the pixel-to-pixel sensitivity variations (~10 different offsets in x)&lt;br/&gt;
We need a header keyword that tells us the shift in x: 0 for no shift +/- xShift. Currently this header keyword is &quot;sim.slit.xoffset&quot;. We might want to change that to &quot;slit.xoffset&quot; or something similar.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Flat calibration products are:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;a combined Flat with 0 xOffset for the aperture definition. I propose to call this calibration file &quot;apDef&quot; and add an apDef file to the data model and the mapper, following the standard file names and mapper entries for calibration products. According to the data model the file names should be&lt;br/&gt;
  &quot;pfsApDef-%06d-%1d%1s.fits&quot; % (visit0, spectrograph, arm)&lt;/li&gt;
	&lt;li&gt;a normalized Flat which I propose to call &quot;Flat&quot; and stick to the definition in the data model and mapper.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Tasks to create the calibration products:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;I propose to add a CalibTask &quot;constructApDefTask&quot; which searches for Flats with xOffset=0, runs the ISR, and combines multiple exposures to remove cosmic rays which could irritate the tracing procedure&lt;/li&gt;
	&lt;li&gt;The normalized Flat is being constructed by the CalibTask &quot;constructNormFlatTask&quot;, which already exists. Preferably multiple exposures of each xOffset should be combined to get rid of cosmic rays. Combination of multiple exposures with the same xOffset is not yet implemented.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="11335" author="rhl" created="Fri, 23 Sep 2016 15:26:32 +0000"  >&lt;p&gt;Why do we need your &quot;apDef&quot; files?  We will be persisting the traces, not the files that go into their generation.  See &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-47&quot; title=&quot;make FiberTrace persistable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-47&quot;&gt;&lt;del&gt;PIPE2D-47&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-68&quot; title=&quot;Add FiberTrace to data model&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-68&quot;&gt;&lt;del&gt;PIPE2D-68&lt;/del&gt;&lt;/a&gt; (which I have linked to this ticket).  I think that this ticket needs to define how to get the butler to read and write the persisted traces, and that includes defining their format in the data model &amp;#8211; it&apos;s in as a placeholder,  &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;pfsFiberTrace-%06d-%1d%1s.fits&quot; % (visit0, spectrograph, arm)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;but without any specification of the format beyond TBD.&lt;/p&gt;

&lt;p&gt;It&apos;s fine to keep the processed dithered flats as &quot;Flat&quot; in the data model. When you sort out the header keywords, provenance, etc. that&apos;ll need to be added to the data model description.&lt;/p&gt;
</comment>
                            <comment id="11336" author="rhl" created="Fri, 23 Sep 2016 15:27:03 +0000"  >&lt;p&gt;Is there a ticket to handle multiple offsets with the same x, and CR removal etc.?  If not, please file one.&lt;/p&gt;</comment>
                            <comment id="11359" author="aritter" created="Fri, 30 Sep 2016 03:46:22 +0000"  >&lt;p&gt;In the discussion with Craig we found that we will also have image Flats (no spectrograph), at least until the CCDs are permanently mounted in the spectrographs. These image Flats (short imFlats) will be used to include pixel-to-pixel sensitivity variations in the simulations, and to look for CCD defects. However, we both agreed that we won&apos;t need a new datamodel entry for these imFlats as they can easily be constructed by running the standard ISR and then median combine the postISR images.&lt;br/&gt;
As Robert correctly points out we don&apos;t need apDef Files as we will persist the FiberTraceSets, so really the only Flat we need to persist is the normalized Flat. For the creation of the FiberTraceSets we will write a CalibTask that starts with the raw (dithered) Flats, finds the Flats with xOffset=0.0, runs the ISR, combines them, and traces the apertures.&lt;/p&gt;</comment>
                            <comment id="11408" author="aritter" created="Tue, 4 Oct 2016 20:21:58 +0000"  >&lt;p&gt;After discussion with RHL and Craig we decided to persist both image Flats and fiber Flats. The current &apos;Flat&apos; will be renamed &apos;fiberFlat&apos; to avoid confusion once and for all.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="11011">PIPE2D-47</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="11131">PIPE2D-68</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|ii00pz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>rhl</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="23">2014-17</customfieldvalue>

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