[PIPE1D-63] Bad redshift measurements again? Created: 20/Jul/22 Updated: 01/Dec/22 Resolved: 01/Dec/22 |
|
| Status: | Done |
| Project: | DRP 1D pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | Kiyoto Yabe | Assignee: | Ali Allaoui |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The latest weekly test shows there seems to be the redshift measurement failure. The Z feature looks like what was seen in
|
| Comments |
| Comment by vlebrun [ 20/Jul/22 ] |
|
The problem seems to arise from a more noisy red part of the spectrum (see weekly_20220718.png |
| Comment by price [ 21/Jul/22 ] |
|
There was a fix to the variances applied during sky subtraction made as part of |
| Comment by price [ 21/Jul/22 ] |
|
The attachment pfsObject-00006-00000-0,0-00000000000103dd-002-0x11fcdfd13c364618.jpg shows the pfsObject spectrum of interest from the 2022-07-17 weekly that ran on Tiger. The black line is the flux, while the two dotted red lines are flux +/- sqrt(variance). The divot around 680 nm is a 3-sigma deviation for a single pixel, but that can't be statistically significant as a line detection. I failed to find any problems in the |
| Comment by vlebrun [ 21/Jul/22 ] |
|
I have put another zoomed view, where there is a huge spike (about 1000 times above mean value) which is as well around 3sigma, and which might an effect on the continuum. I have also identified a star spectrum where the variance is obviously wrong especially around 10000A : |
| Comment by vlebrun [ 21/Jul/22 ] |
|
yet another example of significant features that are mistaken for lines : |
| Comment by price [ 22/Jul/22 ] |
|
There are enough pixels in the spectra that 3 and 4 sigma single-pixel spikes will be plentiful. I don't think there's anything we can do about that. That star spectrum looks problematic though. |
| Comment by price [ 22/Jul/22 ] |
|
The problems with the star spectrum are due to overzealous CR masking, which is a known problem. The simulator produces sharper features than the actual instrument does, so fiber traces often get mis-identified as CRs. This is especially bad in the NIR, where there are lots of bright sky lines, and when working with bright targets. Filed |
| Comment by price [ 22/Jul/22 ] |
|
Oh, I should point out that most of the pixels in the drop-out region between 1000 and 1020 nm are masked, but that is not apparent from your plots. It would be helpful if masked pixels were readily distinguishable (or not plotted at all) in your plots, if we are going to use them to find problems. |
| Comment by vlebrun [ 22/Jul/22 ] |
|
As for the mask, we take them into account, the point is that the valid pixels are related by lines in out plots. That explains these straight lines over large intervals on this plot but there are valid pixels with underestimated variance. If this is due to the specific star spectra problem then fine, but indeed we use the masks. More generally, I wonder if this is worth keeping single isolated pixels between large masked intervals, how sure can we be they are really valid ?
|
| Comment by vlebrun [ 22/Jul/22 ] |
|
It appears those isolated unmasked pixels with huge flux and underestimated variance also occur in galaxy spectra and then are mistaken for emission lines. |
| Comment by Kiyoto Yabe [ 28/Jul/22 ] |
|
Sorry for this basic question, but there are two mask columns (one in HDU2 and the other in HDU8). Which mask is vlebrun using after all discussion in |
| Comment by Ali Allaoui [ 28/Jul/22 ] |
|
drp1d_pipe pfsobject reader uses PfsObject class to read fits ( https://github.com/Subaru-PFS/drp_1dpipe/blob/master/drp_1dpipe/io/reader.py) and we use this reader to convert pfs objects files to our format in the weekly run. |
| Comment by Kiyoto Yabe [ 29/Jul/22 ] |
|
OK, thank you. So, you use basically pfsObject.mask which corresponds to HDU2 on the plots above, I guess. Then, I'm not sure if spectra are masked properly or not. |