magscan
БесплатноБез исполняемых скриптовНе проверенAnalyze magnetic scan TXT inputs with MagScan. Use signal analysis for Interplt channels, profiles, and residual SNR; use field analysis for Bx/By coverage…
от infometa★ 475 звёзд на GitHubОб этом скилле
MagScan
Use the task-oriented tools from the packaged magscan MCP server. Tool names below are raw MCP names; let the client resolve its namespace.
Workflow
- For each local TXT input, call
magscan_prepare_uploadwith its plain filename. Send the raw file bytes to the returned URL using the returned HTTP method and headers. Use itsattachment_refonly after the PUT succeeds. - For a remote HTTP(S) TXT input, call
magscan_ingest_urlwith its URL and plain filename. The Server fetches the file and returns a readyattachment_ref. The URL must be oniphy.ac.cnor a subdomain, use the standard HTTP(S) port, and contain no user information; redirects are rejected. - Choose one analysis operation:
magscan_analyze_signaltakes oneinterplt_refand optionalparams. Use it for Interplt channel selection, phase rotation, layered profiles, smoothing, and residual SNR. Raw slices are not inputs to this operation.magscan_analyze_fieldtakes oneinterplt_ref, orderedraw_slice_refs, and optionalparams. Provide 1–1023 distinct raw Y-slice references; none may equal the Interplt reference. Use it for magnetic-field Bx/By and measured-grid coverage. Its only parameter issample. Each reference must come frommagscan_ingest_urlor a completed upload. Copy references unchanged. References can be reused across tasks. Keep the Interplt grid and raw slices matched to the selected sample. Apply the user's settings and existing authorization; otherwise state the service defaults. Ask only when an unresolved sample or setting materially affects the requested analysis.
- Both analysis operations return a
task_id. Pollmagscan_get_task_statuswhile status ispendingorrunning. Onfailed, report its error; callmagscan_get_task_resultsonly aftersucceeded. - Analysis results include
source_filename,sample,grid_shape(Y, X), andwarnings. Signal results also includesnr_ppandsnr_pp_status; field results includefield_summary. Reportalgorithm_versionandeffective_params, and compare scans using their parameters and coverage rather than SNR alone. - To create readable outputs and plots, call
magscan_generate_reportwith a succeeded signal or field analysistask_id. This creates a separate report task. Poll its status and callmagscan_get_task_resultsafter it succeeds. Analysis results provideanalysis.json; report results provide PNG, Markdown, HTML, and summary JSON files. Each file has a direct HTTP GET URL when available; a null URL means unavailable. Readsummary.jsonwhen provenance or detailed diagnostics matter. The HTML report embeds its images for standalone viewing.
Signal parameters
One parameter set applies to the magscan_analyze_signal task.
| Field | Default | Meaning and constraint |
|---|---|---|
sample |
1 | Integer 1 or 2; select the matching sample in the Interplt input. |
channel |
lockin_y |
lockin_x, lockin_y, signal_x, signal_y, or tek2110. |
phase_rotation_deg |
5.0 | Finite angle in degrees; lock-in rotation applies only to lock-in X/Y. |
profile_y_index |
null | Zero-based Y row; null selects the middle row. |
layers |
5 | Positive number of Y layers averaged for the profile. |
smoothing_window |
11 | Odd integer at least 3, no greater than profile length. |
smoothing_polyorder |
2 | Nonnegative integer smaller than the smoothing window. |
magscan_analyze_field accepts only sample (default 1; integer 1 or 2). Defaults come from a standard sample and do not establish optimal settings for another experiment. Invalid smoothing settings fail; do not silently adjust them or claim that the service selected another algorithm.
Scientific interpretation
- Lock-in X/Y rotation uses X'=Xcos(theta)+Ysin(theta) and Y'=Ycos(theta)-Xsin(theta). Interplt grids are supplied as inputs; the service does not generate upstream Interplt data.
- Raw magnetic-field X/Y are measured in nT;
tek2110is voltage in V. Keep these quantities distinct from the selected Interplt channel.field_summaryreports extrema, measured/missing cells, and coverage. Raw measurements are averaged onto the nearest grid coordinate, with exact midpoints assigned to the lower coordinate. Missing cells remain missing, rather than becoming zero field. - Field magnitude is only
sqrt(Bx²+By²), without Bz. The service does not perform quantitative magnetic-moment inversion. Do not label these maps as magnetic-moment or magnetic-moment-density distributions. snr_ppispeak_to_peak(smoothed_profile) / peak_to_peak(profile - smoothed_profile)using Savitzky–Golay smoothing. Zero residual noise gives null withsnr_pp_status: zero_noise, not measured infinite SNR. Ordinary numeric results have statusdefined. Neither task success nor this metric proves instrument calibration or LabVIEW equivalence.summary.jsonrecords provenance, requested settings, input and core source hash
Установить magscan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл magscan?
Analyze magnetic scan TXT inputs with MagScan. Use signal analysis for Interplt channels, profiles, and residual SNR; use field analysis for Bx/By coverage; generate reports from completed analyses. Quantitative magnetic-moment inversion is unavailable.
Как установить скилл magscan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл magscan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic