[PIPE2D-648] Spectral whitening of AMBRE templates and SDSS spectra Created: 04/Nov/20 Updated: 05/Jan/21 Resolved: 15/Dec/20 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | Takuji Yamashita | Assignee: | Takuji Yamashita |
| Resolution: | Done | Votes: | 0 |
| Labels: | flux-calibration | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Epic Link: | flux calibration | ||||||||||||
| Sprint: | 2DDRP-2021 A | ||||||||||||
| Reviewers: | hassan | ||||||||||||
| Description |
|
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. 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. |
| Comments |
| Comment by Takuji Yamashita [ 04/Dec/20 ] |
|
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:
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. Test spectrumI 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). Parameter dependence of absorption linesBefore doing the spectral whitening, I checked the absorption lines that are strongly depending on the stellar parameters (Teff, log g, Z, and [alpha/Fe]). 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 [alpha/Fe]) are fixed but Teff is free (from 5500 K to 8000 K). Similarly, other figures are free in each parameters (logg, Z, and [alpha/Fe]). 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 [alpha/Fe]. Ca II triplets are sensitive to all the parameters. Spectral whiteningI tested two filters of the boxcar filter and Tukey filter (https://scipy.github.io/devdocs/generated/scipy.signal.windows.tukey.html). Each figure shows the input spectrum (top panel), the power spectrum and filtered one (second 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. Boxcar filterIn 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. I also show the case that the cut-out wavenumber of 20 is used to make the Balmer lines survive. Tukey filterI 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.
|
| Comment by Takuji Yamashita [ 15/Dec/20 ] |
|
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. |
| Comment by Takuji Yamashita [ 15/Dec/20 ] |
|
We can close this ticket following the 2DDRP technical telecon. I will try the median filter as a alternative. |