Agent skill · Data & Analytics

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill mtpy --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Version: 1.0.0
Declared author: Geoscience Skills
Requires: [mtpy>=2.0.0, numpy, matplotlib]
Path: skills/analysis/mtpy/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Quick Reference
  2. Key Classes
  3. Essential Operations
  4. Load and Inspect EDI
  5. Load Multiple Stations
  6. Plot MT Response
  7. Phase Tensor Analysis
  8. Rotate Impedance Tensor
  9. Create Pseudosection
  10. Export Data
  11. Impedance Tensor Components
  12. Phase Tensor Parameters
  13. When to Use vs Alternatives
  14. Common Workflows
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going