sweetpea.design_partitions module

This module provides functionality for partitioning designs into subsets of factors.

class sweetpea.design_partitions.DesignPartitions(block)

Bases: object

Encapsulates the logic for partitioning a design into specific subsets of factors. For example, factors which are in the design, but not in the crossing, or not constrained by any derived levels, etc.

Parameters

block (sweetpea.blocks.Block) –

Return type

None

get_crossed_factors()
get_crossed_factors_derived()
get_uncrossed_factors()
get_source_factors()
get_uncrossed_basic_factors()
get_uncrossed_basic_source_factors()
get_uncrossed_basic_independent_factors()
get_uncrossed_derived_factors()