Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: corrected electrode parameters #62

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 34 additions & 35 deletions ossdbs/electrodes/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
DixiSEEGModel,
DixiSEEGParameters,
)
from .pmt_seeg import (
PMTsEEGModel,
PMTsEEGParameters,
)
from .medtronic import (
MedtronicModel,
MedtronicParameters,
Expand Down Expand Up @@ -63,14 +67,14 @@
total_length=400.0,
),
"AbbottStJudeDirected6172": AbbottStJudeParameters(
tip_length=1.5,
tip_length=1.0,
contact_length=1.5,
contact_spacing=0.5,
lead_diameter=1.29,
total_length=400.0,
),
"AbbottStJudeDirected6173": AbbottStJudeParameters(
tip_length=1.5,
tip_length=1.0,
contact_length=1.5,
contact_spacing=1.5,
lead_diameter=1.29,
Expand Down Expand Up @@ -128,14 +132,14 @@
total_length=400.0,
),
"MedtronicSenSightB33015": MedtronicParameters(
tip_length=1.0,
tip_length=0.9,
contact_length=1.5,
contact_spacing=1.5,
lead_diameter=1.36,
total_length=330,
),
"MedtronicSenSightB33005": MedtronicParameters(
tip_length=1.0,
tip_length=0.9,
contact_length=1.5,
contact_spacing=0.5,
lead_diameter=1.36,
Expand Down Expand Up @@ -201,89 +205,89 @@
total_length=400.0,
),
"DixiSEEG5": DixiSEEGParameters(
tip_length=0.8,
tip_length=2.0,
contact_length=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=5,
),
"DixiSEEG8": DixiSEEGParameters(
tip_length=0.8,
tip_length=2.0,
contact_length=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=8,
),
"DixiSEEG10": DixiSEEGParameters(
tip_length=0.8,
tip_length=2.0,
contact_length=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=10,
),
"DixiSEEG12": DixiSEEGParameters(
tip_length=0.8,
tip_length=2.0,
contact_length=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=12,
),
"DixiSEEG15": DixiSEEGParameters(
tip_length=0.8,
tip_length=2.0,
contact_length=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=15,
),
"DixiSEEG18": DixiSEEGParameters(
tip_length=0.8,
tip_length=2.0,
contact_length=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=18,
),
"PMTsEEG2102_08": DixiSEEGParameters(
tip_length=0.8,
"PMTsEEG2102_08": PMTsEEGParameters(
tip_length=2.0,
contact_length=2.0,
contact_spacing=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=8,
),
"PMTsEEG2102_10": DixiSEEGParameters(
tip_length=0.8,
"PMTsEEG2102_10": PMTsEEGParameters(
tip_length=2.0,
contact_length=2.0,
contact_spacing=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=10,
),
"PMTsEEG2102_12": DixiSEEGParameters(
tip_length=0.8,
"PMTsEEG2102_12": PMTsEEGParameters(
tip_length=2.0,
contact_length=2.0,
contact_spacing=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=12,
),
"PMTsEEG2102_14": DixiSEEGParameters(
tip_length=0.8,
"PMTsEEG2102_14": PMTsEEGParameters(
tip_length=2.0,
contact_length=2.0,
contact_spacing=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=14,
),
"PMTsEEG2102_16": DixiSEEGParameters(
tip_length=0.8,
"PMTsEEG2102_16": PMTsEEGParameters(
tip_length=2.0,
contact_length=2.0,
contact_spacing=2.0,
contact_spacing=1.5,
lead_diameter=0.8,
total_length=400.0,
n_contacts=16,
Expand Down Expand Up @@ -508,42 +512,37 @@ def DixiSEEG18(
parameters = default_electrode_parameters["DixiSEEG18"]
return DixiSEEGModel(parameters, rotation, direction, position)


def PMTsEEG2102_08(
rotation: float = 0, direction: tuple = (0, 0, 1), position: tuple = (0, 0, 0)
):
"""PMTsEEG2102_08 electrode."""
parameters = default_electrode_parameters["PMTsEEG2102_08"]
return DixiSEEGModel(parameters, rotation, direction, position)

return PMTsEEGModel(parameters, rotation, direction, position)

def PMTsEEG2102_10(
rotation: float = 0, direction: tuple = (0, 0, 1), position: tuple = (0, 0, 0)
):
"""PMTsEEG2102_10 electrode."""
parameters = default_electrode_parameters["PMTsEEG2102_10"]
return DixiSEEGModel(parameters, rotation, direction, position)

return PMTsEEGModel(parameters, rotation, direction, position)

def PMTsEEG2102_12(
rotation: float = 0, direction: tuple = (0, 0, 1), position: tuple = (0, 0, 0)
):
"""PMTsEEG2102_12 electrode."""
parameters = default_electrode_parameters["PMTsEEG2102_12"]
return DixiSEEGModel(parameters, rotation, direction, position)

return PMTsEEGModel(parameters, rotation, direction, position)

def PMTsEEG2102_14(
rotation: float = 0, direction: tuple = (0, 0, 1), position: tuple = (0, 0, 0)
):
"""PMTsEEG2102_14 electrode."""
parameters = default_electrode_parameters["PMTsEEG2102_14"]
return DixiSEEGModel(parameters, rotation, direction, position)

return PMTsEEGModel(parameters, rotation, direction, position)

def PMTsEEG2102_16(
rotation: float = 0, direction: tuple = (0, 0, 1), position: tuple = (0, 0, 0)
):
"""PMTsEEG2102_16 electrode."""
parameters = default_electrode_parameters["PMTsEEG2102_16"]
return DixiSEEGModel(parameters, rotation, direction, position)
return PMTsEEGModel(parameters, rotation, direction, position)
Loading