Skip to content

Conversation

@PaulPrice
Copy link
Member

No description provided.

@PaulPrice PaulPrice requested a review from hassanxp May 23, 2022 19:26
Copy link

@hassanxp hassanxp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, thanks.

@PaulPrice PaulPrice force-pushed the tickets/PIPE2D-506 branch 2 times, most recently from 7e3852c to 594775c Compare May 25, 2022 17:42
PaulPrice added 7 commits May 25, 2022 13:42
Wavelength needs to be in double precision in order to preserve
the precision in the measurements, but other quantities (esp.
flux) don't need double precision, and datamodel I/O has been
reverted to single-precision for these to save disk space.
This commit adapts to these changes.
Helps to have access to the workspace in python to understand problems.
It should not be possible to fail an assertion merely because a user
provided data with the wrong sizes.
The matrix for spectral extraction can be singular if two fibers rely on
the same single pixel.

This manifests in solveSymmetricTridiagonal as denominator=0, which leads
to all values in the solution being NaN, due to the back-propagation.
Instead, when we get denominator=0, treat that element like it doesn't have
any data (set diagonal=1, offDiag=0, answer=0) and set the solution for
that element to NAN.
@PaulPrice PaulPrice force-pushed the tickets/PIPE2D-1046 branch from ea6a987 to 32670fa Compare May 25, 2022 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants