skeleton_keys.layer_alignment.cortex_thickness_aligned_y_values#

skeleton_keys.layer_alignment.cortex_thickness_aligned_y_values(x, y, avg_layer_depths, depth_field)#

Point depths for a x, y coordinates aligned to the full thickness of cortex.

Layer-specific information is not used. Zero is pia, negative values are below pia.

Parameters:
  • x (array (n_points, )) – Array of x-coordinates

  • y (array (n_points, )) – Array of y-coordinates

  • avg_layer_depths (dict) – Dictionary of distances from top of layer to pia (in microns) (must include “wm” (white matter) as a key)

  • depth_field (xarray DataArray) – Data array of the depth field

Returns:

depths – Array of cortex-thickness aligned depth coordinates

Return type:

array