decida
raw JSON → 1.1.5 verified Mon Apr 27 auth: no python
Library for device and circuit data analysis, including measurement database management, parameter extraction, optimization, and visualization (plots). Current version 1.1.5. Release cadence is irregular.
pip install decida Common errors
error AttributeError: module 'decida' has no attribute 'Data' ↓
cause Importing incorrectly via `import decida; decida.Data`; correct import is `from decida.Data import Data`.
fix
Use
from decida.Data import Data. error ImportError: No module named 'decida' ↓
cause decida not installed or Python environment not set correctly.
fix
Run
pip install decida in the correct Python environment. error TypeError: 'Plot' object is not callable ↓
cause Trying to use `.show()` method which does not exist; Plot object is callable.
fix
Call the plot object directly:
p(). Warnings
gotcha The package uses a non-standard class-based import style per module (e.g., decida.Data.Data). Ensure you import the class directly, not the module. ↓
fix Use `from decida.Data import Data` instead of `import decida` or `from decida import Data`.
gotcha Data files must be in a specific format (usually space-separated columns with headers). CSV may not work directly. ↓
fix Check documentation for expected file format; convert CSV to space-separated if needed.
gotcha Plot objects are callable; invoke with `p()` to display, not `p.show()`. ↓
fix Use `p()` or `p(title='...')` to show the plot.
Imports
- Data
from decida.Data import Data - Read
from decida.Read import Read - Plot
from decida.Plot import Plot - Model
from decida.Model import Model
Quickstart
from decida.Data import Data
d = Data('example_data.txt')
d.head()
from decida.Plot import Plot
p = Plot(d, 'x', 'y')
p()