NeuroQP Docs

Analyze an Export with Python

Use NeuroQP Statistics for common no-code comparisons across animals, groups, conditions, brain regions, and stainings. Use NeuroQP Python when you need custom calculations, plots, quality-control checks, or integration with an existing analysis workflow.

Before you begin

  1. Prepare a project export and include the modules needed for your analysis.
  2. Download the completed ZIP file.
  3. Install NeuroQP Python in the environment used for your analysis.
python -m pip install neuroqp

Open the export

from neuroqp import open_export

with open_export("neuroqp_export.zip") as export:
    print(export.name)
    print([animal.name for animal in export.animals])

The package validates the archive before opening it. Keep reader-bound project objects inside the with block.

What you can do

Depending on the modules selected when preparing the export, you can:

  • navigate animals, slices, stainings, and images
  • read image and cell-detection mask data
  • inspect atlas registrations and detail-image alignment
  • load classification and cell-match results as NumPy arrays
  • validate or inspect an export from Python or the command line

The export remains the source of truth: features are available only when their corresponding data, registration, or classification module was included.

Continue with the Python documentation