[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: PNG File image-2023-11-30-14-25-57-354.png     PNG File image-2023-11-30-14-27-08-072.png     PNG File image-2023-11-30-14-27-17-819.png     PNG File image-2023-12-01-08-56-41-760.png     PNG File image-2023-12-01-08-57-28-415.png     PNG File image-2023-12-01-08-57-53-696.png     PNG File image.png    
Issue Links:
Relates
relates to PIPE2D-1251 flux calibration QA for EDR2 Done
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.

Generated at Sat Feb 10 16:06:16 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.