[PIPE2D-138] Fix FiberId identification Created: 16/Dec/16 Updated: 13/Jun/17 Resolved: 13/Jun/17 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Major |
| Reporter: | aritter | Assignee: | aritter |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Story Points: | 1 | ||||||||||||||||
| Sprint: | 2014-16 | ||||||||||||||||
| Reviewers: | rhl | ||||||||||||||||
| Description |
|
Please change the FiberId identification in FiberTrace::assignITrace and FiberTrace::findITrace |
| Comments |
| Comment by swinbank [ 10/Jan/17 ] |
|
We discussed this at the 2017-01-09 meeting. The existing tickets/
|
| Comment by aritter [ 13/Jan/17 ] |
|
I changed `findITrace` to return the number of the closest predicted FiberTrace. This function will |
| Comment by swinbank [ 19/Jan/17 ] |
|
Per discussion of 2017-01-18,
|
| Comment by swinbank [ 19/Jan/17 ] |
|
Points 2 & 3 to be attacked on |
| Comment by swinbank [ 19/Jan/17 ] |
|
The single giant commit which was on this ticket branch is now on branch PFSMeeting: https://github.com/Subaru-PFS/drp_stella/tree/PFSMeeting in separate commits (but Andreas assures me we are not losing anything). |
| Comment by aritter [ 10/Feb/17 ] |
|
swinbank, if you haven't started reviewing the ticket yet, I would have 1 more commit to add which I found stashed away, replacing one number with a control parameter |
| Comment by swinbank [ 11/Feb/17 ] |
|
Fine. I'll set the ticket back to "in progress"; please let me know (by setting the ticket to "in review") when your additional commit is added. |
| Comment by swinbank [ 22/Feb/17 ] |
|
In addition to the comments on GitHub:
|
| Comment by swinbank [ 22/Feb/17 ] |
|
Mostly quite minor comments, here and on GitHub. However, the lack of tests is a big problem, and I'd like to understand properly how maxDistance is being used. |
| Comment by aritter [ 22/Mar/17 ] |
|
swinbank, I just found out that the fiber IDs in RedFiberPixels.fits.gz contain gaps what requires a code change in order to get the correct fiber IDs. I would shortly move this ticket back to 'In Progress' and fix that unless you have any objections... |
| Comment by aritter [ 22/Mar/17 ] |
|
According to cloomis the slit has more positions than there are science fibers, and the |
| Comment by cloomis [ 22/Mar/17 ] |
|
That's from me, and I figure I should state the convention: fibers are numbered according to their position along the slit, and not according to their index as visible science fibers. Besides the science fibers which the pipeline sees, there are gaps between fiber bundles and between the two CCDs, and there are other fibers – fiducial alignments fibers, etc. So all of PFS numbers fibers from 1 to 651, even though there are only ~600 science fibers per spectrograph. |
| Comment by aritter [ 22/Mar/17 ] |
|
I think you mean [-324, 324] |
| Comment by rhl [ 22/Mar/17 ] |
|
I thought that fibres start at 1. What did cloomis mean? |
| Comment by swinbank [ 22/Mar/17 ] |
|
I've set this back to "in review" — as suggested by @aritter above — until the above issues are resolved. |
| Comment by cloomis [ 22/Mar/17 ] |
|
cloomis meant what he said, but 1) left out the 1-indexing and 2) got the numbers wrong. Yes, the fibers should be numbered from 1 to 651, and the science fibers span 2 to 650 The file which aritter has is not correct, as it is still indexed w.r.t. the center being 0. |
| Comment by rhl [ 07/Jun/17 ] |
|
I didn't check that the code is correct. Please look at the review comments and deal with as appropriate. Sometimes this means filling a ticket. |
| Comment by aritter [ 13/Jun/17 ] |
|
Merged into master |