Record#

class psynet.trial.record.MediaImitationChainNetwork(*args, **kwargs)[source]#

Bases: ImitationChainNetwork

A Network class for media imitation chains.

creation_time#

the time at which the Network was created.

details#

a generic column for storing structured JSON data

failed#

boolean indicating whether the Network has failed which prompts Dallinger to ignore it unless specified otherwise. Objects are usually failed to indicate something has gone wrong.

failed_reason#

an optional reason the object was failed. If the object is failed as part of a cascading failure triggered from another object, the chain of objects will be captured in this field.

full#

Whether the network is currently full

id#

a unique number for every entry. 1, 2, 3 and so on…

max_size#

How big the network can get, this number is used by the full() method to decide whether the network is full

property1#

a generic column that can be used to store experiment-specific details in String form.

property2#

a generic column that can be used to store experiment-specific details in String form.

property3#

a generic column that can be used to store experiment-specific details in String form.

property4#

a generic column that can be used to store experiment-specific details in String form.

property5#

a generic column that can be used to store experiment-specific details in String form.

role#

The role of the network. By default dallinger initializes all networks as either “practice” or “experiment”

time_of_death#

the time at which failing occurred

type#

A String giving the name of the class. Defaults to “network”. This allows subclassing.

vars#
class psynet.trial.record.MediaImitationChainNode(*args, **kwargs)[source]#

Bases: ImitationChainNode

A Node class for media imitation chains. Users must override the synthesize_target() method.

async_on_deploy()[source]#

Called when the node is deployed to the remote server. This includes both deploying nodes from the local machine to the remote machine (e.g. when we have static stimuli that are preregistered in the database) and creating new nodes on the remote machine (e.g. when we have a chain experiment).

creation_time#

the time at which the Network was created.

details#

a generic column for storing structured JSON data

failed#

boolean indicating whether the Network has failed which prompts Dallinger to ignore it unless specified otherwise. Objects are usually failed to indicate something has gone wrong.

failed_reason#

an optional reason the object was failed. If the object is failed as part of a cascading failure triggered from another object, the chain of objects will be captured in this field.

id#

a unique number for every entry. 1, 2, 3 and so on…

network#

the network the node is in

network_id#

the id of the network that this node is a part of

participant#

the participant the node is associated with

participant_id#

the id of the participant whose node this is

property1#

a generic column that can be used to store experiment-specific details in String form.

property2#

a generic column that can be used to store experiment-specific details in String form.

property3#

a generic column that can be used to store experiment-specific details in String form.

property4#

a generic column that can be used to store experiment-specific details in String form.

property5#

a generic column that can be used to store experiment-specific details in String form.

synthesize_target(output_file)[source]#

Generates the target stimulus (i.e. the stimulus to be imitated by the participant).

time_of_death#

the time at which failing occurred

type#

A String giving the name of the class. Defaults to node. This allows subclassing.

vars#
class psynet.trial.record.MediaImitationChainTrial(*args, **kwargs)[source]#

Bases: RecordTrial, ImitationChainTrial

A Trial class for media imitation chains. The user must override analyze_recording().

complete#

whether the info is ‘complete’, i.e. has received its contents

creation_time#

the time at which the Network was created.

details#

a generic column for storing structured JSON data

failed#

boolean indicating whether the Network has failed which prompts Dallinger to ignore it unless specified otherwise. Objects are usually failed to indicate something has gone wrong.

failed_reason#

an optional reason the object was failed. If the object is failed as part of a cascading failure triggered from another object, the chain of objects will be captured in this field.

id#

a unique number for every entry. 1, 2, 3 and so on…

network#

the network the info is in

network_id#

the id of the network the info is in

origin#

the Node that created the info.

origin_id#

the id of the Node that created the info

property1#

a generic column that can be used to store experiment-specific details in String form.

property2#

a generic column that can be used to store experiment-specific details in String form.

property3#

a generic column that can be used to store experiment-specific details in String form.

property4#

a generic column that can be used to store experiment-specific details in String form.

property5#

a generic column that can be used to store experiment-specific details in String form.

time_of_death#

the time at which failing occurred

type#

a String giving the name of the class. Defaults to “info”. This allows subclassing.

vars#
class psynet.trial.record.MediaImitationChainTrialMaker(*, id_, trial_class, node_class, network_class=None, chain_type, expected_trials_per_participant, max_trials_per_participant=None, max_trials_per_block=None, max_nodes_per_chain=None, chains_per_participant=None, chains_per_experiment=None, trials_per_node=1, n_repeat_trials=0, target_n_participants=None, balance_across_chains=False, start_nodes=None, check_performance_at_end=False, check_performance_every_trial=False, recruit_mode='n_participants', fail_trials_on_premature_exit=False, fail_trials_on_participant_performance_check=False, propagate_failure=True, wait_for_networks=False, allow_revisiting_networks_in_across_chains=False, assets=None, choose_participant_group=None, sync_group_type=None)[source]#

Bases: ImitationChainTrialMaker

A TrialMaker class for media imitation chains; see the documentation for ChainTrialMaker for usage instructions.

class psynet.trial.record.Recording(*args, **kwargs)[source]#

Bases: ExperimentAsset

creation_time#

the time at which the Network was created.

details#

a generic column for storing structured JSON data

id#

a unique number for every entry. 1, 2, 3 and so on…

property1#

a generic column that can be used to store experiment-specific details in String form.

property2#

a generic column that can be used to store experiment-specific details in String form.

property3#

a generic column that can be used to store experiment-specific details in String form.

property4#

a generic column that can be used to store experiment-specific details in String form.

property5#

a generic column that can be used to store experiment-specific details in String form.

type#
vars#
class psynet.trial.record.RecordingAnalysisPlot(*args, **kwargs)[source]#

Bases: ExperimentAsset

creation_time#

the time at which the Network was created.

details#

a generic column for storing structured JSON data

id#

a unique number for every entry. 1, 2, 3 and so on…

property1#

a generic column that can be used to store experiment-specific details in String form.

property2#

a generic column that can be used to store experiment-specific details in String form.

property3#

a generic column that can be used to store experiment-specific details in String form.

property4#

a generic column that can be used to store experiment-specific details in String form.

property5#

a generic column that can be used to store experiment-specific details in String form.

type#
vars#