skeleton_keys.slice_angle.slice_angle_tilt#
- skeleton_keys.slice_angle.slice_angle_tilt(pin_df, specimen_id, closest_surface_voxel_file, surface_paths_file)#
Estimate angle of slice from CCF pinning information
- Parameters:
pin_df (DataFrame) – DataFrame with pinning query information
closest_surface_voxel_file (str) – Path to closest surface voxel reference HDF5 file
surface_paths_file (str) – Path to surface paths (streamlines) HDF5 file
- Returns:
predicted_slice_angle – Estimated angle in radians
- Return type:
float