Downloads checksum-locked registration spheres, cortical masks and vertex areas from their original providers. Pinned fsaverage 164k, 41k (fsaverage6), 10k (fsaverage5), and fsLR 32k domains are supported. The fsLR sphere is in fsaverage correspondence. Inputs retain their upstream licenses, independently of neuroatlas's license; see `extdata/surface-assets-LICENSES.md` in the installed package.
Usage
get_surface_geometry(
template,
density,
hemisphere,
cache_dir = transform_cache_path(),
download = TRUE,
offline = FALSE
)Value
A `SurfaceGeometry` with exact domain identity, pinned input hashes, cortical mask, and upstream file provenance.
Examples
if (FALSE) { # \dontrun{
left <- get_surface_geometry("fsaverage", "164k", "L")
target <- get_surface_geometry("fsLR", "32k", "L")
transform <- get_template_transform(left, target)
x <- surface_data(rep(0.25, left$domain$n_vertices), left$domain)
y <- apply_template_transform(x, transform)
} # }