calibrain.uncertainty_estimation.lift_reduced_sources_to_3d#

calibrain.uncertainty_estimation.lift_reduced_sources_to_3d(a_red, Q_basis)[source]#

Lift reduced coordinates back to the retained local 3D source basis.

Parameters:
  • a_red ((N, k, T)) – Reduced source coefficients, typically with k=2 for free_meg.

  • Q_basis ((N, 3, k)) – Per-source basis mapping reduced coordinates into the local 3D basis.

Returns:

x_3d – Lifted coefficients in the local 3D source basis.

Return type:

(N, 3, T)