recon_surf.rotate_sphere

recon_surf.rotate_sphere.align_aparc_centroids(v_mov, labels_mov, v_dst, labels_dst, label_ids=[])[source]

Align centroid of aparc parcels on the sphere (Attention mapping back to sphere!).

Parameters:
v_movnpt.ArrayLike

Vertices of aparc pareclation to move.

labels_movnpt.ArrayLike

Labels of aparc parcelation to move.

v_dstnpt.ArrayLike

Vertices of aparc pareclation for rotation destination.

labels_dstnpt.ArrayLike

Labels of aparc parcelation for rotation destination.

label_idsnpt.ArrayLike

Ids of the centroid to be aligned. Defaults to [].

Returns:
Rnpt.NDArray[float]

Rotation Matrix.

recon_surf.rotate_sphere.options_parse()[source]

Create a command line interface and return command line options.

Returns:
optionsargparse.Namespace

Namespace object holding options.