Skip to main content
Glama
Ocular Accommodative Microfluctuations (AMF) Skill

Ocular Accommodative Microfluctuations (AMF) Skill

Ocular Accommodative Microfluctuations (AMF) Skill

License Python OpenClaw GenPark MCP

Dynamic Ocular Accommodative Microfluctuations (AMF) Spectral Analyzer. Evaluates crystalline lens focal oscillations, low-frequency component (LFC: <0.6 Hz), and high-frequency component (HFC: 1.0-2.3 Hz) to quantify visual fatigue and ciliary spasm.

flowchart TD
    A[Continuous Diopter Time Series] --> B[Hann Windowing & Mean Subtraction]
    B --> C[Discrete Fourier Transform PSD]
    C --> D[Band Integration: LFC 0.1-0.6 Hz]
    C --> E[Band Integration: HFC 1.0-2.3 Hz]
    D & E --> F[AMF Ratio Calculation: HFC / LFC]
    F --> G[Ciliary Fatigue Index & Ergonomic Classification]

Features

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

  • Fourier Spectral Decomposition: Hann-windowed discrete power spectrum analysis.

  • Objective Ergonomics: Identifies ciliary hypertonicity and digital screen visual fatigue before subjective eyestrain symptoms escalate.

  • Dual Architecture: Supports native Python import and Model Context Protocol (MCP) JSON-RPC 2.0 stdio interface.

Related MCP server: physiological-tremor

Quickstart

python example_usage.py

License

Apache-2.0

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables modeling ciliary eye-muscle fatigue and suppressed blink rates, estimating tear-film break-up, scheduling 20-20-20 optical recovery breaks, and calculating Hansraj cervical-spine torque for ergonomic posture remediation.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables deterministic analysis of accelerometer and gyroscope timeseries for 8–12 Hz microtremor spectral bands, postural stability, and central motor fatigue, returning stability scores and fatigue categorization for agent guidance.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to compute Ocular Protection Index and tear film breakup dynamics from NIBUT, blink rate, and incomplete blink data, producing digital asthenopia risk scores and ergonomic microbreak and blink-coaching guidance for extended screen work.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables assessment of tear film breakup dynamics, Ocular Protection Index, blink behavior, and digital asthenopia risk during screen work, returning corneal exposure analysis and ergonomic microbreak/blink coaching recommendations.
    7
    MIT