Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
OnnoKampman committed Apr 28, 2024
1 parent 9a45a57 commit 158f9b7
Showing 1 changed file with 26 additions and 19 deletions.
45 changes: 26 additions & 19 deletions benchmarks/fmri/tb/rockland/plotters/plot_TVFC_estimates.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,15 @@ def _plot_estimates(


def _plot_individual_subjects(
config_dict: dict, edges_to_plot_indices, data_split: str, metric: str, pp_pipeline: str,
all_subjects_list:list, brain_regions_of_interest, model_name: str, figures_base_savedir: str
config_dict: dict,
edges_to_plot_indices,
data_split: str,
metric: str,
pp_pipeline: str,
all_subjects_list:list,
brain_regions_of_interest,
model_name: str,
figures_base_savedir: str,
) -> None:
"""
Plot TVFC estimates for each subject individually.
Expand Down Expand Up @@ -421,17 +428,17 @@ def _get_xx(
if not os.path.exists(figures_base_savedir):
os.makedirs(figures_base_savedir)

_plot_average_over_subject_tvfc_estimates(
config_dict=cfg,
data_split=data_split,
metric=metric,
preprocessing_pipeline=pp_pipeline,
model_to_plot_name=model_name,
all_subjects_list=all_subjects_list,
edges_to_plot_indices=edges_to_plot_indices,
column_names=brain_regions_of_interest,
figures_savedir=figures_base_savedir
)
# _plot_average_over_subject_tvfc_estimates(
# config_dict=cfg,
# data_split=data_split,
# metric=metric,
# preprocessing_pipeline=pp_pipeline,
# model_to_plot_name=model_name,
# all_subjects_list=all_subjects_list,
# edges_to_plot_indices=edges_to_plot_indices,
# column_names=brain_regions_of_interest,
# figures_savedir=figures_base_savedir
# )
plot_average_over_subject_tvfc_estimates_joint(
config_dict=cfg,
data_split=data_split,
Expand All @@ -442,9 +449,9 @@ def _get_xx(
column_names=brain_regions_of_interest,
figures_savedir=figures_base_savedir
)
_plot_individual_subjects(
config_dict=cfg,
data_split=data_split,
metric=metric,
all_subjects_list=all_subjects_list,
)
# _plot_individual_subjects(
# config_dict=cfg,
# data_split=data_split,
# metric=metric,
# all_subjects_list=all_subjects_list,
# )

0 comments on commit 158f9b7

Please sign in to comment.