Toolverse
All skills

scipy-curve-fit

by benchflow-ai

Use scipy.optimize.curve_fit for nonlinear least squares parameter estimation from experimental data.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Data Science

About this skill

Use scipy.optimize.curve_fit for nonlinear least squares parameter estimation from experimental data.

How to use

  1. Zdefiniuj funkcję modelu, którą chcesz dopasować do danych. Na przykład dla odpowiedzi skokowej pierwszego rzędu: def step_response(t, K, tau): return y_initial + K * u * (1 - np.exp(-t / tau)), gdzie K to wzmocnienie, a tau to stała czasowa.
  2. Przygotuj dane eksperymentalne jako tablice NumPy: t_data zawierające punkty czasowe oraz y_data zawierające zmierzone wartości wyjścia.
  3. Podaj początkowe przybliżenia parametrów (p0), aby przyspieszyć zbieżność algorytmu. Możesz je oszacować z danych: K_guess = (y_data[-1] - y_initial) / u oraz tau_guess na podstawie czasu osiągnięcia 63,2% wartości końcowej.
  4. Opcjonalnie ustaw ograniczenia (bounds) dla parametrów, aby uniknąć fizycznie niemożliwych rozwiązań: bounds=([K_min, tau_min], [K_max, tau_max]).
  5. Wywołaj curve_fit z funkcją modelu, danymi oraz parametrami: popt, pcov = curve_fit(step_response, t_data, y_data, p0=[K_guess, tau_guess], bounds=...).
  6. Wyodrębnij wyniki: popt zawiera optymalne parametry [K_estimated, tau_estimated], a pcov to macierz kowariancji pokazująca niepewność estymacji.

Related skills

nano-banana-pro

by garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., \

Data Science
535772

market-analysis

by xbklairith

Use when analyzing markets or interpreting charts - applies technical indicators (RSI, MACD, Moving Averages), identifies support/resistance, analyzes multi-timeframe trends, checks fundamentals and sentiment. Activates when user says \

Data Science
29144

web-artifacts-builder

by anthropics

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX

Data Science
37124

moon-dev-trading-agents

by moondevonyt

Master Moon Dev's Ai Agents Github with 48+ specialized agents, multi-exchange support, LLM abstraction, and autonomous trading capabilities across crypto markets

Data Science
102232

claude-automation-recommender

by anthropics

Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code

Data Science
1787

codex

by Lucklyric

Invoke Codex CLI for complex coding tasks requiring high reasoning capabilities. This skill should be invoked when users explicitly mention \

Data Science
16163