# Setting Up a Batch

Theia3D Batch is a companion application that allows you to process multiple movement trials automatically. Once your [calibration](#calibration) and [movement data](https://docs.theiamarkerless.com/theia3d-documentation/data-collection/data-collection-principles) are collected, the data needs to be organized (each trial in its own subfolder), and calibrations need to be processed and/or assigned. Once that is completed, you are ready to set up a batch.&#x20;

{% hint style="info" %}
Theia3D Batch is ideal for analyzing large datasets without manual intervention. However, it is recommended to first verify your calibrations and review a few individual trials in Theia3D to ensure quality before using batch processing.
{% endhint %}

Follow the steps below:

{% stepper %}
{% step %}

### Set the Data Path

Use the folder icon button to select the parent folder where your raw data is stored. The data in this path must meet the standards outlined in [Video Data](/theia3d-documentation/data-formats/video-data.md), and each trial folder must have an assigned calibration file.
{% endstep %}

{% step %}

### Select the desired output types

Choose the output file types required for your workflow from the available options: [Theia3D Workspaces](/theia3d-documentation/data-formats/theia3d-workspaces.md), [JSON Files](/theia3d-documentation/data-formats/json-files.md), [C3D Files](/theia3d-documentation/data-formats/c3d-files.md), [FBX Files](/theia3d-documentation/data-formats/fbx-files.md).

Select ***Use Hierachical Names*** to specify how the output files will be named based on your input data, and whether to ***Save Results Log***.

If video outputs are desired, enable ***Save 2D video*** and/or ***Save 3D video*** and choose the camera views to be saved. Use the ***Display Options*** to set how these videos will be rendered.
{% endstep %}

{% step %}

### Configure the trial preferences

Enable ***Details*** to show more information for each trial in the list, and to allow their preferences to be configured.

Right-click in the preferences column to ***Edit***, ***Copy***, or ***Paste*** preferences specific to each trial. Select multiple trials using control-click or shift-click to paste preferences across multiple trials at once.
{% endstep %}

{% step %}

### Run Batch

{% endstep %}
{% endstepper %}

{% embed url="<https://www.youtube.com/watch?v=wGM1NMO-VIw>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.theiamarkerless.com/theia3d-documentation/theia3d-batch/setting-up-a-batch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
