How adopy/adopy works
Main Components
a) Core Components:
• Task Module
• Model Module
• Engine Module
• Functions Module
b) Pre-implemented Tasks:
• PSI (Psychometric function estimation)
• DD (Delay discounting)
• CRA (Choice under risk and ambiguity)
Top Level (User Interface Layer)
Middle Level (Core Components)
Bottom Level (Implementation Layer)
Component Relationships
a) Core Architecture:
• Engine depends on both Task and Model
• Task and Model are independent base classes
• Functions module provides utilities to all components
b) Implementation Flow:
• How pre-implemented tasks inherit from base Task class
• Data flow between components during optimization
Specific Elements
• Rectangle: Base classes (Task, Model, Engine)
• Hexagon: Utility functions
• Rounded Rectangle: Pre-implemented tasks
b) Connections:
Implementation Details
Technical aspects:
• Grid-based computation methods
• Python version requirement (3.6+)
• Key dependencies
• Computation flow for optimal design
┌─────────────────────────────────────┐
• External Layer │
• (NumPy, SciPy, Pandas, Python 3.6+)│
• ┤
• Core Components │
• (Task, Model, Engine, Functions) │
• ┤
• Pre-implemented Tasks │
• (PSI, DD, CRA) │
• ┘