Repository navigation
v0.1.3
laMEG v0.1.3 — 2025-11-03
🚀 Major New Features
- Automatic scalp surface generation
convert_legacy_surfaces.pyandLayerSurfaceSetnow automatically generate and save scalp surfaces (outer_skin.raw.gii, outer_skin.converted.gii) using MNE’s BEM functions.- Surfaces are correctly converted to scanner RAS coordinates and stored under
<SUBJECTS_DIR>/<subject>/bem/.
Improved mesh utilities
- Added
_fix_surface_holes()— closes small topological gaps in inflated and other surfaces using VTK’svtkFillHolesFilter. - Added
get_layer_vertices()andget_interlayer_distance()— utilities for mapping across laminar columns and computing interlayer spacing.
Head surface handling
- Introduced
load_head_mesh()for consistent access to scalp, inner skull, and outer skull GIFTI surfaces. get_distance_to_scalp()andget_radiality_to_scalp()now rely onload_head_mesh().
Visualization
- Added
verify_coregistration()inviz.pyto visualize coregistration results interactively in 3D (via k3d).
🧩 Core Improvements
coregister()now accepts custom scalp, inner-skull, and outer-skull surface filenames.- Automatically repairs holes in inflated meshes after downsampling.
Post-installation
- Streamlined logging in
postinstall.py(removed redundant console prints; unified logging output).
📚 Documentation Updates
- Added clearer post-installation step (lameg-postinstall).
🧾 Miscellaneous
- CI workflow now downloads test data from updated OSF URL (https://osf.io/hbrga/download).
Full Changelog: v0.1.2...v0.1.3