[PIPE2D-882] Support reading PF?B files as rawb and returning CDS-processed ramps as raw Created: 17/Aug/21 Updated: 20/Jul/22 |
|
| Status: | Open |
| 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: | Unresolved | Votes: | 0 |
| Labels: | NIR | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Story Points: | 2 | ||||||||||||
| Sprint: | 2DDRP-2021 A12, 2DDRP-2022 A | ||||||||||||
| Description |
|
We need to be able to read the PFxB headers using the butler, and also to make the raw files useful for e.g. Fabrice. The files are MEFs with pairs of HDUs (image, reference) so simply returning the first HDU as a raw read isn't helpful. Instead, return (image[N-1] - reference[N-1]) - (image[0] - reference[0]) For real processing we'll use a more sophisticated reduction, which will require access to each HDU; please make these available via butler.get("rawb", ..., hdu=n) |