ライブラリ内の類似した信号処理手法の技術的・物理的な違いを分析し、比較解説付きのノートブックセクションを作成する
Scanned 2/12/2026
Install via CLI
openskills install majiayu000/claude-skill-registry---
name: compare_methods
description: ライブラリ内の類似した信号処理手法の技術的・物理的な違いを分析し、比較解説付きのノートブックセクションを作成する
---
# Document Method Comparison
This skill provides a procedure for creating educational sections in Jupyter Notebooks that compare two or more methods (e.g., `gwpy` vs `gwexpy`).
## Instructions
1. **Technical Analysis**:
* Examine the source code of both methods to identify implementation differences.
- **Averaging/Integration**: Does it downsample the data using a sliding window? (e.g., `gwpy.heterodyne`)
- **Filtering**: Does it use a Low-Pass Filter (LPF) like Butterworth or FIR? (e.g., `gwexpy.lock_in`)
* Compare numerical characteristics like time resolution and frequency response (aliasing).
2. **Physical/Conceptual Context**:
* Check if there are differences between engineering definitions and package conventions.
- Example: `gwpy.heterodyne` effectively performing "Homodyne" detection relative to the carrier frequency.
* Identify the target use case for each (e.g., stationary signal vs transient analysis).
3. **Construct Comparative Sample Code**:
* Create a synthetic signal that highlights the differences (e.g., a signal with rapid amplitude/phase changes).
* Execute both methods on the same input signal with comparable parameters (e.g., matching the averaging stride with the filter bandwidth).
* Visualize results in a single plot for direct comparison.
- Use `plt.step(..., where='post')` for discrete averaged data.
- Use `plt.plot(...)` for continuous filtered data.
4. **Draft Markdown Explanation**:
* Use tables to summarize differences (Algorithm, Resolution, Post-Processing, Features).
* Provide a clear summary statement on "which method to choose" for specific user goals (e.g., "Use `.lock_in()` for control system transient response").
5. **Integration**:
* Use Python scripts to inject these cells (Markdown and Code) into the target `.ipynb` file, typically appending to the end or inserting into a relevant section.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
Drive the full internationalization journey for a project — detect the stack, recommend a library, set up the chosen library, wrap existing strings, and optionally connect a translation platform. Use when the user asks to add or configure i18n, internationalization, localization, multi-language support, or translations — including when they explicitly mention LinguiJS, Lingui, next-intl, "wrap strings", "find hardcoded text", "make my app translatable", or "set up translations". Triggers on g...
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.