[PIPE2D-1336] flux calibration vetor is jagged Created: 30/Nov/23 Updated: 01/Dec/23 Resolved: 01/Dec/23 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | Masayuki Tanaka | Assignee: | sogo.mineo |
| Resolution: | Done | Votes: | 0 |
| Labels: | EDR | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Epic Link: | flux calibration | ||||||||
| Reviewers: | price | ||||||||
| Description |
|
The flux calibration vectors for EDR2 are often jagged. I mistakenly thought that this was due to bad extraction before, but I confirmed that this is due to bad flux calibration vectors. An example spectrum is attached here. This is a flux-calibrated CALSPEC star. It is a very bright star and the S/N is supposed to be very high. The jagged spectrum is due to bad flux calibration. In each exposure, we have 40-100 FLUXSTD, each of which is slightly off from the fiber center (and the amount of offset is different from fiber to fiber). This results in flux cabration vectors with varying normalizations. When we combine them into the master flux calibration vector, the pipeline applies clipping at each wavelength, making the master vector look jagged. The solution is to normalize the flux calibration vectors to the best one (i.e., the one closest to the fiber center) before combining them into the master vector.
|
| Comments |
| Comment by Masayuki Tanaka [ 30/Nov/23 ] |
|
Mineo-kun made a fix and I confirmed that improved the flux calibration vector. An example is here. The first figure is the problematic flux calibration vector and the 2nd one is after the fix. The improvement is obvious. The figure is missing the labels, but the horizontal axis is wavelength in nm, and the vertical axis is the e-/sec -> nJy conversion factor. |
| Comment by sogo.mineo [ 30/Nov/23 ] |
|
Could you review this PR? |
| Comment by price [ 01/Dec/23 ] |
|
Why is the conversion factor negative for much of that plot? Are you plotting the logarithm? |
| Comment by Masayuki Tanaka [ 01/Dec/23 ] |
|
Yes, I took the logarithm on the vertical axis. I should have plotted the axis. Here are the revised ones: |
| Comment by sogo.mineo [ 01/Dec/23 ] |
|
Merged to master. Thanks for the review. |