[PIPE2D-98] Add test to confirm that a FiberTraceSet reconstructed from pfsFiberTrace is identical to the original one Created: 11/Oct/16 Updated: 28/Dec/16 Resolved: 28/Dec/16 |
|
| 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 | ||||||||||||||||||||
| Epic Link: | persistable-fibertrace | ||||||||||||||||||||
| Sprint: | 2014-16 | ||||||||||||||||||||
| Reviewers: | price | ||||||||||||||||||||
| Description |
|
|
| Comments |
| Comment by swinbank [ 05/Nov/16 ] |
|
Currently, the round trip ends up with something which is nearly, but not quite, identical. This may be due to lack of precision due to only persisting floats. Still under investigation. |
| Comment by aritter [ 17/Nov/16 ] |
|
I have confirmed that the lack of precision in the trace-function coefficients due to only persisting floats is responsible for the difference between the stored FiberTraces and the reconstructed ones. This means that we will have to change the datamodel to persist the trace-function coefficients as double values. |
| Comment by aritter [ 17/Nov/16 ] |
|
Filed ticket |
| Comment by aritter [ 19/Dec/16 ] |
|
I can confirm now that the FiberTraces read in from disk is now identical to the FiberTraces which were persisted to disk. |
| Comment by price [ 21/Dec/16 ] |
|
I made review comments on the GitHub pull requests that I hope will simplify the code. Please check that the test you've added used to fail when you were using double in drp_stella. In particular, I'm concerned that the imprecise comparisons (assertAlmostEqual) might hide problems. |
| Comment by aritter [ 28/Dec/16 ] |
|
Merged into master |