View source: R/prototype_seeg.R
seeg_prototype | R Documentation |
'sEEG'
shaft geometry prototypeIntended for creating/editing geometry prototype, please see
load_prototype
to load existing prototype
seeg_prototype(
type,
center_position,
contact_widths,
diameter = 1,
channel_order = seq_along(center_position),
fix_contact = 1,
overall_length = 200,
description = NULL,
dry_run = FALSE,
default_interpolation = NULL,
viewer_options = NULL,
overwrite = FALSE
)
type |
type string and unique identifier of the prototype |
center_position |
numerical vector, contact center positions |
contact_widths |
numerical vector or length of one, width or widths of the contacts |
diameter |
probe diameter |
channel_order |
the channel order of the contacts; default is a sequence along the number |
fix_contact |
|
overall_length |
probe length, default is |
description |
prototype description |
dry_run |
whether not to save the prototype configurations |
default_interpolation |
default interpolation string for electrode localization |
viewer_options |
list of viewer options; this should be a list of key-value pairs where the keys are the controller names and values are the corresponding values when users switch to localizing the electrode group |
overwrite |
whether to overwrite existing configuration file; default is false, which throws a warning when duplicated |
A electrode shaft geometry prototype; the configuration file is saved to 'RAVE' 3rd-party repository.
probe_head <- 2
n_contacts <- 12
width <- 2.41
contact_spacing <- 5
overall_length <- 400
diameter <- 1.12
contacts <- probe_head + width / 2 + 0:(n_contacts-1) * contact_spacing
proto <- seeg_prototype(
type = "AdTech-sEEG-SD12R-SP05X-000",
description = c(
"AdTech sEEG - 12 contacts",
"Contact length : 2.41 mm",
"Central spacing : 5 mm",
"Tip size : 2 mm",
"Diameter : 1.12 mm"
),
center_position = contacts,
contact_widths = width,
diameter = diameter,
overall_length = overall_length,
dry_run = TRUE
)
print(proto, details = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.