<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:48:26 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>[INFRA-4] Define format for persistence of 1-D spectra</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INFRA-4</link>
                <project id="10001" key="INFRA">Software Development Infrastructure</project>
                    <description>&lt;p&gt;I expect that this will be a multi-extension fits file containing data, noise, and flags.  We should take a careful look at the SDSS BOSS spectro files and see what we can learn.&lt;/p&gt;

&lt;p&gt;I expect that the same file format will be used for injection of at least some of the input spectra that the simulator needs.  I say, &quot;some&quot; because e.g. arc spectra are probable better described in terms of (lambda, intensity, width) than a 1-D spectrum.&lt;/p&gt;</description>
                <environment></environment>
        <key id="10029">INFRA-4</key>
            <summary>Define format for persistence of 1-D 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="10100" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="No further work should be done on this.">Won&apos;t Fix</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="rhl">rhl</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Jul 2014 22:28:03 +0000</created>
                <updated>Fri, 8 Jul 2016 14:22:52 +0000</updated>
                            <resolved>Fri, 8 Jul 2016 14:22:52 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="10000" author="rhl" created="Fri, 18 Jul 2014 19:13:20 +0000"  >&lt;p&gt;You&apos;ve already thought about this.&lt;/p&gt;</comment>
                            <comment id="10408" author="bick" created="Thu, 11 Dec 2014 08:15:33 +0000"  >&lt;p&gt;The experience I&apos;ve had so far has been with the SDSS spPlate file format, and I&apos;m leaning toward a modified version of it.  The short explanation is that it&apos;s multi-extension FITS with an extension for flux, inverse variance (we could use variance instead), sky spectrum subtracted (maybe/maybe-not suitable in our case), bit-flags, and metadata.&lt;/p&gt;

&lt;p&gt;Here it is described in its modern form for SDSS3:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://data.sdss3.org/datamodel/files/SPECTRO_REDUX/RUN2D/PLATE4/spPlate.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;http://data.sdss3.org/datamodel/files/SPECTRO_REDUX/RUN2D/PLATE4/spPlate.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And here&apos;s the earlier variant from SDSS2:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://classic.sdss.org/dr7/dm/flatFiles/spPlate.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;http://classic.sdss.org/dr7/dm/flatFiles/spPlate.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For the work I did on spectroscopic variability with Carlos Badenes, we modified the spPlate format to split the spectra into separate files, each containing the co-added spectrum plus the individual spectra which were stacked to produce it.  The MEF structure was the same.  The result was the so-called spFiber file.  I&apos;ve pinged a few people who&apos;ve worked with both spFiber files and spPlate files to get some feedback, and by and large the preference is for 1 source per file.  The caveat that&apos;s been mentioned is that it&apos;s often necessary to check neighboring fibers as sources of contamination, and that&apos;s easier when all data are in the same file.&lt;/p&gt;

&lt;p&gt;In bullets, here&apos;s why I like the spFiber:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;It&apos;s based on SDSS, which is:
	&lt;ul&gt;
		&lt;li&gt;&lt;b&gt;well tested&lt;/b&gt;, and&lt;/li&gt;
		&lt;li&gt;&lt;b&gt;already familiar&lt;/b&gt; to the community.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;It&apos;s a per-source format, which is:
	&lt;ul&gt;
		&lt;li&gt;more easily run in parallel,&lt;/li&gt;
		&lt;li&gt;easier to handle for users who want specific objects.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;One concern I have with it is that there&apos;s some metadata which is common to all fibers in the focal plane ... exposure time, observing conditions, etc.  In our spFiber files, we just repeated that info in each file, which is clearly inefficient (though not particularly badly so ... it&apos;s just not that much info, after all). &lt;/p&gt;

&lt;p&gt;In any case, I have an example of an spFiber, and a short Python script which loads it to make a trivial plot of the coadd and its sub-spectra.  Where is a suitable place to check these in, or to otherwise share them?&lt;/p&gt;

&lt;p&gt;Also, although I&apos;m leaning towards the spFiber model, I don&apos;t consider it a done deal.  If others have suggestions/ideas/concerns, please speak.&lt;/p&gt;
</comment>
                            <comment id="10409" author="" created="Fri, 12 Dec 2014 10:35:54 +0000"  >&lt;p&gt;Let me channel a pair of questions which I have been asked about using SDSS reductions. The proposed per-fiber model (which I like) opens some choices up.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Do we provide pre-coadd &quot;spFiber&quot;s, where pixel wavelengths have &lt;b&gt;not&lt;/b&gt; been interpolated onto a common vector? I would expect 3 rows or 3 HDUs for the three cameras. Basically: can people get &quot;well-calibrated&quot; detector pixels with unambiguous bitmasks?&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;For the coadd spFibers, do we lock the wavelength CRVAL1 to be int*CD1_1, where CD1_1 is a constant for all reductions? Even for coadds of one exposure? Basically: can spFibers be directly compared/grouped without interpolation, which process no one gets right in the face of complex bitmasks?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="11082" author="rhl" created="Thu, 7 Jul 2016 21:18:04 +0000"  >&lt;p&gt;This work has been moved into the data model project (DAMD), and is tracked in git at &lt;a href=&quot;https://github.com/Subaru-PFS/datamodel/blob/master/datamodel.txt&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/datamodel/blob/master/datamodel.txt&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="10030">SIM2D-28</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10031">SIM2D-29</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10033">SIM2D-31</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10034">SIM2D-32</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10035">SIM2D-33</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="10037">SIM2D-35</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_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DAMD-14</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qpud:r</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="16">2014-12</customfieldvalue>
    <customfieldvalue id="19">2014-13</customfieldvalue>
    <customfieldvalue id="20">2014-14</customfieldvalue>

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