TaskParameters 8.1.12
Compiled `c` library for task parameter data structures and functions.
Loading...
Searching...
No Matches
ValueParameters Struct Reference

Struct to hold numeric valued parameters (no pointers) as fields. More...

#include <parameters.h>

Data Fields

Mode mode
 
Orientation orientation
 
uint16_t maxTrials
 
uint8_t maxOvershoots
 
uint8_t lineWidth
 
uint8_t cursorRadius
 
uint8_t targetRadius
 
uint16_t travelDistance
 
double minT1HOLD1Time
 
double maxT1HOLD1Time
 
double minT1HOLD2Time
 
double maxT1HOLD2Time
 
double fixedREACTTime
 
double fixedMOVETime
 
double fixedOVERSHOOTTime
 
double fixedT2HOLD1Time
 
double fixedT2HOLD2Time
 
uint16_t nTrialsBeforeIncrease
 
double rewardVolume
 
double rewardVolumeIncrease
 
double bribeVolume
 
double xGain
 
double yGain
 
unsigned int seed
 

Detailed Description

Struct to hold numeric valued parameters (no pointers) as fields.

Field Documentation

◆ bribeVolume

double ValueParameters::bribeVolume

Volume dispensed per "bribe" dispense (ml)

◆ cursorRadius

uint8_t ValueParameters::cursorRadius

Cursor diameter (pixels)

◆ fixedMOVETime

double ValueParameters::fixedMOVETime

Limit of T1_MOVE state (seconds)

◆ fixedOVERSHOOTTime

double ValueParameters::fixedOVERSHOOTTime

Limit of OVERSHOOT state (seconds)

◆ fixedREACTTime

double ValueParameters::fixedREACTTime

Limit of T1_GO state (seconds)

◆ fixedT2HOLD1Time

double ValueParameters::fixedT2HOLD1Time

Limit of T2_HOLD_1 state (seconds)

◆ fixedT2HOLD2Time

double ValueParameters::fixedT2HOLD2Time

Limit of T2_HOLD_2 state (seconds)

◆ lineWidth

uint8_t ValueParameters::lineWidth

Width of rendered outlines (pixels)

◆ maxOvershoots

uint8_t ValueParameters::maxOvershoots

Maximum allowed overshoots

◆ maxT1HOLD1Time

double ValueParameters::maxT1HOLD1Time

Maximum length of T1_HOLD_1 state (seconds)

◆ maxT1HOLD2Time

double ValueParameters::maxT1HOLD2Time

Maximum length of T1_HOLD_2 state (seconds)

◆ maxTrials

uint16_t ValueParameters::maxTrials

Trials to work before exiting session

◆ minT1HOLD1Time

double ValueParameters::minT1HOLD1Time

Minimum length of T1_HOLD_1 state (seconds)

◆ minT1HOLD2Time

double ValueParameters::minT1HOLD2Time

Minimum length of T1_HOLD_2 state (seconds)

◆ mode

Mode ValueParameters::mode

Task mode (STANDARD_PRACTICE | STANDARD_RECORDING)

◆ nTrialsBeforeIncrease

uint16_t ValueParameters::nTrialsBeforeIncrease

Number of trials before increasing reward size

◆ orientation

Orientation ValueParameters::orientation

Orientation (PRO | MID)

◆ rewardVolume

double ValueParameters::rewardVolume

Reward volume per successful trial (ml)

◆ rewardVolumeIncrease

double ValueParameters::rewardVolumeIncrease

Size of reward volume auto-increase (ml)

◆ seed

unsigned int ValueParameters::seed

The seed value to use for random generation.

◆ targetRadius

uint8_t ValueParameters::targetRadius

Target diameter (pixels)

◆ travelDistance

uint16_t ValueParameters::travelDistance

Distance from center of inner to center of outer target (pixels)

◆ xGain

double ValueParameters::xGain

Scalar gain on x-axis (default: 1.0)

◆ yGain

double ValueParameters::yGain

Scalar gain on y-axis (default: 1.0)