Skip to content

ReplaceLabels

Markus Adamek edited this page Apr 8, 2022 · 1 revision

The ReplaceLabels Component tries to simplify existing electrode location labels based on some simple rules. Rules will be applied iterative.

Inputs and Outputs

  • Inputs: ElectrodeLocations

  • Outputs: ElectrodeLocations

Settings

ElectrodeLocationIdentifier

Default: ElectrodeLocation

ReplaceableLabels

The component tries to replace the labels with another existing label within the radius defined in ReplacementRadius

Default: ["Right-Cerebral-White-Matter","unknown","Left-Cerebral-White-Matter","Right-Hippocampus","Left-Hippocampus","Right-Amygdala","Left-Amygdala","Left-Cerebral-Cortex","Right-Cerebral-Cortex"]

ReplacementRadius

Radius (in mm) in which the component will search for an alternative label. If the distance is 0, the label will be removed if another label exists.

Default: [3,0,3,1,1,1,1,10,10]

XML Example

For this example, if an electrode is marked as unknown, the algorithm will search for a better label within 3mm.

<Component Type="ReplaceLabels">
  <Name>"Replace unknown labels"</Name>
    <ElectrodeLocationIdentifier>"ElectrodeLocation"</ElectrodeLocationIdentifier>
    <ReplaceableLabels>["unknown"]</ReplaceableLabels>
    <ReplacementRadius>[3]</ReplacementRadius>
</Component>

Overview

Components

Native

ANT

BIDS

Freesurfer

MRI_reface

NeuralAct

PaCER

ReportGenerator

SPM12

TalairachDemon

THOMAS

Views

Data Types

Clone this wiki locally