Section Attributes and Methods#
Experiment, position, and identification (Section)#
The   | 
|
The   | 
|
Alias for   | 
|
Name of the parent section.  | 
|
The member's parent section.  | 
|
A single string, indicating the member's position in the experiment.  | 
|
Short version of   | 
|
  | 
List of the parent section and the grandparent sections (recursive).  | 
Unique name of the member.  | 
|
Alias for   | 
|
Alias for   | 
Hooks for overloading (Section)#
  | 
Executed every time this section is entered.  | 
Executed once, when the   | 
|
Executed every time a direct subsection of this section is entered.  | 
|
  | 
Executed every time this section is left.  | 
Executed every time the experiment resumes from a direct subsection to this section.  | 
Movement permissions (Section)#
Controls, whether participants can move backward from and to pages in this section.  | 
|
Controls, whether participants can move forward from pages in this section.  | 
|
Controls, whether participants can jump from pages in this section  | 
|
Controls, whether participants can jump to pages in this section.  | 
Data and general utilities (Section)#
Returns a dictionary of user input data for all pages in this section and its subsections.  | 
|
Returns a dictionary of user input data for all unlinked pages in this section and its subsections.  | 
|
A dictionary of additional arguments passed on the class upon initialization.  | 
|
Returns True if should_be_shown is set to True (default) and all showif conditions return True.  | 
|
  | 
Hook for controlling whether a page or section should be shown.  | 
If True, the members of this section will be randomized every time the section is entered.  | 
|
Page subtitle (str).  | 
|
Page title (str).  | 
Access to members and elements (Section)#
Returns a flat dict of all closed pages in this section and its subsections.  | 
|
Returns a flat dict of all elements in this section.  | 
|
Returns a flat dict of all input elements in this section.  | 
|
Returns a flat dict of all members in this section and its subsections.  | 
|
Returns a flat dict of all pages in this section and its subsections.  | 
|
Returns a flat dict of all shown input elements in this section.  | 
|
Returns a flat dict of all pages in this section and its subsections that have already been shown.  | 
|
Returns a flat dict of all sections in this section and its subsections.  | 
|
Returns a dict of all elements in the current section that have access to the experiment session.  | 
|
Returns a dict of all members that already have exp access.  | 
|
Returns a dict of all pages in the current section that have access to the experiment session.  | 
|
Returns the first member of the current section.  | 
|
Returns the last member of the current section.  | 
|
Returns a flat dict of all pages in this section.  | 
|
Returns a flat dict of all subsections in this section.  | 
Development utilities (Section)#
These methods and attributes are most likely to be of interest to you only if you derive your own sections.
  | 
Informs the member that it was added to an experiment session.  | 
  | 
Informs the member that it was added to a section.  | 
  | 
Returns the subset of members in the given attribute that should be shown.  | 
  | 
Appends a variable number of pages or subsections to the section.  | 
If True, the member will spawn a logger that can be configured individually for each instance  |