<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:07:52 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-31] Simulate flat field lamp spectra</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/SIM2D-31</link>
                <project id="10000" key="SIM2D">DRP 2-D Simulator</project>
                    <description>&lt;p&gt;The flat field lamps will be incandescent lamps with a filter to approximate a black body at c. 5000K.&lt;/p&gt;</description>
                <environment></environment>
        <key id="10033">SIM2D-31</key>
            <summary>Simulate flat field lamp spectra</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="price">price</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Jul 2014 22:39:46 +0000</created>
                <updated>Wed, 18 Sep 2019 17:39:47 +0000</updated>
                            <resolved>Wed, 18 Sep 2019 17:39:47 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="16045" author="price" created="Wed, 11 Sep 2019 17:09:12 +0000"  >&lt;p&gt;Just needed to adjust the temperature. The changes are trivial:&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@price-laptop:~/pfs/drp_instmodel (tickets/SIM2D-31 *$%=) $ git sub-patch
commit ce712b0cde22da128e6be9e8492e7da875017fb8 (HEAD -&amp;gt; tickets/SIM2D-31, origin/tickets/SIM2D-31)
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Wed Sep 11 12:45:49 2019 -0400

    FlatSpectrum: set temperature to 5000 K
    
    as specfied by RHL.
    
    This requires a slight adjustment of the scaling as well to
    avoid saturating the detectors.

diff --git a/python/pfs/instmodel/spectrum.py b/python/pfs/instmodel/spectrum.py
index a190431..ffdabea 100644
--- a/python/pfs/instmodel/spectrum.py
+++ b/python/pfs/instmodel/spectrum.py
@@ -173,12 +173,12 @@ &lt;span class=&quot;code-keyword&quot;&gt;class &lt;/span&gt;FlatSpectrum(Spectrum):
     scale : `&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;`
         Scale to apply to spectrum.
     &quot;&quot;&quot;
-    def __init__(self, scale=2.0e-19):  # Scale chosen manually to get reasonable counts in 30 sec
+    def __init__(self, scale=7.0e-20):  # Scale chosen manually to get reasonable counts in 30 sec
         self.scale = scale
 
     def interpolate(self, wavelength):
         &lt;span class=&quot;code-quote&quot;&gt;&quot;&quot;&quot;&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; a quartz lamp spectrum, as seen by our detector.&quot;&lt;/span&gt;&quot;&quot;
-        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; self.scale*blackbody(wavelength, 3800.0)
+        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; self.scale*blackbody(wavelength, 5000.0)
 
 
 &lt;span class=&quot;code-keyword&quot;&gt;class &lt;/span&gt;LineSpectrum(Spectrum):
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="16083" author="hassan" created="Tue, 17 Sep 2019 18:27:55 +0000"  >&lt;p&gt;Changes look fine from the diff. But you don&apos;t want to raise a pull request?&lt;/p&gt;</comment>
                            <comment id="16084" author="price" created="Tue, 17 Sep 2019 22:15:31 +0000"  >&lt;p&gt;The changes are trivial, and the diff is pasted above. Do you need a GitHub PR?&lt;/p&gt;</comment>
                            <comment id="16086" author="hassan" created="Wed, 18 Sep 2019 12:42:39 +0000"  >&lt;p&gt;No, your approach is fine for this one. I should have made that clear in my last message. I&apos;ll mark this as review-complete.&lt;/p&gt;</comment>
                            <comment id="16092" author="price" created="Wed, 18 Sep 2019 17:39:47 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="10029">INFRA-4</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_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>SIM2D-27</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|034560:</customfieldvalue>

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

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