Skip to main content
Glama
Ocular Photopic Negative Response (PhNR) Skill

Ocular Photopic Negative Response (PhNR) Skill

Ocular Photopic Negative Response (PhNR) Skill

License Python OpenClaw GenPark MCP

Photopic Negative Response (PhNR) and Retinal Ganglion Cell Electrophysiological Analyzer based on full-field flash ERG biophysics.

flowchart TD
    A[Photopic Flash ERG Signal] --> B[Extract B-Wave Peak & Latency]
    A --> C[Extract PhNR Negative Trough & Latency]
    B & C --> D[Compute PhNR Amplitude & PhNR / B-Wave Ratio]
    D --> E{PhNR / B-Wave Ratio Threshold}
    E -- >= 0.35 --> F[Normal Retinal Ganglion Cell Electrophysiology]
    E -- < 0.25 --> G[Selective RGC Deficit / Glaucoma Risk]

Features

  • Zero PIP Dependencies: Implemented strictly with Python Standard Library (math, json, sys, typing).

  • Inner Retinal Specificity: Selectively indexes retinal ganglion cell soma and axonal bio-signals.

  • Normalized Ratio Calculation: PhNR/b-wave metric resists confounding from cataracts or pupil constriction.

  • Dual Architecture: Native Python import and Model Context Protocol (MCP) JSON-RPC 2.0 stdio server.

Related MCP server: Electroretinogram Photopic Negative Response (PhNR) Skill

Quickstart

python example_usage.py

License

Apache-2.0

Related MCP Connectors

Related MCP Servers