Skip to content

feat(schema): new [magnetic] sub-table (#155)#192

Merged
gerchowl merged 3 commits into
mainfrom
feature/155-magnetic-subtable
May 6, 2026
Merged

feat(schema): new [magnetic] sub-table (#155)#192
gerchowl merged 3 commits into
mainfrom
feature/155-magnetic-subtable

Conversation

@gerchowl
Copy link
Copy Markdown
Contributor

@gerchowl gerchowl commented May 6, 2026

Pure additive — new MagneticProperties dataclass for MR-PET hybrid systems and shielding analysis.

Field Unit Reference
susceptibility_volumetric χ_v, SI dimensionless Cu -9.6e-6, Ti -1.8e-6
permeability_relative μr dimensionless Mu-metal +20000
saturation_field T (ferromagnetics) + Pint accessor

Wired through:

  • AllProperties.magnetic field
  • Loader dispatch + child-skip whitelist
  • test_toml_integrity._KNOWN_GROUPS
  • pymat-mcp _ALL_DOMAINS

Test plan

  • pytest tests/test_magnetic_subtable.py — 6 tests pass
  • Full corpus regression via test_toml_integrity
  • ruff check clean

Closes #155

Pure additive — new MagneticProperties dataclass for MR-PET hybrid
systems and shielding analysis (need χ < ~10 ppm for null artifacts):

- susceptibility_volumetric (χ_v, SI, dimensionless)
  Cu -9.6e-6, Ti -1.8e-6 are MR-safe references
- permeability_relative (μr, dimensionless)
  Mu-metal +20000 high-permeability shield
- saturation_field (T, ferromagnetics only) + Pint accessor

Wires:
- AllProperties.magnetic field
- Loader dispatch + child-skip whitelist
- test_toml_integrity._KNOWN_GROUPS
- pymat-mcp _ALL_DOMAINS (so get_material payloads include magnetic)

Tests: tests/test_magnetic_subtable.py (6 tests).

Closes #155
@gerchowl gerchowl enabled auto-merge (squash) May 6, 2026 19:32
@gerchowl gerchowl merged commit 14fa448 into main May 6, 2026
18 checks passed
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.

Schema: new magnetic sub-table

1 participant