Series#
The Series level is the natural level of interaction for most use cases in imaging, since individual scans are typically stored in separate series.
Reading values#
return a dictionary of coordinates. |
|
Return the values of one or more attributes for each frame in the series. |
|
Return the frames of given coordinates in the correct order |
|
Return the shape of the series along given dimensions. |
|
3D pixel spacing in mm |
|
Return the unique values of an attribute, sorted by any number of variables. |
|
return a dictionary of grid coordinates. |
|
Return a numpy.ndarray with pixel data. |
|
Return the affine of the Series. |
Setting values#
Set a dictionary of coordinates. |
|
Set a dictionary of grid coordinates. |
|
Set the values of an attribute. |
|
Set a numpy.ndarray with pixel data. |
|
Set the affine matrix of a series. |
Reshaping#
Get a slice of the series by dimension values |
|
Split the series into multiple subseries based on keyword value. |