new_electrode_prototype {threeBrain} | R Documentation |
Create or load new electrode prototype from existing configurations
Description
Create or load new electrode prototype from existing configurations
Usage
new_electrode_prototype(base_prototype, modifier = NULL)
Arguments
base_prototype |
base prototype, this can be a string of prototype type
(see |
modifier |
internally used |
Value
An electrode prototype instance
Examples
available_prototypes <- list_electrode_prototypes()
if("Precision33x31" %in% names(available_prototypes)) {
# Load by type name
new_electrode_prototype("Precision33x31")
# load by path
path <- available_prototypes[["Precision33x31"]]
new_electrode_prototype(path)
# load by json string
json <- readLines(path)
new_electrode_prototype(json)
}
[Package threeBrain version 1.2.0 Index]