<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:08:40 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>[SIM2D-109] Refactor code such that PfsConfigs are not dark/flat/science specific</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/SIM2D-109</link>
                <project id="10000" key="SIM2D">DRP 2-D Simulator</project>
                    <description>&lt;p&gt;Following &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/SIM2D-94&quot; title=&quot;Simulator should accept a PfsConfig instance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SIM2D-94&quot;&gt;&lt;del&gt;SIM2D-94&lt;/del&gt;&lt;/a&gt; it was noticed that there is code in &lt;tt&gt;makePfsConfig.py&lt;/tt&gt; to make flat or dark-specific &lt;tt&gt;PfsConfig&lt;/tt&gt; s. &lt;/p&gt;

&lt;p&gt;As &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; had remarked in PR #3 for the above issue:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;I do not think that &lt;tt&gt;pfsConfig&lt;/tt&gt; can or should hold any information about what light goes through a fiber by declaring &lt;tt&gt;makeFlatConfig&lt;/tt&gt;, &lt;tt&gt;makeDarkConfig&lt;/tt&gt;, etc. The design tells where the cobras are pointed (which can be behind a spot), but that same config is used for taking darks, arcs, flats, and science exposures.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Please make the generated &lt;tt&gt;pfsConfigs&lt;/tt&gt; independent of flats, darks or science.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13409">SIM2D-109</key>
            <summary>Refactor code such that PfsConfigs are not dark/flat/science specific</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="price">price</assignee>
                                    <reporter username="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Mar 2019 18:18:40 +0000</created>
                <updated>Fri, 5 Apr 2019 12:01:19 +0000</updated>
                            <resolved>Fri, 5 Apr 2019 05:59:57 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="15072" author="rhl" created="Thu, 7 Mar 2019 22:11:57 +0000"  >&lt;p&gt;I can imagine a flag in the &lt;tt&gt;pfsDesign&lt;/tt&gt; to say if a fibre is behind a spot.&lt;/p&gt;</comment>
                            <comment id="15137" author="price" created="Tue, 19 Mar 2019 19:30:34 +0000"  >&lt;p&gt;&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;, would you please have a look?&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;
price@MacBook:~/pfs/drp_instmodel (tickets/SIM2D-109=) $ git sub
commit 7c1ffeb8b9c19cc7339dd806c0449efb4786118f
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Tue Mar 19 12:29:56 2019 -0400

    convert to pfsDesign+light source as specifying spectra
    
    I was using the pfsDesign to specify the spectra, even &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; arcs and darks,
    but the pfsDesign should only specify the top-end configuration, and the
    light source (sky vs quartz vs arc vs dark) should be separate. This allows
    us to dispense with the field definitions.

 bin/makeSimRun                           |  79 ++++-----
 python/pfs/instmodel/fieldDefinitions.py |  87 ----------
 python/pfs/instmodel/lightSource.py      | 288 +++++++++++++++++++++++++++++++
 python/pfs/instmodel/makePfiDesign.py    |  64 ++++---
 python/pfs/instmodel/makePfsConfig.py    | 169 +-----------------
 python/pfs/instmodel/makeSim.py          |  38 ++--
 python/pfs/instmodel/spectrumLibrary.py  | 122 -------------
 7 files changed, 383 insertions(+), 464 deletions(-)

commit 53e348f6a3b392ceb2f72606c2a85d51e14bad05 (HEAD -&amp;gt; tickets/SIM2D-109, origin/tickets/SIM2D-109)
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Tue Mar 19 15:28:35 2019 -0400

    add SumSpectrum
    
    Not using it yet, but it might be useful down the road.

 python/pfs/instmodel/spectrum.py | 45 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="15261" author="hassan" created="Thu, 4 Apr 2019 15:51:15 +0000"  >&lt;p&gt;&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; has commented on pull request and is happy with the changes.&lt;/p&gt;</comment>
                            <comment id="15284" author="price" created="Fri, 5 Apr 2019 05:58:40 +0000"  >&lt;p&gt;Created &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/SIM2D-116&quot; title=&quot;Simplify makeSim arguments&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SIM2D-116&quot;&gt;&lt;del&gt;SIM2D-116&lt;/del&gt;&lt;/a&gt; to clean up the arguments, as &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; suggested.&lt;/p&gt;</comment>
                            <comment id="15285" author="price" created="Fri, 5 Apr 2019 05:59:57 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13247">SIM2D-94</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|02qpt6:508yjj0k</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="45">2DDRP-2019 C</customfieldvalue>

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