Skip to content

Phase 5: wire MIR/PMI into the AMICA API #137

Closed

Description

@neuromechanist

Part of #133. Depends on Phases 1-3.

Expose model.mir(X) / model.pmi() on AMICA and AMICATorchNG, computable
at fit-end and optionally at specified iteration waypoints, per Scott Makeig's
original request (applicable "at decomposition end and/or optionally at
specified decomposition waypoints").

Activity

  1. added
    feature
    on Jul 14, 2026
  2. changed the title [-]Phase 4: wire MIR/PMI into the AMICA API[/-] [+]Phase 5: wire MIR/PMI into the AMICA API[/+] on Jul 16, 2026
  3. neuromechanist commented on Jul 17, 2026

    @neuromechanist
    MemberAuthor

    Done in PR #160, squash-merged into the epic branch feature/issue-133-epic-mir-pmi-metrics (4e47885). Closing manually: the PR targeted the epic branch rather than the default branch, so GitHub's auto-close on merge did not fire. Ships to main with epic #133.

    model.mir(X) / model.pmi(X) on both AMICA and AMICATorchNG, plus a mir_step waypoint schedule recording a MIR trajectory during the fit (MIR only: measured at 20ms vs PMI's 678ms against a 36-400ms fit iteration, so PMI on a schedule would dominate the fit for a quantity that is a final diagnostic rather than a convergence signal).

    Review caught a real bug: a failed waypoint propagated out of fit() and destroyed the whole decomposition. Now warns and records a visible NaN gap. Follow-up #161 tracks two documented-but-untested claims about mir_history_.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions