nimare.meta.cbmr

Coordinate-based meta-regression methods.

Imports are lazy. Torch is an optional extra, but only some of this package needs it: the term and design layer, the formula parser and the spline basis are plain numpy and patsy. Importing them eagerly here would make from nimare.meta.cbmr.terms import Design fail on an install without torch, for no reason. Resolving names on attribute access keeps the ImportError where it belongs – on the things that actually need torch.