Skip to content

Enable serial CTE correction on WFC subarrays #700

@jryon

Description

@jryon

We did not enable serial CTE correction on WFC subarrays. One reason was Michele found that rotating non-square arrays was hard to implement in C: "It turns out that rotating rectangular matrices (M x N where M != N) is complex to do and involves a trade-off between memory and speed.  I have been researching this, and it looks like I should use some library function (e.g., linear algebra package) to do the work.  Square matrices are sooooo easy in comparison." In a later email she mentions having added some code to do the rotation that she would then remove, but I don't know if it was complete, or committed at any point.

Another reason had to do with expectations for what CALACS should do with subarrays, given that the keyword rules currently set PCTECORR = OMIT for subarrays. The reason for that is because they cannot have bias-striping correction run on them in the way CALACS does for full-frames. That is why acs_destripe_plus exists. However, when PCTECORR is set to PERFORM for a supported subarray, then parallel CTE correction can be run on it by acs_destripe_plus.

So, I think if we can figure out how to rotate subarrays to perform the serial CTE correction within CALACS, then we should extend it to all supported subarrays.

We also added a check to skip serial CTE correction for all subarrays. The discussion on that in the old issue starts here: #577 (comment)

xref

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions