Skip to content
Jack Brookes edited this page Oct 31, 2020 · 10 revisions

UXF.Block

A set of trials, often used to group a number of consecutive Trial objects that share something in common.


Fields

trials: List of trials associated with this block

Properties

firstTrial: Return the first trial in this block

lastTrial: Return the last trial in this block

number: Returns the block number of this block, based on its position in the session.

settings: Block settings. These will be overridden by trial settings if set.

session: The session associated with this block

Methods

UXF.Block.UXF.Block(System.UInt32, UXF.Session)

Create a block with a given number of trials under a given session

Parameters

  • numberOfTrials:

  • session:

UXF.Block.CreateTrial()

Create a trial within this block

Parameters

None

UXF.Block.GetRelativeTrial(int)

Get a trial in this block by relative trial number (non-zero indexed)

Parameters

  • relativeTrialNumber: Trial number relative to block (non zero indexed)

Note: This file was automatically generated

๐Ÿง  Core topics

โ“ More help


๐Ÿ‘ฉโ€๐Ÿ’ป Programming reference

Unit tests

Clone this wiki locally