<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:56: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>[PIPE2D-685] Median filter to whiten an uncalibrated spectrum</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-685</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;We try the median filter to get a whitened spectrum before spectral fitting. We have tried the spectral whitening method using&#160;Fourier transformation in&#160;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-648&quot; title=&quot;Spectral whitening of AMBRE templates and SDSS spectra&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-648&quot;&gt;&lt;del&gt;PIPE2D-648&lt;/del&gt;&lt;/a&gt;. In this ticket, we study a detailed methodology of the median filter. We use AMBRE templates and observed SDSS stellar spectra for this study.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="15105">PIPE2D-685</key>
            <summary>Median filter to whiten an uncalibrated spectrum</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="takuji.yamashita">Takuji Yamashita</assignee>
                                    <reporter username="takuji.yamashita">Takuji Yamashita</reporter>
                        <labels>
                            <label>flux-cal-vector</label>
                            <label>flux-calibration</label>
                    </labels>
                <created>Tue, 15 Dec 2020 06:51:06 +0000</created>
                <updated>Fri, 28 Jan 2022 17:16:25 +0000</updated>
                            <resolved>Mon, 15 Mar 2021 13:27:14 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="18196" author="takuji.yamashita" created="Mon, 21 Dec 2020 01:25:00 +0000"  >&lt;p&gt;I tried the median filter to the SDSS F-star spectra in Lee et al. 2011 and the AMBRE model templates. That works well in both samples. The broad Balmer lines and narrow other lines survive at the same time. Because the whitened spectra with the median filter look better than those with Fourier transformation, I would use the median filter as the first option.&lt;br/&gt;
 &#160;&lt;br/&gt;
 The figures are the results of median filter whitening. Each panel follows one in the figures in &lt;ins&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-648&quot; title=&quot;Spectral whitening of AMBRE templates and SDSS spectra&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-648&quot;&gt;&lt;del&gt;PIPE2D-648&lt;/del&gt;&lt;/a&gt;&lt;/ins&gt;&lt;ins&gt;.&lt;/ins&gt; The width of median filter is 72 pixels, which is comparable to 100 nm at 600 nm. Before applying the median filter, the lines and outliers are masked by sigma-clipping and the pixels around H alpha (645 nm &amp;lt; &#955; &amp;lt; 665 nm) are also masked. The blue part (&amp;lt;~450 nm) is really worse due to many lines there.&lt;br/&gt;
 &#160;&lt;br/&gt;
 Examples&lt;br/&gt;
 an SDSS spectrum (Teff~7000K):&lt;br/&gt;
 &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13247_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13247/13247_medianFilter_AMBRE_s6000_g%2B1.0_m1.0_t02_z%2B1.00_a%2B0.40.AMBRE_Extp.fits.png&quot; title=&quot;medianFilter_AMBRE_s6000_g+1.0_m1.0_t02_z+1.00_a+0.40.AMBRE_Extp.fits.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13247&quot; file-preview-title=&quot;medianFilter_AMBRE_s6000_g+1.0_m1.0_t02_z+1.00_a+0.40.AMBRE_Extp.fits.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13246/_thumb_13246.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br/&gt;
 &#160;&lt;br/&gt;
 an AMBRE template (Teff~6000):&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13309_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13309/13309_medianFilter_SDSS_spec-2184-53534-0083.png&quot; title=&quot;medianFilter_SDSS_spec-2184-53534-0083.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13309&quot; file-preview-title=&quot;medianFilter_SDSS_spec-2184-53534-0083.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13247/_thumb_13247.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br/&gt;
 &#160;&lt;br/&gt;
 &#160;&lt;br/&gt;
 &#160;&lt;br/&gt;
 &#160;&lt;br/&gt;
 &#160;&lt;/p&gt;</comment>
                            <comment id="18314" author="takuji.yamashita" created="Thu, 7 Jan 2021 07:23:55 +0000"  >&lt;p&gt;Low temperature stars have many absorption lines. These can affect the result of the median filter whitening. This was pointed out in the 2D DRP telecon.&lt;br/&gt;
&#160;&lt;br/&gt;
The whitened spectra of two low-temperature stars (Teff = 5400K and 6000K) are shown. As pointed out, there are a lot of small absorption lines and due to this, median filters are underestimating continua. In this media filtering process, I do the sigma clipping around a pre-whitened spectrum, but these small absorption lines are not clipped.&lt;br/&gt;
Another filter, e.g., a filter tracing the first quartile, may improve it.&lt;br/&gt;
&#160;&lt;br/&gt;
Teff=5400K (SDSS star)&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13309_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13309/13309_medianFilter_SDSS_spec-2184-53534-0083.png&quot; title=&quot;medianFilter_SDSS_spec-2184-53534-0083.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13309&quot; file-preview-title=&quot;medianFilter_SDSS_spec-2184-53534-0083.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13310/_thumb_13310.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
Teff=6000K (SDSS star)&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13309_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13309/13309_medianFilter_SDSS_spec-2184-53534-0083.png&quot; title=&quot;medianFilter_SDSS_spec-2184-53534-0083.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13309&quot; file-preview-title=&quot;medianFilter_SDSS_spec-2184-53534-0083.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13309/_thumb_13309.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="18855" author="takuji.yamashita" created="Mon, 15 Mar 2021 13:27:14 +0000"  >&lt;p&gt;We can close this ticket because we have discussed about this in the telecon. After generating flux calibration vectors using these whitened spectra, we will revisit the whitening study to improve the accuracy.&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="15010">PIPE2D-651</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="15006">PIPE2D-647</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13247" name="medianFilter_AMBRE_s6000_g+1.0_m1.0_t02_z+1.00_a+0.40.AMBRE_Extp.fits.png" size="340121" author="takuji.yamashita" created="Mon, 21 Dec 2020 01:23:32 +0000"/>
                            <attachment id="13246" name="medianFilter_SDSS_spec-0380-51792-0236.png" size="322053" author="takuji.yamashita" created="Mon, 21 Dec 2020 01:22:30 +0000"/>
                            <attachment id="13309" name="medianFilter_SDSS_spec-2184-53534-0083.png" size="416260" author="takuji.yamashita" created="Thu, 7 Jan 2021 07:21:53 +0000"/>
                            <attachment id="13310" name="medianFilter_SDSS_spec-2248-53558-0345.png" size="409786" author="takuji.yamashita" created="Thu, 7 Jan 2021 07:21:58 +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_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PIPE2D-303</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qpq3:r1d</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="93">2DDRP-2021 A</customfieldvalue>

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