conditioning

Preprocess gravitational-wave strain data with high-pass filtering, resampling, and PSD estimation for PyCBC workflows.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill conditioning-generalreasoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: conditioning
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/gravitational-wave-detection/environment/skills/conditioning
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill conditioning-generalreasoning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Preprocess raw gravitational-wave detector strain data to remove low-frequency noise, curb artifacts, and ensure data are in a suitable sampling rate for accurate matched-filtering.

Core Features & Use Cases

  • High-pass filtering to remove noise below ~15 Hz
  • Resampling to a standard sampling rate (e.g., 2048 Hz)
  • Crop filter wraparound to mitigate edge artifacts
  • PSD estimation for matched filtering
  • Use Case: Prepare data for PyCBC-based GW analysis pipelines

Quick Start

Run the conditioning pipeline on a raw strain time series to produce a preprocessed, PSD-informed time series ready for matched-filtering.

Frequently Asked Questions about conditioning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preprocess gravitational-wave strain data for matched filtering?

Preprocess gravitational-wave strain data by applying high-pass filtering, resampling, and crop wraparound removal before matched filtering. This pipeline ensures the time series is cleaned and ready for accurate PyCBC analysis workflows.

Why does matched filtering require PSD estimation on time-series data?

PSD estimation on time-series data is required to characterize the detector's noise background for matched filtering. Estimating the power spectral density allows the pipeline to weight frequency bands and improve gravitational-wave signal detection sensitivity.

What is the best way to remove low-frequency noise from GW strain data?

The best way to remove low-frequency noise from GW strain data is applying high-pass filtering to eliminate noise below approximately 15 Hz. This conditioning step removes artifacts that interfere with matched filtering and prepares the data for standard sampling rates.

Does this conditioning pipeline work with PyCBC TimeSeries workflows?

Yes, the conditioning pipeline works directly with PyCBC TimeSeries workflows. It produces preprocessed outputs and PSD estimates that are fully compatible with standard gravitational-wave data analysis pipelines built on the PyCBC framework.

How do I mitigate edge artifacts when filtering gravitational-wave data?

Mitigate edge artifacts when filtering gravitational-wave data by using crop wraparound removal. This conditioning technique crops the filtered time series to eliminate transient wraparound effects at the boundaries, ensuring clean matched-filter analysis.

When should I resample gravitational-wave time series before matched filtering?

Resample gravitational-wave time series before matched filtering when the raw detector data rate differs from standard analysis rates like 2048 Hz. Resampling during conditioning ensures the time series meets the sampling requirements for accurate PyCBC matched-filtering operations.