maedoc/autotvb/analysis

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyze and visualize TVB simulation output. Use when plotting time series, computing functional connectivity, power spectra, or performing post-hoc statistical analysis. Triggers on `plt.plot`, `corrcoef`, `fft`, `psd`, `imshow`, `FunctionalConnectivity`.

Install

npx vskill@latest install maedoc/autotvb/analysis

SKILL.md

TVB Driver: Analysis & Visualization

Time Series Plot

python
plt.figure(figsize=(12, 4))
plt.plot(t, y[:, 0, :, 0].squeeze())
plt.xlabel("Time (ms)")
plt.ylabel("Activity")
plt.title("Region-averaged signal")

Functional Connectivity

python
# y shape is (time, state_vars, nodes, modes)
ts = y[:, 0, :, 0].squeeze() # (time, nodes)
fc = numpy.corrcoef(ts.T)
plt.figure(figsize=(8, 8))
plt.imshow(fc, cmap='viridis', vmin=-1, vmax=1)
plt.colorbar(label='Pearson r')
plt.title("Functional Connectivity")

Power Spectra

python
from scipy import signal
freqs, psd = signal.welch(ts[:, 0], fs=1000.0/(monitors[0].period), nperseg=256)
plt.semilogy(freqs, psd)
plt.xlabel("Frequency (Hz)")
plt.ylabel("PSD")
plt.xlim(0, 50)

Rules

  • Always label axes and add titles.
  • If the scientific question asks about a specific frequency band, restrict the plot to that range.
  • Report quantitative summaries (peak frequency, mean FC, etc.) in the markdown cell before the plot.

Burn-in & Stimulus-Aligned Windows

python
# WRONG: discards the evoked response
post_burn = y[t > 1000]
# CORRECT: keep stimulus onset; analyze the evoked window
stim_onset = 500.0
evoked_mask = (t >= stim_onset) & (t < stim_onset + 1000.0)
ts_evoked = y[evoked_mask, 0, :, 0].squeeze()
fc_evoked = numpy.corrcoef(ts_evoked.T)

Regime Verification

python
from scipy import signal
# Verify a claimed "~10 Hz spiral" before writing the prose
freqs, psd = signal.welch(ts[:, node], fs=1000.0/monitors[0].period, nperseg=256)
peak_freq = freqs[numpy.argmax(psd)]
# Report peak_freq in the markdown; only then assert the regime.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/maedoc/autotvb/analysis/badge)](https://verified-skill.com/skills/maedoc/autotvb/analysis)

Something wrong with this skill or its page? Tell us.