Skip to content

Isosurfaces#229

Merged
markusbattarbee merged 7 commits intofmihpc:masterfrom
plauri:isosurfaces
Jun 11, 2024
Merged

Isosurfaces#229
markusbattarbee merged 7 commits intofmihpc:masterfrom
plauri:isosurfaces

Conversation

@plauri
Copy link
Copy Markdown
Contributor

@plauri plauri commented Mar 21, 2024

plot_neutral_sheet: Fixed minor tick issues and added better handling of sheet folding

Comment thread pyPlots/plot_isosurface.py Outdated

for i in range(len(all_x)):
key = str(round(all_x[i]/1e6))+"_"+str(round(all_y[i]/1e6)) # Key for hashing XY coordinates, precise to one cell
key = str(round(all_x[i]/1e6))+"_"+str(round(all_y[i]/1e6)) # Key for hashing xy coordinates, precise to one cell
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tuples work as keys since they are hashable, would be a bit prettier.

I would also suggest rounding to fsgrid dx instead of 1e6 for a bit more of genericity.

@markusbattarbee markusbattarbee merged commit f72425c into fmihpc:master Jun 11, 2024
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