<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:04:33 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-1233] Allow flat-fielding for n while not flat-fielding b/r</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1233</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;We currently have a flat-field image for n1 only. We want to apply the flat for n1 without applying a flat in b/r, using a single configuration setting (so we can achieve this with a single call to &lt;tt&gt;reduceExposure.py&lt;/tt&gt; or &lt;tt&gt;detrend.py&lt;/tt&gt;).&lt;/p&gt;</description>
                <environment></environment>
        <key id="23467">PIPE2D-1233</key>
            <summary>Allow flat-fielding for n while not flat-fielding b/r</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="price">price</assignee>
                                    <reporter username="price">price</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Jun 2023 19:37:18 +0000</created>
                <updated>Thu, 8 Jun 2023 18:21:48 +0000</updated>
                            <resolved>Thu, 8 Jun 2023 18:21:47 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="32778" author="price" created="Wed, 7 Jun 2023 20:24:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=rhl&quot; class=&quot;user-hover&quot; rel=&quot;rhl&quot;&gt;rhl&lt;/a&gt;, I&apos;ve added a &lt;tt&gt;doFlatNir&lt;/tt&gt; configuration parameter to ISR. The NIR will have the flat-field applied if either &lt;tt&gt;doFlat&lt;/tt&gt; or &lt;tt&gt;doFlatNir&lt;/tt&gt; is set. For current Subaru operations, we&apos;ll set &lt;tt&gt;doFlat=False doFlatNir=True&lt;/tt&gt;, which will result in the &lt;tt&gt;n&lt;/tt&gt; arm having the flat applied and the &lt;tt&gt;b&lt;/tt&gt; and &lt;tt&gt;r&lt;/tt&gt; arms not having a flat applied. Are you satisfied with this solution?&lt;/p&gt;</comment>
                            <comment id="32779" author="rhl" created="Wed, 7 Jun 2023 22:17:57 +0000"  >&lt;p&gt;How about &lt;tt&gt;doFlatArms=&quot;brm&quot;&lt;/tt&gt; instead?  &lt;/p&gt;</comment>
                            <comment id="32780" author="price" created="Wed, 7 Jun 2023 23:21:59 +0000"  >&lt;p&gt;I think I could make that work, by overriding the &lt;tt&gt;flatCorrection&lt;/tt&gt; method of &lt;tt&gt;IsrTask&lt;/tt&gt;, but there would be one annoyance: the log message, &quot;Applying flat correction&quot;, originates from the &lt;tt&gt;run&lt;/tt&gt; method, which we do not want to override (because it&apos;s very very long and involved). Then if &lt;tt&gt;doFlat=True&lt;/tt&gt; but the arm being processed is not in the &lt;tt&gt;doFlatArms&lt;/tt&gt; list, you would get a log message &quot;Applying flat correction&quot; even though we would intercept and disable the application of the flat. We could log our own message (&quot;Hey, just kidding before, we&apos;re not actually applying the flat&quot;), but I fear the confusion that would result.&lt;/p&gt;

&lt;p&gt;An alternative to all of this would be to generate fake flats for the optical arms that are unity everywhere, and then we wouldn&apos;t have to hack around things in the code.&lt;/p&gt;

&lt;p&gt;Hopefully this state of affairs won&apos;t last much longer, and we&apos;ll get real flats for the optical arms in the next run.&lt;/p&gt;</comment>
                            <comment id="32783" author="price" created="Thu, 8 Jun 2023 18:21:47 +0000"  >&lt;p&gt;Spoke to &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=rhl&quot; class=&quot;user-hover&quot; rel=&quot;rhl&quot;&gt;rhl&lt;/a&gt;, who agreed that this current solution isn&apos;t ideal (we&apos;d prefer being able to specify the arms to be flat-fielded) but it&apos;s good enough given the limitations.&lt;/p&gt;

&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                    <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|zzsxbj:</customfieldvalue>

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

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