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

One of these functions is not like the others #220

Closed
GillySpace27 opened this issue Jul 7, 2024 · 3 comments
Closed

One of these functions is not like the others #220

GillySpace27 opened this issue Jul 7, 2024 · 3 comments

Comments

@GillySpace27
Copy link
Contributor

GillySpace27 commented Jul 7, 2024

Basically, in the sunkit-image.radial module, the exported functions are all "full, stand-alone" algorithms except for the "set attenuation coefficients" function, which is just a helper for the FNRGF algorithm.

`all = ["fnrgf", "intensity_enhance", "set_attenuation_coefficients", "nrgf", "rhef"]

I would suggest that the parameters could just be passed in as arguments to the main algorithm, rather than having an extra public function. Could also be handled by importing from the utils file, for ease of understanding.

__all__ = [
"fnrgf",
"intensity_enhance",
"set_attenuation_coefficients",
"nrgf",
]

Tasks

Preview Give feedback
No tasks being tracked yet.
@nabobalis
Copy link
Contributor

Yeah, that is good idea!

@Abinash-bit
Copy link
Contributor

#243 fixes this.

@Abinash-bit
Copy link
Contributor

@nabobalis @GillySpace27

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 a pull request may close this issue.

3 participants