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

ENH: Template mesh generation #40

Merged
merged 3 commits into from Apr 16, 2021

Conversation

tbirdso
Copy link
Contributor

@tbirdso tbirdso commented Apr 2, 2021

Add notebook to demonstrate iterative mesh template generation with HASI registrar classes.

Depends on #29.

@tbirdso tbirdso requested review from thewtex and vicory April 2, 2021 00:58
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

src/hasi/hasi/pointsetentropyregistrar.py Outdated Show resolved Hide resolved
src/hasi/hasi/meshtomeshregistrar.py Outdated Show resolved Hide resolved
.github/workflows/build-test-package.yml Outdated Show resolved Hide resolved
@tbirdso tbirdso force-pushed the iterative-mean-mesh branch 4 times, most recently from 83e2281 to a0e1c17 Compare April 14, 2021 18:15
@tbirdso tbirdso changed the title WIP: Template mesh generation ENH: Template mesh generation Apr 15, 2021
@tbirdso tbirdso marked this pull request as ready for review April 15, 2021 13:54
@@ -0,0 +1,1042 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

We should avoid the use of filter for a variable name because it conflicts with the built-in function filter. We can use filt or filter_ or preferably something more specific, e.g. paster in this case.


Reply via ReviewNB

@@ -0,0 +1,1042 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

We should prefer the snake_case form with the snake case filters, e.g. OutputOrigin -> output_origin.


Reply via ReviewNB

@@ -0,0 +1,1042 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

Note, the output ends here with a KeyboardInterrupt. In the future, we will want to save the version in the repository with the full output.


Reply via ReviewNB

Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

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

@tbirdso awesome!!

A few style-related comment inline for future reference.

@thewtex thewtex merged commit 41db8d0 into KitwareMedical:master Apr 16, 2021
@tbirdso tbirdso deleted the iterative-mean-mesh branch April 26, 2021 15:45
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.

None yet

2 participants