webknossos.dataset
¶
AgglomerateAttachment
¶
AgglomerateAttachment(
properties: AttachmentProperties, path: UPath
)
Bases: Attachment
from_path_and_name
classmethod
¶
from_path_and_name(
path: str | PathLike | UPath,
name: str,
*,
data_format: AttachmentDataFormat,
dataset_path: str | PathLike | UPath | None = None
) -> Self
Attachment
¶
Attachment(properties: AttachmentProperties, path: UPath)
container_name
instance-attribute
¶
container_name: Literal[
"agglomerates",
"meshes",
"segment_index",
"cumsum",
"connectomes",
]
The container names are also used to derive the folder names to put the attachments. The container names are converted to camelCase to get the folder names.
type_name
instance-attribute
¶
type_name: Literal[
"mesh",
"agglomerate",
"segmentIndex",
"connectome",
"cumsum",
]
The type names are used to communicate to WEBKNOSSOS which attachment type we want to e.g. upload.
from_path_and_name
classmethod
¶
from_path_and_name(
path: str | PathLike | UPath,
name: str,
*,
data_format: AttachmentDataFormat,
dataset_path: str | PathLike | UPath | None = None
) -> Self
ConnectomeAttachment
¶
ConnectomeAttachment(
properties: AttachmentProperties, path: UPath
)
Bases: Attachment
from_path_and_name
classmethod
¶
from_path_and_name(
path: str | PathLike | UPath,
name: str,
*,
data_format: AttachmentDataFormat,
dataset_path: str | PathLike | UPath | None = None
) -> Self
CumsumAttachment
¶
CumsumAttachment(
properties: AttachmentProperties, path: UPath
)
Bases: Attachment
from_path_and_name
classmethod
¶
from_path_and_name(
path: str | PathLike | UPath,
name: str,
*,
data_format: AttachmentDataFormat,
dataset_path: str | PathLike | UPath | None = None
) -> Self
MeshAttachment
¶
MeshAttachment(
properties: AttachmentProperties, path: UPath
)
Bases: Attachment
from_path_and_name
classmethod
¶
from_path_and_name(
path: str | PathLike | UPath,
name: str,
*,
data_format: AttachmentDataFormat,
dataset_path: str | PathLike | UPath | None = None
) -> Self
SegmentIndexAttachment
¶
SegmentIndexAttachment(
properties: AttachmentProperties, path: UPath
)
Bases: Attachment
from_path_and_name
classmethod
¶
from_path_and_name(
path: str | PathLike | UPath,
name: str,
*,
data_format: AttachmentDataFormat,
dataset_path: str | PathLike | UPath | None = None
) -> Self
- Get Help
- Community Forums
- Email Support