<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:55:51 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-648] Spectral whitening of AMBRE templates and SDSS spectra</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-648</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;In order to do spectral fitting of uncalibrated spectra, in advance, the spectral whitening applies to spectra. We try a method in which Fourier transformation to a spectrum is performed and then a bandpass filter is applied to it. We use AMBRE templates and observed SDSS stellar spectra for this study.&#160;&lt;/p&gt;

&lt;p&gt;This ticket includes the application method to those spectra. Evaluation of the results and the fine tuning of a width of a bandpass filter will be covered in a ticket for spectral fitting.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15007">PIPE2D-648</key>
            <summary>Spectral whitening of AMBRE templates and SDSS 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="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-calibration</label>
                    </labels>
                <created>Wed, 4 Nov 2020 05:33:54 +0000</created>
                <updated>Mon, 4 Jan 2021 20:23:22 +0000</updated>
                            <resolved>Tue, 15 Dec 2020 06:44:54 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="18112" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:50:48 +0000"  >&lt;p&gt;In order to subtract the continuum from a spectrum and to get a whitened spectrum, I did the spectral whitening for a test spectrum. The spectral whitening is performed in the following procedure:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Fourier transformation of a spectrum&lt;/li&gt;
	&lt;li&gt;Apply a bandpass filter in the wavenumber domain to extract only the large wavenumber (small-scale) components&lt;/li&gt;
	&lt;li&gt;Inverse Fourier transform of the filtered spectrum, which should have been whitened.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I used a simulated spectrum similar to the PFS outputs made from the observed SDSS spectrum of an F-star. I used two high-pass filters, the boxcar and Tukey. The results were check, particularly, at four absorption lines which are strongly depending on the stellar parameters. In any cases with the boxcar filter, the small undulations (sinc functions) are left on the continuum, while those undulations subside around the monitored lines in the case with Tukey filter. It is difficult that both Balmer lines and other narrow lines survive at the same time, because the large widths of Balmer lines are close to the middle-scale fluctuations of the continuum which we want to subtract. I found the resultant spectra of the spectral whitening is very sensitive to a parameter of an adopted filter (e.g., the cut-out wavenumber and the shape parameter). The details are as follows.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Testspectrum&quot;&gt;&lt;/a&gt;&lt;b&gt;Test spectrum&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;I am using similar spectra to the PFS outputs. To make simulated spectra, I multiplied the observed SDSS spectra of F-stars in Lee et al. (2011) by the atmospheric transmission and then divided it by the flat spectrum (from the quartz lamp).&#160;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Parameterdependenceofabsorptionlines&quot;&gt;&lt;/a&gt;&lt;b&gt;Parameter dependence of absorption lines&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;Before doing the spectral whitening, I checked the absorption lines that are strongly depending on the stellar parameters (Teff, log g, Z, and &lt;span class=&quot;error&quot;&gt;&amp;#91;alpha/Fe&amp;#93;&lt;/span&gt;). Because these lines are important in stellar classification, I monitor these lines and the continua by them during the whitening process. Four figures below are the standard deviations (blue) and differences between max and min (red) of each wavelength among a subset of AMBRE templates. The left figure is made among a subset in which three parameters (log, Z, and &lt;span class=&quot;error&quot;&gt;&amp;#91;alpha/Fe&amp;#93;&lt;/span&gt;) are fixed but Teff is free (from 5500 K to 8000 K). Similarly, other figures are free in each parameters (logg, Z, and &lt;span class=&quot;error&quot;&gt;&amp;#91;alpha/Fe&amp;#93;&lt;/span&gt;). Balmer series are sensitive to Teff. Na D/He I and Paschen series are sensitive to Teff, Logg, and Z. Mg I triplets are to Logg, Z, and &lt;span class=&quot;error&quot;&gt;&amp;#91;alpha/Fe&amp;#93;&lt;/span&gt;. Ca II triplets are sensitive to all the parameters.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13234_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13234/13234_highpass_boxcar200.png&quot; title=&quot;highpass_boxcar200.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13234&quot; file-preview-title=&quot;highpass_boxcar200.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13228/_thumb_13228.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13233_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13233/13233_highpass_boxcar300.png&quot; title=&quot;highpass_boxcar300.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13233&quot; file-preview-title=&quot;highpass_boxcar300.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13229/_thumb_13229.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13232_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13232/13232_highpass_boxcar400.png&quot; title=&quot;highpass_boxcar400.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13232&quot; file-preview-title=&quot;highpass_boxcar400.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13227/_thumb_13227.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13232_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13232/13232_highpass_boxcar400.png&quot; title=&quot;highpass_boxcar400.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13232&quot; file-preview-title=&quot;highpass_boxcar400.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13230/_thumb_13230.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Spectralwhitening&quot;&gt;&lt;/a&gt;&lt;b&gt;Spectral whitening&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;I tested two filters of the boxcar filter and Tukey filter (&lt;a href=&quot;https://scipy.github.io/devdocs/generated/scipy.signal.windows.tukey.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://scipy.github.io/devdocs/generated/scipy.signal.windows.tukey.html&lt;/a&gt;). Each figure shows the input spectrum (top panel), the power spectrum and filtered one (second&#160;row from the top), the whitened spectrum from the inverse Fourier transform of the filtered spectrum (third row), and four absorption lines I am monitoring (bottom). Different figures are results with different filters and different parameters of a filter. In the bottom panel, the spectra whose local continua were subtracted using a sigma-clipped median value.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Boxcarfilter&quot;&gt;&lt;/a&gt;&lt;b&gt;Boxcar filter&lt;/b&gt;&lt;/h4&gt;

&lt;p&gt;In these four cases with the boxcar filter, the different cut-out wavenumber are adopted: 1/log10(wavelength/AA) = 200, 300, 400, 500, which are close values to a wavenumber roughly comparable to or slightly less than the scale of Balmer lines.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13235_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13235/13235_highpass_boxcar20.png&quot; title=&quot;highpass_boxcar20.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13235&quot; file-preview-title=&quot;highpass_boxcar20.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13234/_thumb_13234.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13236_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13236/13236_highpass_tukey_a0.02_cut0.0.png&quot; title=&quot;highpass_tukey_a0.02_cut0.0.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13236&quot; file-preview-title=&quot;highpass_tukey_a0.02_cut0.0.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13233/_thumb_13233.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13237_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13237/13237_highpass_tukey_a0.1_cut0.0.png&quot; title=&quot;highpass_tukey_a0.1_cut0.0.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13237&quot; file-preview-title=&quot;highpass_tukey_a0.1_cut0.0.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13232/_thumb_13232.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13236_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13236/13236_highpass_tukey_a0.02_cut0.0.png&quot; title=&quot;highpass_tukey_a0.02_cut0.0.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13236&quot; file-preview-title=&quot;highpass_tukey_a0.02_cut0.0.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13231/_thumb_13231.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;I also show the case that the cut-out wavenumber of 20 is used to make the Balmer lines survive.&lt;/p&gt;

&lt;p&gt;&#160; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13237_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13237/13237_highpass_tukey_a0.1_cut0.0.png&quot; title=&quot;highpass_tukey_a0.1_cut0.0.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13237&quot; file-preview-title=&quot;highpass_tukey_a0.1_cut0.0.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13235/_thumb_13235.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Tukeyfilter&quot;&gt;&lt;/a&gt;&lt;b&gt;Tukey filter&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;I tried to delete the small undulations of sinc functions in the boxcar cases and I used a Tukey filter for that. We can control the width and the sharpness of the filter. The undulations subsided around the monitored lines if we choose a proper parameters of the filter. The high sharpness of the filter makes the spectrum flat, but that makes the lines narrow and removes Balmer lines. On the other hand, in the case of the low sharpness, Balmer lines survive but the continuum still remains.&#160;&lt;br/&gt;
 &#160;&lt;br/&gt;
 &#160;&#160; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13400_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13400/13400_ccf_t7000_4_0_0_v200.png&quot; title=&quot;ccf_t7000_4_0_0_v200.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13400&quot; file-preview-title=&quot;ccf_t7000_4_0_0_v200.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13236/_thumb_13236.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br/&gt;
 &#160;&#160; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;13531_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/13531/13531_deltav_450s_v200.png&quot; title=&quot;deltav_450s_v200.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;13531&quot; file-preview-title=&quot;deltav_450s_v200.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/13237/_thumb_13237.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="18166" author="takuji.yamashita" created="Tue, 15 Dec 2020 06:42:10 +0000"  >&lt;p&gt;We also try the median filter to whiten a spectrum, because in this spectral whitening it is hard to make both Balmer lines (broad lines) and other narrow lines survive at the same time.&#160;&lt;/p&gt;</comment>
                            <comment id="18167" author="takuji.yamashita" created="Tue, 15 Dec 2020 06:44:54 +0000"  >&lt;p&gt;We can close this ticket following the 2DDRP technical telecon. I will try the median filter as a alternative.&#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="13230" name="Alpha_fixedt6000_g4.0_z0.0.png" size="200359" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:23 +0000"/>
                            <attachment id="13234" name="highpass_boxcar200.png" size="252345" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:38 +0000"/>
                            <attachment id="13235" name="highpass_boxcar20.png" size="243588" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:41 +0000"/>
                            <attachment id="13233" name="highpass_boxcar300.png" size="243678" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:38 +0000"/>
                            <attachment id="13232" name="highpass_boxcar400.png" size="242568" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:38 +0000"/>
                            <attachment id="13231" name="highpass_boxcar500.png" size="238026" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:38 +0000"/>
                            <attachment id="13236" name="highpass_tukey_a0.02_cut0.0.png" size="244543" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:44 +0000"/>
                            <attachment id="13237" name="highpass_tukey_a0.1_cut0.0.png" size="245677" author="takuji.yamashita" created="Mon, 7 Dec 2020 08:57:04 +0000"/>
                            <attachment id="13229" name="Logg_fixedt6000_z0.0_a0.0.png" size="235377" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:23 +0000"/>
                            <attachment id="13228" name="Teff_fixedg4.0_z0.0_a0.0.png" size="245960" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:23 +0000"/>
                            <attachment id="13227" name="Z_fixedt6000_g4.0_a0.0.png" size="297584" author="takuji.yamashita" created="Fri, 4 Dec 2020 06:40:23 +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|02qps2:s</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>