benchflow-ai/skillsbench/conditioning
- community
Checking that the SKILL.md file is still in the repository.
Data conditioning techniques for gravitational wave detector data. Use when preprocessing raw detector strain data before matched filtering, including high-pass filtering, resampling, removing filter wraparound artifacts, and estimating power spectral density (PSD). Works with PyCBC TimeSeries data.
Install
npx vskill@latest install benchflow-ai/skillsbench/conditioningSKILL.md
Gravitational Wave Data Conditioning
Data conditioning is essential before matched filtering. Raw gravitational wave detector data contains low-frequency noise, instrumental artifacts, and needs proper sampling rates for computational efficiency.
Overview
The conditioning pipeline typically involves:
- High-pass filtering (remove low-frequency noise below ~15 Hz)
- Resampling (downsample to appropriate sampling rate)
- Crop filter wraparound (remove edge artifacts from filtering)
- PSD estimation (calculate power spectral density for matched filtering)
High-Pass Filtering
Remove low-frequency noise and instrumental artifacts:
Why 15 Hz? Ground-based detectors like LIGO/Virgo have significant low-frequency noise. High-pass filtering removes this noise while preserving the gravitational wave signal (typically >20 Hz for binary mergers).
Resampling
Downsample the data to reduce computational cost:
Note: Resampling should happen AFTER high-pass filtering to avoid aliasing. The Nyquist frequency (half the sampling rate) must be above the signal frequency of interest.
Crop Filter Wraparound
Remove edge artifacts introduced by filtering:
Why crop? Digital filters introduce artifacts at the edges of the time series. These artifacts can cause false triggers in matched filtering.
Power Spectral Density (PSD) Estimation
Calculate the PSD needed for matched filtering:
PSD Parameters Explained
- Segment length (4 seconds): Longer segments give better frequency resolution but fewer averages. 4 seconds is a good balance.
- Low frequency cutoff (15 Hz): Should match your high-pass filter cutoff. Frequencies below this are not well-characterized.
Best Practices
- Always high-pass filter first: Remove low-frequency noise before resampling
- Choose appropriate sampling rate: 2048 Hz is standard, 4096 Hz for high-mass systems
- Crop enough time: 2 seconds is minimum, but may need more for longer templates
- Match PSD cutoff to filter: PSD low-frequency cutoff should match high-pass filter frequency
- Verify data quality: Plot the conditioned strain to check for issues
Dependencies
References
- PyCBC Tutorial: Waveform & Matched Filter - Practical tutorial covering data conditioning, PSD estimation, and matched filtering
- PyCBC Filter Documentation
- PyCBC PSD Documentation
Common Issues
Problem: PSD estimation fails with "must contain at least one sample" error
- Solution: Ensure data is long enough after cropping (need several segments for Welch method)
Problem: Filter wraparound artifacts in matched filtering
- Solution: Increase crop amount or check that filtering happened before cropping
Problem: Poor SNR due to low-frequency noise
- Solution: Increase high-pass filter cutoff frequency or check PSD inverse spectrum truncation
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtasks/gravitational-wave-detection/environment/skills/conditioning/SKILL.md
Popularity
- Repository stars
- 1,474
- Repository forks
- 325
- 7-day trend score
- 36
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/benchflow-ai/skillsbench/conditioning)