cymr.operations.study_distract#

cymr.operations.study_distract(double[:, :] w_fc_exp, const double[:, :] w_fc_pre, double[:, :] w_cf_exp, double[:] c, double[:] c_in, double[:] f, const int[:] item_list, int[:, :] c_ind, double[:, :] B, double[:, :] Lfc, double[:, :] Lcf, const int[:] distract_list, double[:, :] distract_B)#

Simulate study of a list with distraction.

Parameters:
  • w_fc_exp – Weight matrix \(\mathbf{M}^{FC}_\mathrm{exp}\).

  • w_fc_pre – Weight matrix \(\mathbf{M}^{FC}_\mathrm{pre}\).

  • w_cf_exp – Weight matrix \(\mathbf{M}^{CF}_\mathrm{exp}\).

  • c – Context state \(\mathbf{c}\).

  • c_in – Context input \(\mathbf{c}^\mathrm{IN}\).

  • f – Item representation \(\mathbf{f}\).

  • item_list – Indices of items to present.

  • c_ind – Start and end indices of the context sublayer.

  • B\(\beta\) parameter.

  • Lfc\(L^{FC}\) parameter.

  • Lcf\(L^{CF}\) parameter.

  • distract_list – Indices of distraction items to present.

  • distract_B\(\beta_\mathrm{distract}\) parameter.