[PIPE2D-636] FRD extraction function for noiseless in-focus PSFs Created: 01/Oct/20  Updated: 05/Jan/21  Resolved: 17/Oct/20

Status: Done
Project: DRP 2-D Pipeline
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Normal
Reporter: Brent Belland Assignee: Brent Belland
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File FRD_difference_0_93749.png     PNG File FRD_difference_0_93750.png     PNG File PSFCenterChange.png     PNG File Residual_vs_FRD.png     PNG File v034b_Recenetering.png    
Issue Links:
Blocks
is blocked by PIPE2D-643 Precise alignment of PSFs to input sc... Done
Relates
relates to PIPE2D-637 FRD extraction function for in-focus ... In Progress
relates to PIPE2D-630 Deliver algorithms to handle FRD extr... In Progress
Story Points: 6
Sprint: 2DDRP-2021 A

 Description   

This ticket is a specific implementation of the algorithm-development for ticket PIPE2D-630. The purpose of this ticket is to generate a function/class that takes an arbitrarily generated in-focus image from Neven's code and solves for its FRD. No noise is added in this step, so FRD extraction should be perfect.



 Comments   
Comment by Brent Belland [ 13/Oct/20 ]

Currently I've been trying to extract out FRD with a given input PSF. I've plotted the sum of the squares of the residuals in each pixel between a model I'm fitting and the input, finding a plot that looks like Residual_vs_FRD.png. Two things that immediately become apparent are that there are some particularly low values relative to a more apparently upper-limit curve, and that the minimum of the curve doesn't quite match up with the minimum (blue dashed line) or more importantly, the input FRD (orange dot-dash line).
 
I've looked at the fits in 2D and found that for a small number of FRD values, the centering from the algorithm seems to be off. FRD_difference_0_93750.png demonstrates the residuals between each image I generate and the input PSF. Both are slightly misaligned, notable due to a dipole-like structure in each residual, but notably in different directions. All points along the upper curve-like points have the same centering to a much , even with just a small change in FRD (FRD_difference_0_93749.png).
 
The absolute difference in PSF center for each image compared to the input science image is shown in PSFCenterChange.png. Again, most points are the same (non-zero) distance away from the center of the input PSF, which may explain why the input FRD is not matching up with minimum FRD. The sudden jumps in centering for small changes in FRD additionally seems to be a problem restricting current progress.

Comment by Brent Belland [ 14/Oct/20 ]

I've rerun the analysis for the code using Neven's work on PIPE2D-643. Now the code is consistent with its centering and the residuals have a minimum at the input FRD, as seen in v034b_Recenetering.png (blue dotted line is the old minimum, orange dot-dashed line is input FRD). This is extremely promising for the completion of this ticket!

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