mtpy
Magnetotelluric data processing and modelling. Read EDI files, analyze MT responses, perform inversions, and visualize resistivity models. Use when Claude needs to: (1) Read/write EDI files, (2) Process MT impedance tensors, (3) Analyze phase tensors and dimensionality, (4) Plot apparent resistivity and phase curves, (5) Create pseudosections, (6) Perform strike analysis, (7) Run 1D inversions, (8) Prepare data for 2D/3D modelling.
npx skills add majiayu000/claude-skill-registry --skill mtpy --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# mtpy - Magnetotelluric Analysis ## Quick Reference ```python from mtpy import MT, MTCollection # Read single station mt = MT('station001.edi') # Access data Z = mt.Z # Complex impedance tensor freq = mt.frequency # Frequency array rho_xy = mt.apparent_resistivity[:, 0, 1] # Apparent resistivity # Station info print(mt.station, mt.latitude, mt.longitude) # Write EDI mt.write_edi('output.edi') ``` ## Key Classes | Class | Purpose | |-------|---------| | `MT` | Single station MT data container | | `MTCollection` | Multiple stations management | | `PlotMTResponse` | Plot impedance, resistivity, phase | | `PlotPhaseTensor` | Phase tensor ellipse visualization | | `PlotPseudoSection` | Profile pseudosection display | | `PlotStrike` | Strike direction analysis | ## Essential Operations ### Load and Inspect EDI ```python from mtpy import MT mt = MT('station001.edi') print(f"Station: {mt.station}") print(f"Location: ({mt.latitude}, {mt.longitude})") print(f"Frequencies: {len(mt.frequency)} points") print(f"Period range: {1/mt.frequency.max():.2f} - {1/mt.frequency.min():.0f} s") ``` ### Load Multiple Stations ```python from mtpy import MTCollection mc = MTCollection() mc.from_edis('survey
- Quick Reference
- Key Classes
- Essential Operations
- Load and Inspect EDI
- Load Multiple Stations
- Plot MT Response
- Phase Tensor Analysis
- Rotate Impedance Tensor
- Create Pseudosection
- Export Data
- Impedance Tensor Components
- Phase Tensor Parameters
- When to Use vs Alternatives
- Common Workflows
What does the mtpy skill do?
Magnetotelluric data processing and modelling. Read EDI files, analyze MT responses, perform inversions, and visualize resistivity models. Use when Claude needs to: (1) Read/write EDI files, (2) Process MT impedance tensors, (3) Analyze phase tensors and dimensionality, (4) Plot apparent resistivity and phase curves, (5) Create pseudosections, (6) Perform strike analysis, (7) Run 1D inversions, (8) Prepare data for 2D/3D modelling.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill mtpy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
