cedalion.geometry.landmarks
Module for constructing the 10-10-system on the scalp surface.
Functions
|
Reorder a set of six landmarks based on spatial relationships and give labels. |
Classes
|
Construct the 10-10-system on scalp surface based on Oostenveld and Praamstra [OP01]. |
- class cedalion.geometry.landmarks.LandmarksBuilder1010(
- scalp_surface: Surface,
- landmarks: Annotated[DataArray, DataArraySchema(dims='label', coords='label', 'label', 'type')],
Bases:
object
Construct the 10-10-system on scalp surface based on Oostenveld and Praamstra [OP01].
- cedalion.geometry.landmarks.order_ref_points_6(
- landmarks: DataArray,
- twoPoints: str,
Reorder a set of six landmarks based on spatial relationships and give labels.
- Parameters:
landmarks (xr.DataArray) – coordinates for six landmark points
twoPoints (str) – two reference points (‘Nz’ or ‘Iz’) for orientation.
- Returns:
the landmarks ordered as “Nz”, “Iz”, “RPA”, “LPA”, “Cz”
- Return type:
xr.DataArray