group_assets#

class GroupResultsAssets(results_folder: Path)[source]#

Bases: object

Single source of truth for paths of group-level result assets.

Mirrors Workspace2 for single samples — the orchestrator asks this object for paths; it never builds paths itself.

avg_density_path(channel: str, group_name: str, suffix: str = '') Path[source]#
effect_size_path(channel: str, gp1: str, gp2: str, suffix: str = '') Path[source]#
load_p_val_results(channel: str, gp1: str, gp2: str, suffix: str = '') LoadedPValueResults[source]#
p_val_assets_exist(channel: str, gp1: str, gp2: str, suffix: str = '') bool[source]#
p_val_colors_path(channel: str, gp1: str, gp2: str, suffix: str = '') Path[source]#
sd_density_path(channel: str, group_name: str, suffix: str = '') Path[source]#
stacked_density_path(channel: str, group_name: str, suffix: str = '') Path[source]#
stats_table_path(channel: str, gp1: str, gp2: str, suffix: str = '') Path[source]#
write_avg_density(array: ndarray, channel: str, group_name: str, suffix: str = '') None[source]#
write_effect_size(array: ndarray, channel: str, gp1: str, gp2: str, suffix: str = '') None[source]#
write_p_val_colors(array: ndarray, channel: str, gp1: str, gp2: str, suffix: str = '') None[source]#
write_sd_density(array: ndarray, channel: str, group_name: str, suffix: str = '') None[source]#
write_stats_table(df: DataFrame, channel: str, gp1: str, gp2: str, suffix: str = '') None[source]#
class PairKey(channel: str, gp1: str, gp2: str, suffix: str = '')[source]#

Bases: object

channel: str#
gp1: str#
gp2: str#
suffix: str = ''#