[PIPE2D-739] mergeArms doesn't handle broken fibres in mergeLsfs Created: 25/Feb/21 Updated: 27/Feb/21 Resolved: 27/Feb/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: | rhl |
| Resolution: | Done | Votes: | 0 |
| Labels: | SuNSS | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Sprint: | 2DDRP-2021 A 2 |
| Reviewers: | price |
| Description |
|
Now that pfsArms have broken fibres ( |
| Comments |
| Comment by rhl [ 25/Feb/21 ] |
|
The quick fix is for ii in range(len(spectra)): ff = spectra.fiberId[ii] warpedLsf[ff] = warpLsf(lsf[ff], spectra.wavelength[ii], wavelength) if ff in lsf else None |
| Comment by rhl [ 26/Feb/21 ] |
|
Actually, let's get the hack merged and then think about doing this properly later |
| Comment by rhl [ 26/Feb/21 ] |
| Comment by hassan [ 27/Feb/21 ] |
|
Approved by me, but may need a check by price. |
| Comment by hassan [ 27/Feb/21 ] |
|
Review complete to move this fix promptly to master. |