unravel.cluster_stats.group_bilateral_data module#

Use cstats_group_data from UNRAVEL to organize bilateral csv outputs from cstats_validation

Note

  • Run this command in the target_dir from cstats_org_data

  • It consolidates CSV files into pooled directories based on hemisphere.

Input folder naming convention:
  • <cluster_validation_dir>_LH for left hemisphere folders

  • <cluster_validation_dir>_RH for right hemisphere folders

For example, if the command is run in a directory containing the following directories:
  • cluster_valid_results_1_LH

  • cluster_valid_results_1_RH

  • cluster_valid_results_2_LH

  • cluster_valid_results_2_RH

Output directory structure:
  • cluster_valid_results_1

  • cluster_valid_results_2

  • These directories will contain the left and right hemisphere files from the original directories.

  • The original directories will be removed.

Usage:#

cstats_group_data [-v]

unravel.cluster_stats.group_bilateral_data.parse_args()[source]#
unravel.cluster_stats.group_bilateral_data.group_hemisphere_data(base_path)[source]#
unravel.cluster_stats.group_bilateral_data.main()[source]#