-
Notifications
You must be signed in to change notification settings - Fork 4
FAQ
Yes, background colour can be changed for each inner block, using the colour picker tool or by entering the hex code. By default, the background colour is white.

The supported file types can be found here.
In general, we recommend that you keep the file sizes as small as possible to ensure quick loading times (i.e. minimise lag in experiments). See here for more details.
You can use Handbrake to convert videos into different formats.
These are fields that you can use to store information about the trial. For example, in a 2-alternative forced choice task, you can use label
to store the trial condition, and code
to store information about the stimuli (e.g. "target-distractor", to indicate the target is on the left, and distractor on the right). Together with ROIs (defined using rows
and columns
in trial settings), you can then use these information to infer whether the response (click/touch/gaze) falls on the target or the distractor when post-processing your data.
A (gaze) calibration trial is a special type of trial where the participant is asked to look at a series of points on the screen. This data is then used to calibrate the eye tracker. At the end of the calibration trial, the eye tracker is validated by presenting the first point again. Watch the eye-tracking video tutorial for more information.
Since validation is only performed using a single point at the end of a calibration trial, you will need create multiple calibration trials, each with a single point, to validate the eye tracker at different locations on the screen. Note that calibration will still be carried out for the defined max duration
, but you can set this to a very short duration (e.g. 100ms) to "skip" the calibration process.
At the moment, there is no option for creating response-contingent designs (e.g., conditionally move to/skip certain trials/blocks based on the participant's response in the current trial). For this, you may want to check out jsPsych or Gorilla.
e-Babylab experiments are compatible with Google Chrome or Mozilla Firefox on all Android devices as well as desktop and laptop computers running Windows, macOS, or Linux.
Currently, media recording features (requiring webcam and/or microphone) are not supported on iOS devices (iPhone, iPad). However, experiments that only require touch or click responses can still run on these devices, as long as a user response (touch or click) is required in each trial. This means that the trials need to be configured to have long max duration
and users must provide a response within this defined max_duration
, for the experiments to run.
Participants' IP addresses are not stored anywhere.
On the e-Babylab admin site, you can only download individual files. To batch-download the stimuli files of an experiment, use this bash script. You will need to edit the path to the experiment.json
file (downloadable via "Export Experiment") and the URL of your e-Babylab server. You will also have to make the script executable before you run it.
The participant page cannot be skipped as this "creates" the participant on the database by assigning them a unique ID for linking their experiment results. What you can do is to leave the participant page empty (by removing the title of the page in the HTML template, and removing any participant form questions), keeping only the "Next" button.
Yes. You can modify the experiment page HTML template to include JavaScript code that detects new video elements as they are added and enables the HTML video.controls
for each of these. Here is an example:
const observer = new MutationObserver(mutations => {
mutations.forEach(mutation => {
mutation.addedNodes.forEach(node => {
if (node.tagName === 'VIDEO') {
node.controls = true;
} else if (node.querySelectorAll) {
node.querySelectorAll('video').forEach(video => {
video.controls = true;
});
}
});
});
});
observer.observe(document.body, { childList: true, subtree: true });
A server 500 error could be due to a corrupted file uploaded by the user (e.g. renaming file extensions directly). Please contact your system administrator to check the server logs for more information.
I modified the template pages and now I get an error message. What could be the reason? How do I fix this?
It could be that you removed or modified some <script>
or <form>
elements, which are necessary for the website to function properly (e.g., button functions, form submissions). The best way to fix this is to restore the original template pages. You can do so by creating a new experiment in a new tab/window. From there, you can copy the original template code and replace your modified code with it. Note also that the URLs in the templates are dynamically generated and look something like: <form action="{% url 'experiments:consentForm' experiment.id %}">
, so you should not hardcode them in <form action>
.