ToolsConductScience tool
MED-PC ParsingFree in-browser calculator

Free Operant Session Analyzer for Med-PC Output Files.

Upload Med-PC output files and get clean data, publication-ready figures, and AI-powered session QA — all in your browser.

PrivateData stays in your browser
LiveNo sign-up required
Validated2026-03-10
CitableMethods and citation included

Calculator

Results update in place

Try it out

Load example operant session data to see the full workflow

Drag & drop Med-PC output files

or click to browse — .txt files, one or more

When to use

  • Parse Med-PC, Coulbourn, and Lafayette raw output files to clean CSV
  • Generate publication-ready cumulative response curves
  • Analyze progressive ratio breakpoint sessions
  • Run AI-powered session quality assessment (Claude-based anomaly detection)
  • Compare sessions across subjects and conditions

Do not use for

  • Video-based behavioral scoring (use tracking software instead)
  • Free operant observation without automated equipment
  • Human behavioral tasks (designed for animal operant data)

Med-PC array labels are protocol-specific

Array A in one lab’s program might be active lever presses while another lab uses Array C. Always verify array mappings against your .MPC source code before interpreting parsed output. The tool auto-detects common schedules from the MSN field, but custom protocols require manual mapping.

Define your breakpoint criterion before analysis

Progressive ratio breakpoint can be defined as the last completed ratio, the last ratio initiated, or based on a time-out criterion (e.g., 5 minutes without a response). Different criteria yield different breakpoints from the same session. Document your criterion in your methods section.

Cumulative records should only reset at session boundaries

A cumulative response curve that resets mid-session or shows backward steps indicates a file parsing error or corrupted data. The slope of the cumulative record at any point reflects the local response rate — steeper slopes mean faster responding.

Session length affects rate-based measures

Comparing response rates across sessions of different lengths can be misleading. A 30-minute FR session and a 60-minute FR session will show different total response counts but may have identical rates. Always normalize by session duration or use time-bin analyses.

Check file encoding before batch upload

Med-PC output files are typically ASCII/ANSI encoded. If your files were opened and re-saved in Excel or a text editor that changed the encoding to UTF-8 with BOM, the parser may fail on header detection. Re-export from Med-PC or remove the BOM marker.

Resources

  • Med-PC version matches your protocol file
  • Box number in header matches physical box
  • Subject ID format is consistent across sessions
  • Data file saved to correct directory
  • Array declarations match expected event counts
  • Schedule parameters (ratio, interval) set correctly
  • House light and stimulus lights tested
  • Pellet dispenser loaded and dispensing confirmed

What This Operant Session Analyzer Extracts

Session Metadata

Subject, group, box, date, duration, MSN program name

Event Arrays

Active/inactive responses, reinforcers, head entries, latencies

Summary Statistics

Response rate, breakpoint, accuracy, omissions, d-prime

This Tool vs MED-PC to Excel

Med Associates bundles a "MED-PC to Excel" utility with their software. It transfers raw data into Excel, but requires manual macro setup for each protocol, processes one file at a time, and provides no QA or visualization. This tool parses files instantly in your browser, auto-detects your schedule, generates publication-ready figures, computes summary statistics, and optionally runs AI-powered session QA — all in one step, for an entire batch of sessions.

FeatureMED-PC to ExcelOperant Session Analyzer
ParsingRequires Excel macros, manual setup per protocolInstant browser-based, auto-detects schedule
QAManual — check each session by eyeAI flags anomalies, equipment issues, outliers
VisualizationCopy into GraphPad/Prism manuallyPublication-ready figures generated instantly
Batch processingOne file at a timeUpload entire experiment at once
Export formatsExcel onlyCSV (wide/long), PNG, SVG, methods text
Schedule supportGenericSchedule-aware analysis (FR, PR, 5-CSRTT, etc.)
CostBundled with Med-PC licenseFree
PrivacyDesktop softwareClient-side — data never leaves your browser
1

Method

Parser supports Med-PC .txt, Coulbourn .csv, and Lafayette .csv formats. Event timestamps are extracted and reconstructed into behavioral time series. Schedule detection uses MSN field pattern matching for FR, PR, and 5-CSRTT presets. AI QA powered by Claude API for session anomaly detection — sends only parsed summary statistics, not raw files.

2

Validated

Last validated 2026-03-10. Calculations are designed for planning and documentation support; verify procurement decisions against manufacturer specifications or institutional SOPs.

3

How to cite

How to Cite

ConductScience Operant Session Analyzer (v1.0). ConductScience, Inc. 2026. Available at: https://conductscience.com/tools/operant-session-analyzer

Med-PC is a trademark of Med Associates Inc. This tool is independent and parses exported text files. ConductScience is not affiliated with Med Associates Inc.

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.

This Tool vs MED-PC to Excel

Med Associates bundles a "MED-PC to Excel" utility with their software. It transfers raw data into Excel, but requires manual macro setup for each protocol, processes one file at a time, and provides no QA or visualization. This tool parses files instantly in your browser, auto-detects your schedule, generates publication-ready figures, computes summary statistics, and optionally runs AI-powered session QA — all in one step, for an entire batch of sessions.

For Labs Running Med Associates Operant Chambers

You shouldn't need a rescue tool for your data. ConductScience operant systems export clean, structured data natively — ready for analysis without parsing. ConductMaze provides automated protocol management with built-in session QA at the hardware level. Direct CSV/JSON export means no proprietary formats, no array decoding, and no guessing which letter maps to which variable.

Frequently asked

325
Free tools
1,200+
Institutions
100%
Client-side
0
Uploads required