[PIPE2D-755] Propagate flag information from arc/sky line files into e.g. reduceArc Created: 05/Mar/21  Updated: 20/Apr/21  Resolved: 20/Apr/21

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

Type: Story Priority: Normal
Reporter: rhl Assignee: price
Resolution: Done Votes: 0
Labels: SuNSS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 3
Sprint: 2DDRP-2021 A3, 2DDRP-2021 A 4

 Description   

There are two sets of flags used for reference lines, and they conflict. Please add the ones used in e.g. skyLines.txt or ArCdHgKrNeXe.txt to the ones defined in ReferenceLine::Status (n.b. this will require changing the values in the .txt files).

Then fix readLineListFile to use these values (which looks as if it's just a comment).

Once this is done, we need to fix reduceArcTask to read all the lines, above an intensity threshold, and match all of them before discarding the ones labelled as being e.g. blends.

This is necessary as some of the OH lines are blended, so they are marked as such (currently 2) in the skyLines.txt file. However, reduceArc drops lines with status != 0, so when it goes to match lines it doesn't know that there is a line, but it shouldn't use it, and instead makes a bad match.

There are some lines labelled 1 for not-visible. We'd either need to exclude them from the line matching, or reset their intensities to 0, or better mask them out on read (using the flagsToIgnoreMask argument to readLineListFile); I think it'd be better not to read them at all, as otherwise they'll confuse the debug plots.



 Comments   
Comment by price [ 20/Apr/21 ]

I believe the goals of this ticket were done as part of PIPE2D-557. If not, please reopen and let me know what's missing.

Generated at Sat Feb 10 15:57:21 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.