

Include its values in further entries of the experiment. Informs the experiment handler that the loop is finished and not to This allows entries to be saved even if nextEntry() isĬopy (not pointer) to entries loopEnded ( loopHandler ) ¶ getAllEntries ( ) ¶įetches a copy of all the entries including a final (orphan) entry Of the ExperimentHandler itself if we are not in a loop. Return the loop which we are currently in, this will either be a handle to a loop, such asĪ TrialHandler or StairHandler, or the handle nextEntry () addLoop ( loopHandler ) ¶ĭata from this loop will be included in the resulting data files.
#PSYCHOPY STORE CORRECT TRIAL#
addData ( 'resp.key', 'k' ) # end of trial - move to next line in data output exp. The data file and is considered part of the same entry until the Multiple data name/value pairs can be added to any given entry of Your data to the loop and had already added the loop to theĮxperiment then the loop will automatically inform the experiment Typically the user does not need to use this function if you added addData ( name, value ) ¶Īdd the data with a given name to the current experiment. Script early you may want to tell the Handler not to save out (even in the event of a crash if possible). Inform the ExperimentHandler that the run was aborted.Įxperiment handler will attempt automatically to save data Only info relating to the trial execution. Does not return data inputs from the subject, Returns the attribute names and values for the current trial Get the names and vals from the extraInfo dict (if it exists) _getLoopInfo ( loop ) ¶ That the current set of loops contain, ready to build a wide-format Returns the attribute names of loop parameters (trialN etc) The handler will attempt to populate the file even in theĪutoLog : True (default) or False _getAllParamNames ( ) ¶ Point that the handler is removed or discarded (unless This is defined in advance and the file will be saved at any If not provided this will be determined as the path of the The path and filename of the originating script/experiment ) runtimeInfo Ĭontaining information about the system as detected at To keep track of which version of the experiment was run extraInfo a dictionaryĬontaining useful information about this run interleaved staircases or loops within loops UsageĮxp = data.ExperimentHandler(name=”Face Preference”,version=’0.1.0’) Parameters name a string or unicodeĪs a useful identifier later version usually a string (e.g. Useful for generating a single data file from an experiment with manyĭifferent loops (e.g. ExperimentHandler ( name = '', version = '', extraInfo = None, runtimeInfo = None, originPath = None, savePickle = True, saveWideText = True, dataFileName = '', autoLog = True, appendFiles = False ) ¶Ī container class for keeping track of multiple loops/handlers GetDateStr() - provide a date string (in format suitable for filenames)ĮxperimentHandler ¶ class psychopy.data. ImportConditions() - to load a list of dicts from a csv/excel fileįunctionFromStaircase()- to convert a staircase into its psychopmetric functionīootStraps() - generate a set of bootstrap resamples from a dataset MultiStairHandler - a wrapper to combine interleaved staircases of any sort PsiHandler - the Psi staircase of Kontsevich & Tyler (1999) QuestPlusHandler - for the updated QUEST+ algorithm (Watson, 2017) QuestHandler - for traditional QUEST algorithm StairHandler - for basic up-down (fixed step) staircases TrialHandlerExt - similar to TrialHandler but with ability to run oddball designs
#PSYCHOPY STORE CORRECT UPDATE#
TrialHandler2 - similar to TrialHandler but with ability to update mid-run TrialHandler - basic predefined trial matrix

Psychopy.data - functions for storing/saving/analysing data ¶ĮxperimentHandler - to combine multiple loops in one study
