[PIPE2D-1181] demonstrate spectra extraction on N2 LAM data. Created: 08/Mar/23  Updated: 07/Apr/23  Resolved: 07/Apr/23

Status: Done
Project: DRP 2-D Pipeline
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: arnaud.lefur Assignee: Unassigned
Resolution: Done Votes: 0
Labels: EngRun
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: HTML File N2_dcb_argon_46469_NO_INTRP     PNG File N2_dcb_krypton_46415_INTRP.png     PNG File N2_dcb_krypton_46415_NO_INTRP.png     PNG File N2_dcb_krypton_46416.png     Text File N2_dcb_krypton_46416.txt     PNG File N2_dcb_QTH_46419_NO_INTRP.png     PNG File N2_dcb_Xenon_46489_NO_INTRP.png    
Sprint: 2DDRP-2023 A

 Description   

We need to demonstrate that we're able to extract n arm spectra using the pipeline.
For that purpose, we would use n2 DCB data, providing the camera is in reasonably good focus fmadec ?

We need few quartz and krypton exposure, if we can interleave some darks as well, that'd be good to check persistence.



 Comments   
Comment by arnaud.lefur [ 16/Mar/23 ]

So to be more specific :

  • dark exptime=20 duplicate=3
  • scienceTrace halogen=4 duplicate=1
  • dark exptime=20 duplicate=3
  • scienceArc krypton=3 duplicate=1
  • dark exptime=20 duplicate=3
  • scienceArc argon=10 duplicate=1
  • dark exptime=20 duplicate=3
  • scienceArc xenon=3 duplicate=1

repeat this 5 times.

Comment by arnaud.lefur [ 16/Mar/23 ]


So, I reduced a LAM krypton exposure, there is still quite a lot of bad features remaining in the spectra, depending on the fiber.
The black curve is the clipped-mean spectra of all fibers.

price when I plot using pfsArm.mask, almost everything get masked, am I misusing something ?

Comment by price [ 16/Mar/23 ]

What mask planes do you have, and what are their counts? This might help.

Comment by arnaud.lefur [ 17/Mar/23 ]

Thanks, it definely helped, I've attached a file with the masks value and their occurence for each fiber.

Comment by price [ 17/Mar/23 ]

Just ignore only the (mask & NO_DATA) != 0 pixels, and you'll get a lot more spectral data.

Comment by arnaud.lefur [ 21/Mar/23 ]

Thanks.
I've also noticed that INTRP flag contains partly junk as well :


Comment by price [ 21/Mar/23 ]

INTRP means we interpolated the pixel because it's bad (which makes the image looks nicer). Those pixels should be ignored during the extraction (not because of INTRP, but because of what caused INTRP to get set). If the spectra have bad pixels with INTRP set, it means that there are image pixels in the same row as the INTRP pixels that are also bad but we're not catching.

Comment by arnaud.lefur [ 07/Apr/23 ]

The conclusion is that we're able to extract spectra, see figures from N2(sn1).
But there are still some junk features in it, those are mostly flagged INTRP.
If you ignore INTRP | NO_DATA, the spectra is cleaner but you lose quite a lot of data points.

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