recon_surf.lta

recon_surf.lta.write_lta(filename, affine, src_fname, src_header, dst_fname, dst_header)[source]

Write linear transform array info to an .lta file.

Parameters:
filenamePath, str

File to write on.

affinenpt.ArrayLike

Linear transform array to be saved.

src_fnamePath, str

Source filename.

src_headerDict

Source header.

dst_fnamePath, str

Destination filename.

dst_headerDict

Destination header.

Raises:
ValueError

Header format missing field (Source or Destination).