How Med-PC Output Files Are Structured
Med-PC output files are plain text with two sections: a header block and one or more lettered data arrays. The header contains session metadata — subject ID, experiment name, group, box number, start/end times, and the MSN (program name). Below the header, arrays labeled A through Z hold numeric data whose meaning depends entirely on the Med-PC program that generated them. In a typical self-administration program, Array A might hold active lever press timestamps, Array B inactive presses, and Array C reinforcer deliveries — but another lab's program might use completely different mappings. This is why Med-PC data requires protocol-specific parsing. The tool auto-detects common schedule types from the MSN field and applies the appropriate array mapping, or you can configure it manually.