neuralib.atlas.ccf.matrix.CCFTransMatrix
- class neuralib.atlas.ccf.matrix.CCFTransMatrix[source]
Bases:
objectmatrix for image transformation
- __init__(slice_id, matrix, plane_type, *, resolution=10)
Method generated by attrs for class CCFTransMatrix.
- Parameters:
slice_id (str)
matrix (MatMatrix)
plane_type (Literal['coronal', 'sagittal', 'transverse'])
resolution (int)
- Return type:
None
Methods
__init__(slice_id, matrix, plane_type, *[, ...])Method generated by attrs for class CCFTransMatrix.
get slice plane
matrix_info([to_polars])transform matrix information dict
Attributes
slice name id
MatMatrix
PLANE_TYPE
resolution in um
map delta value to xy slice view
slice index
- slice_id: str
slice name id
- matrix: MatMatrix
MatMatrix
- plane_type: Literal['coronal', 'sagittal', 'transverse']
PLANE_TYPE
- __init__(slice_id, matrix, plane_type, *, resolution=10)
Method generated by attrs for class CCFTransMatrix.
- Parameters:
slice_id (str)
matrix (MatMatrix)
plane_type (Literal['coronal', 'sagittal', 'transverse'])
resolution (int)
- Return type:
None
- resolution: int
resolution in um
- property slice_index: int
slice index
- property delta_xy: tuple[int, int]
map delta value to xy slice view