[PIPE2D-665] Use better interpolation in generating sky1D Created: 05/Dec/20  Updated: 01/Sep/21  Resolved: 01/Sep/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: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to PIPE2D-821 Add RHL's block+LSQ spline algorithm Done
Sprint: 2DDRP-2021 A 8
Reviewers: hassan

 Description   

The current code to generate sky1d uses linear interpolation. We need to do better.

Because of dithering of wavelengths relative to the pixel grid we should not have problems with under sampling. A least-squares spline might be a way to get something running quickly



 Comments   
Comment by rhl [ 11/Dec/20 ]

After merging PIPE2D-680 this is less critical as fixing PIPE2D-666 will automatically improve the sky1D sampling when doSubtractSky1dBeforeMerge is True.

This ticket still needs to be done, as it allows us to handle under-sampling using dithers.

Comment by price [ 26/Aug/21 ]

This includes some work to refactor FitFocalPlaneTask and FocalPlaneFunction to make it easier to use and to extend (see also PIPE2D-663), and porting of rhl's oversampled spline (PIPE2D-821).

Comment by hassan [ 28/Aug/21 ]

In general looks fine. Minor comments added.

Comment by price [ 01/Sep/21 ]

Addressed comments and merged.

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