--------------------------------- Stage 2: KIT ``.con`` to ``.fif`` --------------------------------- Author: Hadi Zaatiti What & why ---------- Stage 2 of the KIT general pipeline converts NYUAD-KIT ``.con`` recordings into MNE ``.fif`` files while **preserving every BIDS entity** in the output filename, pairing the **head-position marker** (``.mrk``) files deterministically, attaching the laser **head shape** and **digitizer points**, and recording the provenance of each conversion under BIDS ``derivatives/``. ``2-kit_con_to_fif.py`` opens the KIT-to-FIFF GUI (``mne-kit-gui`` 2.x) once per recording, preloaded with the resolved files, so that a person inspects the marker alignment and presses **Save FIFF...**. The conversion is always done this way: an operator checks every coregistration (an earlier automatic conversion was removed on 2026-10-20). Recordings are processed one after the other. Run this stage after BIDS-structuring the dataset (see :ref:`data_naming`) and before every other MEG stage: stages 5 to 9 and the STI 014 variant of stage 3 read the FIFs it produces, stages 15 and 16 their digitisation, and every later stage inherits from those. What you need to provide ------------------------ A BIDS-organised KIT dataset under ``//`` containing, per subject (and optionally per session): .. code-block:: text sub-/[ses-/]meg/ sub-[_ses-]_task-[_acq-...][_run-][_split-][_proc-