Anatomical API

NeuroCore places a strong emphasis on arrays with named dimensions. This allows the use of well established interfaces for arrays across the julia ecosystem while still providing meaningful information that may be specific to the type of data being worked with.

References

NeuroCore.AnatomicalAPI.axial_axis — Method
axial_axis(x, size[; first_pad=nothing, last_pad=nothing, stride=nothing, dilation=nothing])

Returns an AxisIterator along the axial axis.

NeuroCore.AnatomicalAPI.coronal_axis — Method
coronal_axis(x, size[; first_pad=nothing, last_pad=nothing, stride=nothing, dilation=nothing])

Returns an AxisIterator along the coronal axis.

NeuroCore.AnatomicalAPI.each_axial — Method
each_axial(x)

Create a generator that iterates over the axial dimensions A, returning views that select all the data from the other dimensions in A.

NeuroCore.AnatomicalAPI.each_coronal — Method
each_coronal(x)

Create a generator that iterates over the coronal dimensions A, returning views that select all the data from the other dimensions in A.

NeuroCore.AnatomicalAPI.each_sagittal — Method
each_sagittal(x)

Create a generator that iterates over the sagittal dimensions A, returning views that select all the data from the other dimensions in A.

NeuroCore.AnatomicalAPI.sagittal_axis — Method
sagittal_axis(x, size[; first_pad=nothing, last_pad=nothing, stride=nothing, dilation=nothing])

Returns an AxisIterator along the sagittal axis.

NeuroCore.AnatomicalAPI.EncodingDirection — Type
EncodingDirection

Possible values: ipos, jpos, kpos, ineg,jneg,kneg(the axis of the NIfTI data along which slices were acquired, and the direction in which SliceTiming is defined with respect to).ipos,jpos,kposidentifiers correspond to the first, second and third axis of the data in the NIfTI file.*neg` indicates that the contents of SliceTiming are defined in reverse order - that is, the first entry corresponds to the slice with the largest index, and the final entry corresponds to slice index zero.

source