a-hurst / klibs

A simple Python framework for writing cognitive psychology experiments
7 stars 1 forks source link

Replace IndependentVariableSet API with FactorSet #25

Closed a-hurst closed 1 year ago

a-hurst commented 1 year ago

PR Description

This PR adds a new, friendly, dict-based method of specifying trial factors and factor levels in KLibs to replace IndependentVariableSet for new projects. Old projects using IndependentVariableSet will continue to work perfectly fine, but new projects will default to using FactorSet going forward.

This PR also lays the initial groundwork for the new (still WIP) KLStructure API for easily defining custom block/session structures.

Merge Checklist