← Back to all sparks
N

nat.templatebrains

ANALYTICS
Velocity0.0

R package nat.templatebrains by natverse — release notes from GitHub.

The natverse package that taught neuron data to remember which brain space it lives in.

neuroscienceimage-registrationnatversetemplate-brainsmaintenance-moder-package
Current state
nat.templatebrains handles registration between template brain spaces — xform_brain(), mirror_brain(), and the bridging-registration graph that finds a path from one template to another. Since 0.8 transformed objects carry a regtemplate attribute recording their space, so downstream natverse functions can usually infer it rather than being told. The package is now in low-cadence maintenance, with 1.2.1 blocked on a CRAN submission window rather than on code.
Where it's heading
The substantive design work finished years ago. The arc ran from manual space bookkeeping, through memoised bridging-sequence lookup, to self-describing objects at 0.8 — after which releases became dependency hygiene and CRAN paperwork. Two of the last three entries change no code at all: one demotes Morpho from Imports to Suggests, the other updates submission comments.
Prediction
The next release is most likely the delayed 1.2.1 CRAN submission itself. The entries show no pending functional work beyond it.

Recent moves

  1. 1y ago

    v1.2.1: update cran-comments for submission

    A tag updating cran-comments ahead of a submission that could not proceed because CRAN was closed until 18 August. Release paperwork, with the body noting the delay explicitly.

    View source ↗
  2. 3y ago

    Morpho demoted from Imports to Suggests

    Morpho moves from Imports to Suggests, trimming what gets pulled in on install. Standard CRAN dependency-weight hygiene with no change to the registration functions.

    View source ↗
  3. 8y ago

    Identity transforms skipped, constructor requirements relaxed

    A cluster of usability fixes: xform_brain() stops transforming when sample and reference spaces are identical, shortest_bridging_seq() complains about template brains missing from the graph, and the templatebrain constructor no longer demands every bounding-box field. Each removes a way the registration path could fail confusingly.

    View source ↗
  4. 9y ago

    Transformed objects now carry their registration space

    ⚡ SPARK

    The release where transformed objects started carrying a regtemplate attribute recording their registration space, so natverse functions no longer need to be told it. Note this body is cumulative — it restates the 0.7 and 0.6.4 notes beneath its own, so the memoisation and reglist-inversion work listed here predates this tag.

    View source ↗