[PIPE2D-1266] Extraction of brightish object fails, and takes down neighbours Created: 21/Jul/23 Updated: 01/Aug/23 Resolved: 01/Aug/23 |
|
| 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: | engRun12 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
The extraction for fiberId 85 in 97127 r1 seems to have problems. It's a single brightish object, and seems to have extracted badly and messed up 84/86 too. b doesn't look great either. |
| Comments |
| Comment by rhl [ 25/Jul/23 ] |
|
Also seen in 97546 with the |
| Comment by price [ 25/Jul/23 ] |
|
fiberId=84,85,86 are known to have bad profiles. I believe those cobras are broken so that they cannot be hidden, which means we cannot measure accurate profiles for them. One thing we could do is replace the profile of bad fibers with the average profile.
|
| Comment by price [ 26/Jul/23 ] |
|
arnaud.lefur, could we please have these fibers (and others like them) flagged suitably in the pfsConfig? Do we need an extra FiberStatus setting? |
| Comment by rhl [ 26/Jul/23 ] |
|
We can surely do better than that? We know that the fibres are broken, so surely we can do no-worse than non-EO traces. |
| Comment by price [ 27/Jul/23 ] |
|
The "non-even/odd traces" have the profiles measured completely independently, and so are subject to contamination by nearby fibers. Because of this, we usually limit it to +/- 2 pixels, compared to the +/- 10 pixels for the simultaneous measurement. I think the above profiles look fairly consistent within the +/- 2 pixels limit, but the model can't tell the difference between the three neighboring fibers that can't be hidden, so you see the other bad fibers as well. So how do you want to fix this? Here are some options: Replacing bad fibers with the average of good nearby fibers: |
| Comment by arnaud.lefur [ 27/Jul/23 ] |
|
I think I like the first solution too. |
| Comment by rhl [ 27/Jul/23 ] |
|
One sounds OK for now. I'd have to think if we can do anything better, but there's probably no need as these will always be mostly-sky fibres. We do need to be able to know when broken cobras fall on bright objects – something that e.g. Masayuki Tanaka might want to think about. However, I'm still not happy with the explanation of the original problem. The extractions should mix the spectra from the three bad fibres, but they shouldn't go negative. The problem is apparently that we don't force the fibre profiles to be non-negative; we absolutely need to do this. It may not play well with the scattered light that we're seeing, but we need to fix that too. |
| Comment by price [ 28/Jul/23 ] |
|
Filed PIPE2D-1273 ("Introduce non-negativity constraint in fiber profile measurement") to tackle once we get the background under control. |
| Comment by rhl [ 28/Jul/23 ] |
|
How do we want to get this into the Official Calibs? It's not all that critical now you've diagnosed the problem. I've filed DAMD-151 to address the book-keeping problems. |
| Comment by price [ 29/Jul/23 ] |
|
I've already copied the updated profiles into CALIB-2023-07-v3. |
| Comment by price [ 01/Aug/23 ] |
|
Merged changes to master. |