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

Add gamma_min/max as kwargs #60

Merged
merged 2 commits into from
Apr 22, 2021
Merged

Conversation

wtbarnes
Copy link
Member

Description

In the IDL implementation (see https://solarphysics.aber.ac.uk/mgn.pro), the minimum and maximum values for the gamma-transform, called a0 and a1, are input arguments. However, in this translation, they are fixed as the min and max values of the image. This PR makes them arguments that default to the min and max of the image. This should probably include a test for non-None values of these kwargs...

@pep8speaks
Copy link

pep8speaks commented Apr 21, 2021

Hello @wtbarnes! Thanks for updating this PR.

Line 11:101: E501 line too long (109 > 100 characters)

Comment last updated at 2021-04-21 18:36:45 UTC

@nabobalis nabobalis merged commit 0996551 into sunpy:master Apr 22, 2021
@nabobalis
Copy link
Contributor

Thanks for the PR!. I don't think we need to worry about that test.

@wtbarnes
Copy link
Member Author

Oops I just realized I don't have precommit installed on my local version of sunkit-image...

@nabobalis
Copy link
Contributor

It's fine, I dealt with all of that.

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