Create or load new electrode prototype from existing configurations
Source:R/class_electrode_proto.R
new_electrode_prototype.Rd
Create or load new electrode prototype from existing configurations
Arguments
- base_prototype
base prototype, this can be a string of prototype type (see
list_electrode_prototypes
), path to the prototype configuration file, configuration in 'json' format, or an electrode prototype instance- modifier
internally used
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)
}