> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/analysis/eeg/abm/abm-b-alert-eeg-system-post-processing-abm-data.md).

# ABM B-Alert EEG System: Post-Processing ABM Data

Post-process ABM B-Alert EEG data with the benchmark .DEF and .EDF files to get decontaminated EEG and B-Alert metrics, and rerun it manually when needed.

EEG post-processing will provide EEG metrics and decontaminated EEG data. For iMotions 6.4 or later, post-processing runs automatically upon conclusion of data collection for each respondent

**Instructions:**

1. Confirm Benchmark Task (.DEF) File is Available
2. Collect EEG Data
3. Run Post-Processing (if necessary)

**Required Files:**

Post-processing requires these two files:

* **DEF File** - Created by running the Benchmark Task (as described [here](https://help.imotions.com/lab/sensor-setup/eeg/abm/abm-running-a-b-alert-benchmark-task.md))
* **EDF File** - Created during EEG data collection

## 1) Confirm Benchmark Task (.DEF) File is Available

EEG post-processing requires a .DEF file for each respondent, which is created by performing the Benchmark Task (described [here](https://help.imotions.com/lab/sensor-setup/eeg/abm/abm-running-a-b-alert-benchmark-task.md)). You can check for the resulting .DEF file in your study folder in the "ABM\_Data" folder. The "ABM\_Data" folder will contain a folder for each respondent, and this respondent folder will contain the "Benchmark" folder that contains the Benchmark files (see example in following screenshot).

Note: Each Respondent ABM folder contains a text file indicating the respondent ID. You can also find the most recently collected respondent folder by sorting the respondent folders by "Date modified".

![blobid0.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-77bf8547169764165657cd3d552767e52d160e8e%2F943c38ea69_blobid0-10-.webp?alt=media)

## 2) Collect EEG Data

Record EEG data in iMotions with the B-Alert EEG system. When data collection has concluded, post-processing will run automatically for iMotions 6.3 or later.

## 3) Run Post-Processing (if necessary)

Post-processing can also be performed manually on existing B-Alert EEG data. This may be necessary, for example, if post-processing needs to be re-run, the respondent did not have a Benchmark Task (.DEF) file when EEG data was collected, or for older versions of iMotions (6.3 or earlier).

To run post-processing after data collection, right-click the study in the iMotions library and select “B-Alert EEG Processing”. In the pop-up window, select the respondents to post-process and click “Ok”.

In this window, the "Processed" column indicates currently available data, while the "Unprocessed" column indicates any analyses that have not been performed or if any required files are missing (e.g. Benchmark Task .DEF files).

![blobid1.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-1dc7b43bb90ee51f680b448ed9a9ec66ae8a5a07%2Fe07f244047_blobid1-6-.webp?alt=media)

After post-processing, EEG Metrics will be available in the iMotions Replay and Aggregate windows. Decontaminated data and metrics can be exported to raw sensor data files.

![blobid2.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-87533d04284b187d42a48a3d493bfc51373a6b4e%2F396cc2d0e9_blobid2-4-.webp?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/analysis/eeg/abm/abm-b-alert-eeg-system-post-processing-abm-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
