Trending

World technology news

→
Archive photograph of an MRI scanner.
CRANIn-depth report

mand 3.1 adds compact basis software for neuroimaging analysis

The R release supports compact storage for the existing basis family and batched reconstruction for several components.

·CRAN
Reading progress0%

The change in the published package

Atsushi Kawaguchi’s mand 3.1 reached CRAN with changes to basis representation and reconstruction for multivariate imaging analysis. The release notes identify compact storage for the current basis family as a supported option. A separate file comparison records new implementation files and an update to the legacy public interface. CRAN’s publication metadata gives 08:40 Istanbul time. CRANberries separately compared the files in both distributions. Its archive identifies which files changed. The package notes give the context for reading those changes. Performance and accuracy still depend on measurements against representative inputs.

Keep the basis and change its storage

A reconstruction combines basis values with component coefficients. For a large grid where relatively few terms contribute at each location, a compact representation can avoid materializing an unnecessarily dense array. The supported current plus compact option keeps the existing family while changing the computation path. The default remains the current basis with legacy storage. An analyst can specify the compact backend explicitly and preserve that option with the run so others can reproduce it.

Compare reconstruction of several components

The notes describe compact paths for basis products and reconstruction, including batching across components. Set up a fixture with two components and known coefficients. Run it against both paths and compare dimensions, index order and component labels as well as values. A documented tolerance can distinguish floating-point accumulation from a misplaced component. The same arrangement can then be tested on a larger input to profile memory and elapsed time.

Measure experimental basis families separately

Wendland C2 and linear B-spline options are marked experimental. A storage-only change can be measured with the same mathematical basis, while a different basis can also change the model. Use one run with legacy storage, another with compact storage and the same family, and a third with the experimental family. The three-way comparison remains interpretable even if runtime and reconstructed values move in different directions.

What makes an imaging run reproducible

Record the R version, package version, array dimensions, basis family, storage mode and coefficient count. Compare elapsed time and peak memory with the number of components actually reconstructed. A large grid may behave differently from a small fixture. This release is a change to numerical research tooling. It provides no evidence about clinical performance or diagnostic outcomes. The archive photograph illustrates the imaging context.

Track the mask as part of the fixture

An imaging array may contain positions excluded by a mask. Compare the output order for measured and excluded positions so a compact representation cannot silently change the meaning of a location. Store the mask shape, number of processed points and representation of missing entries. These details make the memory comparison interpretable across runs.

Photo · Jan Ainali / Wikimedia Commons ↗ · CC BY 3.0

Sources and verification
Be the first reader ✎ Write a comment

Reader discussion

Discussion prompt

Which bottleneck would you expect as this solution scales?

No comments yet. Be the first to contribute.

Write a comment

Comments are real visitor contributions. Repeated, link-heavy or abusive submissions may be limited.