Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-increasing ramp.fits LUT values #16

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Fix non-increasing ramp.fits LUT values #16

merged 1 commit into from
Sep 17, 2024

Conversation

d-lamb
Copy link
Member

@d-lamb d-lamb commented Sep 17, 2024

Pete Ratzlaff wrote to the pdl-general list on 2023-07-05 about a problem with the PDL::Graphics::LUT default ramp having values that are not always increasing--there is a wrinkle in the LUT.

This commit fixes that for both the ramp and the rgb table, and also aligns the values of the neg.fits ramp so that they agree with the new values in ramp.fits. xlinvals was used to make the new ramp and RGB LUT values.

Pete Ratzlaff wrote to the pdl-general list on 2023-07-05 about
a problem with the PDL::Graphics::LUT default ramp having values
that are not always increasing--there is a wrinkle in the LUT.

This commit fixes that for both the ramp and the rgb table, and also
aligns the values of the neg.fits ramp so that they agree with
the new values in ramp.fits.  xlinvals was used to make the new
ramp and RGB LUT values.
@mohawk2
Copy link
Member

mohawk2 commented Sep 17, 2024

Pity there aren't tests to check that. But thanks anyway! I'll release it now.

@mohawk2 mohawk2 merged commit f285aab into master Sep 17, 2024
19 checks passed
@mohawk2 mohawk2 deleted the fix-ramp-lut branch September 17, 2024 19:24
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.

2 participants