Skip to contents

Convenience helpers to create and register alignments

Usage

make_linear_family(
  name,
  from,
  to,
  operators_by_subject,
  uncertainty = UncertaintyRule("independent")
)

Arguments

name

Family name

from

Source space

to

Target space

operators_by_subject

Named list of per-subject linear operators (matrices)

uncertainty

Uncertainty rule for variance propagation

Value

A MapFamily

Examples

from <- space_parcels(c("R1","R2"))
to   <- space_parcels(c("G1","G2"))
ops <- list(s1 = diag(2), s2 = diag(2))
fam <- make_linear_family("lin", from, to, ops)