<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:08:27 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-88] Compare ETC and SIM2D+DRP2D outputs</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/SIM2D-88</link>
                <project id="10000" key="SIM2D">DRP 2-D Simulator</project>
                    <description>&lt;p&gt;Given some input &lt;tt&gt;pfsSimObject&lt;/tt&gt;, we need &lt;tt&gt;drp_instmodel&lt;/tt&gt; plus &lt;tt&gt;drp_stella&lt;/tt&gt; outputs to match those from &lt;tt&gt;spt_ExposureTimeCalculator&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13055">SIM2D-88</key>
            <summary>Compare ETC and SIM2D+DRP2D outputs</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="cloomis">cloomis</reporter>
                        <labels>
                            <label>SIM2D-V5</label>
                    </labels>
                <created>Thu, 1 Nov 2018 19:25:40 +0000</created>
                <updated>Fri, 26 Apr 2019 21:02:54 +0000</updated>
                            <resolved>Tue, 29 Jan 2019 21:42:17 +0000</resolved>
                                                    <fixVersion>5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="14713" author="price" created="Tue, 18 Dec 2018 02:26:37 +0000"  >&lt;p&gt;Running the 1D simulator:&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/spt_ExposureTimeCalculator (tickets/SIM2D-88=) $ python scripts/run_etc.py @scripts/run_etc.defaults --MAG_FILE=22.0 --MR_MODE=no --EXP_TIME=900 --OUTFILE_SNC=out/etc-22mag-900sec.dat --OUTFILE_SNL=-
price@MacBook:~/pfs/spt_ExposureTimeCalculator (tickets/SIM2D-88=) $ python scripts/gen_sim_spec.py @scripts/gen_sim_spec.defaults --outDir=out --etcFile=out/etc-22mag-900sec.dat --MAG_FILE=22.0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="14714" author="price" created="Tue, 18 Dec 2018 02:29:30 +0000"  >&lt;p&gt;Running the 2D simulator:&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;
setup pfs_pipe2d
setup -jr ~/pfs/datamodel  # tickets/DAMD-32
setup -jr ~/pfs/drp_instmodel  # tickets/SIM2D-88
setup -jr ~/pfs/drp_instdata  # master
cd ~/pfs/SIMS
makeSingleSim
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Processing the 2D simulated data:&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;
lsst@824ef520e03f:~/pfs/SIMS $ echo lsst.obs.pfs.PfsMapper &amp;gt; 20181213/_mapper
lsst@824ef520e03f:~/pfs/SIMS $ ingestImages.py /home/lsst/pfs/SIMS/20181213 20181213-raw/PFFA*.fits

sqlite&amp;gt; select * from raw;
id|site|category|field|visit|ccd|filter|arm|spectrograph|dateObs|expTime|dataType|taiObs|pfsConfigId|slitOffset
1|F|A|BIAS|0|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
2|F|A|BIAS|1|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
3|F|A|BIAS|2|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
4|F|A|BIAS|3|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
5|F|A|BIAS|4|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
6|F|A|BIAS|5|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
7|F|A|BIAS|6|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
8|F|A|BIAS|7|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
9|F|A|BIAS|8|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
10|F|A|BIAS|9|1|r|r|1|2018-12-13|0.0|BIAS|2018-12-13|0|0.0
11|F|A|DARK|10|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
12|F|A|DARK|11|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
13|F|A|DARK|12|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
14|F|A|DARK|13|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
15|F|A|DARK|14|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
16|F|A|DARK|15|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
17|F|A|DARK|16|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
18|F|A|DARK|17|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
19|F|A|DARK|18|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
20|F|A|DARK|19|1|r|r|1|2018-12-13|900.0|DARK|2018-12-13|0|0.0
21|F|A|FLAT|20|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
22|F|A|FLAT|21|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
23|F|A|FLAT|22|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
24|F|A|FLAT|23|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
25|F|A|FLAT|24|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
26|F|A|FLAT|25|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
27|F|A|FLAT|26|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
28|F|A|FLAT|27|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
29|F|A|FLAT|28|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
30|F|A|FLAT|29|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
31|F|A|FLAT|30|1|r|r|1|2018-12-13|30.0|FLAT|2018-12-13|0|0.0
32|F|A|ARC|31|1|r|r|1|2018-12-13|1.0|ARC|2018-12-13|0|0.0
33|F|A|OBJECT|32|1|r|r|1|2018-12-13|900.0|OBJECT|2018-12-13|0|0.0

lsst@824ef520e03f:~/pfs/SIMS $ mkdir 20181213/CALIB/

lsst@824ef520e03f:~/pfs/SIMS $ constructBias.py 20181213 --calib 20181213/CALIB --rerun bias --cores 3 --job bias --id field=BIAS
lsst@824ef520e03f:~/pfs/SIMS $ ingestCalibs.py 20181213 --calib 20181213/CALIB --validity 3000 20181213/rerun/bias/BIAS/pfsBias-2018-12-13-0-r1.fits

lsst@824ef520e03f:~/pfs/SIMS $ constructDark.py 20181213 --calib 20181213/CALIB --rerun dark --cores 3 --job dark --id field=DARK
lsst@824ef520e03f:~/pfs/SIMS $ ingestCalibs.py 20181213 --calib 20181213/CALIB --validity 3000 20181213/rerun/dark/DARK/pfsDark-2018-12-13-0-r1.fits

lsst@824ef520e03f:~/pfs/SIMS $ ingestCalibs.py 20181213 --calib 20181213/CALIB --validity 3000 $OBS_PFS_DIR/pfs/camera/pfsDetectorMap-005833-r1.fits --mode=link

lsst@824ef520e03f:~/pfs/SIMS $ constructFiberFlat.py 20181213 --calib 20181213/CALIB --rerun flat --cores 3 --job flat --id field=FLAT
lsst@824ef520e03f:~/pfs/SIMS $ ingestCalibs.py 20181213 --calib 20181213/CALIB --validity 3000 20181213/rerun/flat/FLAT/pfsFiberFlat-2018-12-13-000020-r1.fits

lsst@824ef520e03f:~/pfs/SIMS $ constructFiberTrace.py 20181213 --calib 20181213/CALIB --rerun fiberTrace --cores 1 --job fiberTrace --id visit=21
lsst@824ef520e03f:~/pfs/SIMS $ ingestCalibs.py 20181213 --calib 20181213/CALIB --validity 3000 20181213/rerun/fiberTrace/FIBERTRACE/pfsFiberTrace-2018-12-13-000021-r1.fits

lsst@824ef520e03f:~/pfs/SIMS $ reduceArc.py 20181213 --calib=20181213/CALIB/ --rerun arc --id field=ARC
lsst@824ef520e03f:~/pfs/SIMS $ reduceExposure.py 20181213 --calib 20181213/CALIB --rerun exp --id field=OBJECT
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="14715" author="price" created="Tue, 18 Dec 2018 02:38:56 +0000"  >&lt;p&gt;So now I have a pfsArm file from the 1D simulator, and a pfsArm file from the 2D simulator+pipeline, so I can compare them.&lt;br/&gt;
The flux values from the 1D simulator are in 1e-17 erg/s/cm2/A (per &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiyoto.yabe&quot; class=&quot;user-hover&quot; rel=&quot;kiyoto.yabe&quot;&gt;Kiyoto Yabe&lt;/a&gt;), so I&apos;ve multiplied it by 200 so I can plot it on the same graph as the flux from the 2D simulator+pipeline.&lt;br/&gt;
In the attached plot, red is the 1D simulator (fluxes scaled) and blue is the 2D simulator+pipeline. The agreement isn&apos;t bad (I was surprised they are as close as they are!), except at the edges, where the flux from the 1D simulator (and the noise) goes up, while the flux from the 2D simulator+pipeline goes down (the latter makes sense: there should be no flux at the ends because of the dichroics).&lt;/p&gt;

&lt;p&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/11700/11700_signoise.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="14716" author="price" created="Tue, 18 Dec 2018 02:40:44 +0000"  >&lt;p&gt;The remaining thing to do is to review and merge the changes. &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 at the changes in drp_instmodel and drp_stella?&lt;/p&gt;</comment>
                            <comment id="14816" author="price" created="Tue, 29 Jan 2019 21:42:17 +0000"  >&lt;p&gt;Merged with &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-310&quot; title=&quot;Modify pipeline flow to match design&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-310&quot;&gt;&lt;del&gt;PIPE2D-310&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="15377" author="price" created="Fri, 26 Apr 2019 21:02:54 +0000"  >&lt;p&gt;Merged the changes to spt_ExposureTimeCalculator today after discovering they hadn&apos;t been merged previously.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="11701" name="armStats.py" size="2157" author="price" created="Tue, 18 Dec 2018 02:39:21 +0000"/>
                            <attachment id="11700" name="signoise.png" size="47890" author="price" created="Tue, 18 Dec 2018 02:25:59 +0000"/>
                    </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|s0023f:j</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="39">2019 A</customfieldvalue>

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