Perform various data analysis on SEC 13-F and obtain some insights of fund activities such as number of holdings, AUM, and change of holdings between two quarters.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Matched filtering techniques for gravitational wave detection. Use when searching for signals in detector data using template waveforms, including both time-domain and frequency-domain approaches. Works with PyCBC for generating templates and performing matched filtering.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Matched filtering is the primary technique for detecting gravitational wave signals in noisy detector data. It correlates known template waveforms with the detector data to find signals with high signal-to-noise ratio (SNR).
Matched filtering requires:
PyCBC supports both time-domain and frequency-domain approaches.
Generate templates in time domain using get_td_waveform:
from pycbc.waveform import get_td_waveform
from pycbc.filter import matched_filter
# Generate time-domain waveform
hp, hc = get_td_waveform(
approximant='IMRPhenomD', # or 'SEOBNRv4_opt', 'TaylorT4'
mass1=25, # Primary mass (solar masses)
mass2=20, # Secondary mass (solar masses)
delta_t=conditioned.delta_t, # Must match data sampling
f_lower=20 # Lower frequency cutoff (Hz)
)
# Resize template to match data length
hp.resize(len(conditioned))
# Align template: cyclic shift so merger is at the start
template = hp.cyclic_time_shift(hp.start_time)
# Perform matched filtering
snr = matched_filter(
template,
conditioned,
psd=psd,
low_frequency_cutoff=20
)
# Crop edges corrupted by filtering
# Remove 4 seconds for PSD + 4 seconds for template length at start
# Remove 4 seconds at end for PSD
snr = snr.crop(4 + 4, 4)
# Find peak SNR
import numpy as np
peak_idx = np.argmax(abs(snr).numpy())
peak_snr = abs(snr[peak_idx])
Waveforms from get_td_waveform have the merger at time zero. For matched filtering, we typically want the merger aligned at the start of the template. cyclic_time_shift rotates the waveform appropriately.
Generate templates in frequency domain using get_fd_waveform:
from pycbc.waveform import get_fd_waveform
from pycbc.filter import matched_filter
# Calculate frequency resolution
delta_f = 1.0 / conditioned.duration
# Generate frequency-domain waveform
hp, hc = get_fd_waveform(
approximant='IMRPhenomD',
mass1=25,
mass2=20,
delta_f=delta_f, # Frequency resolution (must match data)
f_lower=20 # Lower frequency cutoff (Hz)
)
# Resize template to match PSD length
hp.resize(len(psd))
# Perform matched filtering
snr = matched_filter(
hp,
conditioned,
psd=psd,
low_frequency_cutoff=20
)
# Find peak SNR
import numpy as np
peak_idx = np.argmax(abs(snr).numpy())
peak_snr = abs(snr[peak_idx])
get_td_waveform)get_fd_waveform)Common waveform approximants:
# Phenomenological models (fast, good accuracy)
'IMRPhenomD' # Good for most binary black hole systems
'IMRPhenomPv2' # More accurate for precessing systems
# Effective One-Body models (very accurate, slower)
'SEOBNRv4_opt' # Optimized EOB model (time-domain only typically)
# Post-Newtonian models (approximate, fast)
'TaylorT4' # Post-Newtonian expansion
Note: Some approximants may not be available in frequency domain. If get_fd_waveform fails, use get_td_waveform instead.
low_frequency_cutoffhp.resize(len(conditioned)) - match data lengthhp.resize(len(psd)) - match PSD lengthAfter matched filtering, crop edges corrupted by:
snr.crop(8, 4) for time-domain, snr.crop(4, 4) for frequency-domaindelta_t/delta_f must match dataabs() for SNR: Matched filter returns complex SNR; use magnitudeProblem: "Approximant not available" error
Problem: Template size mismatch
Problem: Poor SNR even with correct masses
Problem: Edge artifacts in SNR time series
pip install pycbc numpy
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Perform various data analysis on SEC 13-F and obtain some insights of fund activities such as number of holdings, AUM, and change of holdings between two quarters.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching `acopf-math-model.md` and MATPOWER branch fields. Use when computing branch flows in either direction, aggregating bus injections for nodal balance, checking MVA (rateA) limits, computing branch loading %, or debugging sign/units issues in AC power flow.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Redact text from PDF documents for blind review anonymization
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when checking simplified ADA-derived plan-view bathroom accessibility constraints such as turning space, door clear width, toilet centerline, grab bars, and lavatory knee/toe clearance.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Analyze failed GitHub Action jobs for a pull request.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when extracting plan-view architectural geometry from DXF files with semantic CAD layers, especially when outputs must normalize rooms, doors, fixtures, clearances, and grab bars into machine-checkable JSON.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.