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

432 new feature willard chandler density parameter #433

Merged

Conversation

Marcello-Sega
Copy link
Owner

The Willard Chandler method takes a parameter c that defines the density to use to describe the isosurface. In Pytim, this defaults to the average of the minimum and maximum density. However, sometimes one might want to use a different value, so I've just added an argument to the WillardChandler class so we can!

I also deleted .travis.yml., which you can undo if you'd like. I wasn't able to clone the repository on Windows because the file name is invalid. I suspect it should be .travis.yml (without the trailing .), so it probably needs renaming anyway.

Please make sure that your pull request satisfies the following requirements:

If you have written a new method in one of the available modules

  • Document it with a docstring
  • Add a short, deterministic test in the docstring
  • Explain briefly what the patch is about in the pull request

Please let me know if you want me to add another test to the docstring; it might make it a bit lengthy.

@Marcello-Sega Marcello-Sega linked an issue Sep 11, 2024 that may be closed by this pull request
@Marcello-Sega
Copy link
Owner Author

@a-ws-m could you do your changes on this PR? If you don't have time let me know, I can take care. Thanks!

@a-ws-m
Copy link
Contributor

a-ws-m commented Sep 11, 2024

@Marcello-Sega I'm away for a week but I can do them when I'm back :)

@Marcello-Sega
Copy link
Owner Author

No worries, then I'll take care of it.

@Marcello-Sega
Copy link
Owner Author

I've decided to add a a surface layer identification mechanism for the Willard Chandler method, I will include the docstring test in that pull request linked to #434

@Marcello-Sega Marcello-Sega merged commit 546ad85 into master Sep 11, 2024
5 checks passed
@Marcello-Sega Marcello-Sega deleted the 432-new-feature-willard-chandler-density-parameter branch September 11, 2024 09:51
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.

new feature: Willard-Chandler density parameter
2 participants