<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:08:31 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-94] Simulator should accept a PfsConfig instance</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/SIM2D-94</link>
                <project id="10000" key="SIM2D">DRP 2-D Simulator</project>
                    <description>&lt;p&gt;The Simulator has the capability of reading a library of spectra, but the association between fibers and spectra is currently random. In order to simulate a survey, the user should provide a &lt;tt&gt;PfsConfig&lt;/tt&gt; to the Simulator, which it then implements.&lt;br/&gt;
This requires:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Modifying the front-end of the Simulator to accept a &lt;tt&gt;PfsConfig&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Providing a facility to construct a &lt;tt&gt;PfsConfig&lt;/tt&gt; (random assignment) for the user who doesn&apos;t want to run a full simulated survey targeting program.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="13247">SIM2D-94</key>
            <summary>Simulator should accept a PfsConfig instance</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, 29 Jan 2019 16:02:49 +0000</created>
                <updated>Wed, 13 Mar 2019 19:52:25 +0000</updated>
                            <resolved>Wed, 13 Mar 2019 18:55:27 +0000</resolved>
                                                    <fixVersion>6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="14946" author="price" created="Sat, 9 Feb 2019 01:23:12 +0000"  >&lt;p&gt;Also, create the blue and red images as part of the same command.&lt;/p&gt;</comment>
                            <comment id="15004" author="price" created="Fri, 22 Feb 2019 02:05:47 +0000"  >&lt;p&gt;Actually, we want the simulator to accept a &lt;tt&gt;PfiDesign&lt;/tt&gt;; this is kinda how the actual instrument works too.&lt;/p&gt;</comment>
                            <comment id="15005" author="price" created="Fri, 22 Feb 2019 02:09:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hassan&quot; class=&quot;user-hover&quot; rel=&quot;hassan&quot;&gt;hassan&lt;/a&gt;, I believe this is done; I&apos;ll do some more testing on Monday.&lt;/p&gt;

&lt;p&gt;I&apos;ve made the modifications to the simulator. There&apos;s also a minor addition to &lt;tt&gt;PfsConfig&lt;/tt&gt; in datamodel and a bugfix there too, just because I spotted it. The changes in pfs_instmodel are based off &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-316&quot; title=&quot;Demonstrate arm merging&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-316&quot;&gt;&lt;del&gt;PIPE2D-316&lt;/del&gt;&lt;/a&gt;.&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/datamodel (tickets/SIM2D-94=) $ git sub
commit e5f9193c3694baef9195c99f4e53d7605c4d1db8
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Wed Feb 20 15:54:10 2019 -0500

    PfsSpectra: fix plotting
    
    Was attempting to iterate over multiple arrays withing zipping them.

 python/pfs/datamodel/pfsSpectra.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit da266024310c3564a9801ffba3278549ca844513
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Wed Feb 20 18:27:14 2019 -0500

    git: ignore test side effect

 .gitignore | 1 +
 1 file changed, 1 insertion(+)

commit 80ecb2918596f246df9f5cddce043616280e72ac (HEAD -&amp;gt; tickets/SIM2D-94, origin/tickets/SIM2D-94)
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Thu Feb 21 15:23:48 2019 -0500

    add PfsConfig.fromPfiDesign
    
    Construct a PfsConfig given a PfiDesign and a couple of other bits.

 python/pfs/datamodel/pfsConfig.py | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)



price@MacBook:~/pfs/drp_instmodel (tickets/SIM2D-94 %=) $ git sub tickets/SIM2D-94 origin/tickets/PIPE2D-316
commit 210807152bd423cef1be439c7647a40c8a3c71b3 (HEAD -&amp;gt; tickets/SIM2D-94, origin/tickets/SIM2D-94, tickets/PIPE2D-316)
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Thu Feb 21 20:55:45 2019 -0500

    split makeSim into makePfiDesign+makeSim
    
    In order to create multiple arms with the same fiber assignments, we
    want makeSim to receive a PfiDesign (that&apos;s kinda how the actual
    instrument will work too!). So now you first makePfiDesign, and then
    use that PfiDesign in makeSim.
    
    In the process, did some reorganisation (&lt;span class=&quot;code-quote&quot;&gt;&quot;python/pfs_instmodel&quot;&lt;/span&gt; --&amp;gt;
    &lt;span class=&quot;code-quote&quot;&gt;&quot;python/pfs/instmodel&quot;&lt;/span&gt;; remove &lt;span class=&quot;code-quote&quot;&gt;&quot;examples&quot;&lt;/span&gt; directory and rename
    sampleField.py to fieldDefinitions.py); sorry to include these here,
    but it was difficult to split out after having done the work.

 bin/makePfiDesign                                  |   1 +
 bin/makeSimRun                                     |  75 +++++-----
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/__init__.py   |   0
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/detector.py   |   0
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/exposure.py   |   0
 python/pfs/instmodel/fieldDefinitions.py           |  87 ++++++++++++
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/jegSpots.py   |   0
 python/pfs/instmodel/makePfiDesign.py              |  51 +++++++
 .../instmodel}/makePfsConfig.py                    | 117 ++++++++--------
 python/{pfs_instmodel =&amp;gt; pfs/instmodel}/makeSim.py |  35 ++---
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/plotutils.py  |   0
 python/{pfs_instmodel =&amp;gt; pfs/instmodel}/probe.py   |   0
 python/{pfs_instmodel =&amp;gt; pfs/instmodel}/psf.py     |   0
 python/pfs/instmodel/readme.txt                    | 154 +++++++++++++++++++++
 .../examples =&amp;gt; pfs/instmodel/schema}/__init__.py  |   0
 .../instmodel}/schema/probes.py                    |   0
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/simImage.py   |   6 +-
 python/{pfs_instmodel =&amp;gt; pfs/instmodel}/sky.py     |   0
 python/{pfs_instmodel =&amp;gt; pfs/instmodel}/slit.py    |   0
 python/{pfs_instmodel =&amp;gt; pfs/instmodel}/specMap.py |   0
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/spectrum.py   |   0
 .../instmodel}/spectrumLibrary.py                  |   0
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/splinedPsf.py |   8 ++
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/spotgames.py  |   2 +-
 .../instmodel}/utils/SeqPath.py                    |   0
 .../instmodel}/utils/__init__.py                   |   0
 .../instmodel}/utils/blackbody.py                  |   0
 .../instmodel}/utils/centroid.py                   |   0
 .../instmodel}/utils/configFile.py                 |   0
 .../instmodel}/utils/generators.py                 |   0
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/utils/geom.py |   0
 .../instmodel}/utils/pydebug.py                    |   0
 .../instmodel}/utils/rebin.py                      |   0
 .../instmodel}/utils/schema.py                     |   0
 .../{pfs_instmodel =&amp;gt; pfs/instmodel}/zemaxSpots.py |   0
 python/pfs_instmodel/examples/sampleField.py       |  77 -----------
 python/pfs_instmodel/schema/__init__.py            |   0
 37 files changed, 418 insertions(+), 195 deletions(-)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="15065" author="price" created="Thu, 7 Mar 2019 16:25:55 +0000"  >&lt;p&gt;I&apos;ve added GitHub PRs for datamodel and drp_instmodel. The latter includes related work that gets the simulator working on the blue arm.&lt;/p&gt;</comment>
                            <comment id="15068" author="hassan" created="Thu, 7 Mar 2019 18:24:17 +0000"  >&lt;p&gt;Comment made by &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; during review moved to a separate ticket (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/SIM2D-109&quot; title=&quot;Refactor code such that PfsConfigs are not dark/flat/science specific&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SIM2D-109&quot;&gt;&lt;del&gt;SIM2D-109&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="15114" author="price" created="Wed, 13 Mar 2019 18:55:27 +0000"  >&lt;p&gt;Merged to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="13245">PIPE2D-316</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13409">SIM2D-109</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|02qpt6:508yjj49</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="43">2019 B</customfieldvalue>
    <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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>