[PIPE2D-1261] Allow bootstrap to be performed with starting points that aren't SplinedDetectorMap Created: 20/Jul/23  Updated: 20/Jul/23  Resolved: 20/Jul/23

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

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


 Description   

b3/r3 traces moved a fair way after re-alignment, so we need to re-bootstrap. However, the current calibs use a refined detectorMap instead of the original SplinedDetectorMap that bootstrap requires. However, we should be able to get a SplinedDetectorMap out of what we have that we could use to re-bootstrap.



 Comments   
Comment by price [ 20/Jul/23 ]

Simple fix that works:

bootstrapDetectorMap.py /work/drp --calib /work/drp/CALIB --rerun price/pipe2d-1261 --flatId visit=96818 arm=r spectrograph=3 --arcId visit=96731 arm=r spectrograph=3 -c isr.doFlat=False spectralOffset=-23 rejThreshold=5 --clobber-config --no-versions

bootstrap INFO: Found 217 lines in 10 traces
bootstrap INFO: Matched 207 lines
bootstrap INFO: Median difference from detectorMap: -22.126052,0.853324 pixels
bootstrap INFO: Fit 120/123 points, rms: x=0.134640 y=0.103891 total=0.067339 pixels
bootstrap INFO: Updating detectorMap...
bootstrap INFO: Median difference from detectorMap: -24.838968,0.968073 pixels
bootstrap INFO: Fit 63/84 points, rms: x=0.198092 y=0.158852 total=0.095503 pixels
bootstrap INFO: Updating detectorMap...

bootstrapDetectorMap.py /work/drp --calib /work/drp/CALIB --rerun price/pipe2d-1261 --flatId visit=96818 arm=b spectrograph=3 --arcId visit=96770 arm=b spectrograph=3 -c isr.doFlat=False spectralOffset=-23 rejThreshold=4.5 --clobber-config --no-versions

bootstrap INFO: Found 52 lines in 10 traces
bootstrap INFO: Matched 51 lines
bootstrap INFO: Median difference from detectorMap: -1.613721,3.303525 pixels
bootstrap INFO: Fit 30/30 points, rms: x=0.064476 y=0.091466 total=0.048169 pixels
bootstrap INFO: Updating detectorMap...
bootstrap INFO: Median difference from detectorMap: -3.845303,2.737602 pixels
bootstrap INFO: Fit 15/21 points, rms: x=0.148603 y=0.096200 total=0.068532 pixels
bootstrap INFO: Updating detectorMap...
Generated at Sat Feb 10 16:05:11 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.