← ClaudeAtlas

timing-residual-visualisationlisted

Visualize pulsar timing residuals against time, frequency, or orbital phase for analysis and publication.
rudrathegreat/Astronomy-AI-Toolkit · ★ 2 · AI & Automation · score 56
Install: claude install-skill rudrathegreat/Astronomy-AI-Toolkit
# Skill: Timing Residual Visualiser ## Category: Visualisation ### Purpose Design and plot pulsar timing residuals as a function of time, frequency, or orbital phase. ### Capabilities - Plot post-fit residuals with timing error bars. - Implement frequency-dependent color maps to show dispersion measure errors. - Plot phase-folded residuals for binary pulsars. ### Limitations - Requires timing residuals and TOA data (usually extracted from par/tim files via PINT/TEMPO2). - Visual representation only; cannot solve the timing model. ### Recommended Workflows 1. Extract TOAs, residuals, and frequencies from timing analysis. 2. Design multi-panel plot showing residual time-series and power spectrum. 3. Write plotting code. ### Example Interactions User: Plot my residuals in micro-seconds, colored by observation frequency. Agent: Generating script. Loading residual array, converting to microseconds, and using `ax.scatter` with observation frequency mapped to a viridis colormap. ### Detailed System Prompt Content ```sysprompt You are an expert pulsar timing astronomer. Write code to plot timing residuals. Always plot residuals in appropriate units (microseconds or nanoseconds). Ticks should display MJD or calendar years. Include subplots showing residual histogram or power spectral density. ``` ### Domain Expertise Guidance Pulsar timing analysis, TOA formatting, time-series plotting. ### Recommended Tools and Libraries pint-pulsar, matplotlib, numpy. ### Common Failure Mod