Skip to content

Releases: Deep-MI/LaPy

LaPy v1.5.0

23 Dec 11:12
e1e37cb

Choose a tag to compare

What's Changed

  • add polygon.py to expose Polygon.resample method by @m-reuter in #96
  • add testing for polygon
  • allow passing header instead of full images for TK-RAS conversion in write_fssurf, also deal with other non-MGH files
  • replace print statements with logger calls
  • code hardening (adding checks for out-of-range or division by zero)
  • improve docstrings everywhere
  • add type hints
  • replace exits with raise errors

Full Changelog: v1.4.1...v1.5.0

LaPy v1.4.1

17 Dec 17:05

Choose a tag to compare

Hotfix:

  • Add underscore to in-place mesh operation function TriaMesh.keep_largest_connected_component_
  • Adjust tests
  • Bump version to 1.4.1 (1.4.0 should not be used)

Full Changelog: v1.4.0...v1.4.1

LaPy 1.4.0

11 Dec 12:29
c04a449

Choose a tag to compare

What's Changed

  • Add better smoothing options for triangle mesh (Laplace and Taubin)
  • Add functionality to map from voxel coordinates to surface RAS (tk) coordinates when writing FreeSurfer files
  • Add code to compute connected components and to reduce the mesh to the largest connected component
  • For curvature computation use eigh (for symmetric matrices) rather than eig
  • Add more automated testing
  • Improvements to documentation and minor fixes

Note, that TriaMesh.smooth_vfunc() is now deprecated and should be replaced with smooth_laplace(lambda_=1) for same functionality. Or use other laplace or smooth_taubin smoothing.

Also, the in-place mesh smoother TriaMesh.smooth_ now uses Taubin to avoid mesh shrinkage. It probably needs more iteration as the diffusion is slower than in the simple implementation before.

Full Changelog: v1.3.0...v1.4.0

LaPy v1.3.0

16 Sep 07:33
4bad961

Choose a tag to compare

Release v1.3.0

When extracting level paths on a triangle mesh, it was important to know on what edges and where exactly the level set crosses the triangle edges. For example for inserting these points into the mesh later or for sampling another function on the mesh at those locations later. We added this functionality to tria_mesh level_path changing the function call and return interfaces slightly. See the documentation of this function for details.

https://deep-mi.org/LaPy/dev/api/generated/lapy.TriaMesh.html#lapy.TriaMesh.level_path

What's Changed

  • return edge indices and ratios for levelpaths in #79
  • set code coverage to informational (no failures) in #71
  • Docstrings in #75
  • Bump actions in several PRs

Full Changelog: v1.2.0...v1.3.0

LaPy v1.2.0

16 Dec 23:13

Choose a tag to compare

What's Changed

  • add code to extract level set paths and lengths by @m-reuter in #70

Full Changelog: v1.1.2...v1.2.0

LaPy v1.1.2

15 Dec 22:06

Choose a tag to compare

Summary

This mainly fixes a minor bug in tria_compute_rotated_f, avoiding a singular matrix by specifying an arbitrary Dirichlet boundary condition at one vertex.

Also fixes an issue with solver.poisson when passing both a function and boundary conditions (adding a new axis, to have a 2d matrix with one column).

What's Changed

Full Changelog: v1.1.1...v1.1.2

LaPy v1.1.1

30 Aug 19:26
c920444

Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.1.1

LaPy v1.1.0

16 Aug 12:58
fc7d694

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

v1.0.1

28 Jun 12:04
d0adab7

Choose a tag to compare

LaPy v1.0.1

Bug Fix: export_ev --> write_ev in diffgeo.py by @AhmedFaisal95 in #38

Full Changelog: v1.0.0...v1.0.1

v1.0.0

15 Jun 15:35
e0f2d70

Choose a tag to compare

LaPy v1.0.0

Attention: this release contains API changes!

  • Classes: TriaMesh, TetMesh, and Solver are still available directly at top level and imported directly from lapy.
  • Mesh IO: mesh classes have been extended with IO class member functions and TriaIO and TetIO have been deprecated. Use read_* and write_* class members to load and write mehses, for example, TriaMesh.read_vtk() to import a VTK triangle mesh file. This simplifies IO greatly.
  • Module names have been changed to comply with PEP8 conventions (lower case). For example, DiffGeo to diffgeo, FuncIO to io, and Plot to plot, etc.

What's Changed

Full Changelog: v0.5.0...v1.0.0