Skip to content

API reference

What is this page?

This is the API (Application Programming Interface) reference for OpenRetina. It provides comprehensive documentation of all public classes, functions, and modules available in the package.

How to use this reference:

  • Browse by module: Navigate through the sections below to find specific components
  • Search for functionality: Use the search function to find specific classes or functions
  • Understand parameters: Each entry includes detailed parameter descriptions, return types, and usage examples
  • Link to source: Most entries link to the source code for deeper understanding

If you're new to OpenRetina, start with the Getting Started Guide or Tutorials before diving into the API reference.

Core Components

  • Models: Pre-trained and customizable retina models
  • Modules: Building blocks for constructing models
  • Data I/O: Data loading and processing utilities
  • In-silico: Tools for analyzing models with virtual experiments
  • Utilities: Helper functions and visualization tools

API Documentation by Module

The OpenRetina package is organized in a modular structure where each module serves a specific purpose in the retina modeling workflow.

Models

The models module provides complete model implementations:

Modules

The modules package contains building blocks for model construction. See the modules overview for complete documentation.

Data I/O

The data_io package handles data loading and preprocessing:

See the data I/O overview for complete documentation.

In-silico

The insilico package provides tools for analyzing models:

See the in-silico overview for complete documentation.