# CRCNS.org Computational Neuroscience Data Archive

## Facts

- Provider: CRCNS.org (UC Berkeley)
- License: CRCNS Data Sharing terms (citation required; conditions vary by dataset)
- Size: 8,183 objects, ~9.8 TB across ~147 datasets
- Records: No common row schema — CRCNS is ~147 distinct experiments, each with its own recording modality
- Stored at: Amazon S3, s3://crcnsarchive (us-west-2)
- Access: public, readable without an account
- Category: Neuroscience
- Source: https://registry.opendata.aws/crcnsarchive/
- Page: https://scigantic.com/archive/a852e22f-0786-5b8c-b401-20ef8aafc99f
- Keywords: Neuroscience, EEG, iEEG, fMRI, electrophysiology, calcium imaging, AWS Open Data

## About

CRCNS.org (Collaborative Research in Computational Neuroscience) is a long-running repository of high-quality neuroscience datasets curated for developing and testing computational models of the brain and new analysis methods, mirrored here as AWS Open Data from the UC Berkeley / NERSC archive. It holds roughly 147 datasets (about 9.8 TB across 8,183 objects) of primary experimental recordings: extracellular electrophysiology from silicon probes and tetrodes, intracellular and patch-clamp recordings, two-photon calcium imaging, human intracranial EEG (iEEG) and fMRI, eye tracking, and the animal's simultaneous behavior. Coverage spans hippocampus (the hc-* family, including the Buzsaki-lab hc-2/hc-3 place-cell recordings), visual cortex (pvc-*), somatosensory 'barrel' cortex (ssc-*), prefrontal cortex (pfc-*), auditory cortex (ac-*), anterior lateral motor cortex (alm-*), thalamus, retina, and Drosophila. Each dataset ships as raw binaries (.dat/.eeg), MATLAB .mat structures, or Neurodata Without Borders (.nwb, HDF5) files, packaged alongside per-dataset documentation and md5 checksums. The AWS mirror is anonymously readable; crcns.org itself gates downloads behind free registration, and every dataset asks that you cite both the dataset and its associated publication, with specific conditions that vary by dataset.

## Load the data

```python
# CRCNS is a catalog of ~147 datasets. Start by listing them, then drill in.
import os, boto3
from botocore import UNSIGNED
from botocore.client import Config
s3 = boto3.client("s3", region_name="us-west-2", config=Config(signature_version=UNSIGNED))
p = s3.get_paginator("list_objects_v2")
datasets = sorted({o["Prefix"].strip("/") for pg in p.paginate(Bucket="crcnsarchive", Delimiter="/") for o in pg.get("CommonPrefixes", [])})
print(len(datasets), "datasets:", datasets[:20], "...")
# Pick one (e.g. ssc-2 barrel cortex) and read its file list before touching data:
print(s3.get_object(Bucket="crcnsarchive", Key="ssc-2/live/filelist.txt")["Body"].read().decode()[:1000])
```

## Data structure

Files:

```text
S3 bucket s3://crcnsarchive (us-west-2, anonymous read) — an AWS Open Data mirror of the UC Berkeley / NERSC CRCNS.org archive. This is a CATALOG OF ~147 INDEPENDENT DATASETS, not one dataset with one schema. Each dataset is a top-level prefix named <region-code>-<n>/; you pick a dataset, read its own docs/, then read its files.
  00-README.txt              — root note (describes the NERSC download portal)
  <dataset>/docs/            — per-dataset data description + download/processing notes (.pdf and .doc/.docx). READ THIS FIRST for any dataset.
  <dataset>/checksums.md5    — md5 for every file in the dataset
  <dataset>/filelist.txt     — flat listing of the dataset contents (also under <dataset>/live/)
  <dataset>/<session>.tar.gz — raw recordings packaged per session (extract to get .dat/.eeg/.clu/.res/.fet Neuroscope/Klusters files)
  <dataset>/live/**          — loose (already-unpacked) data on some datasets: .mat, .nwb, .dat
Dataset families (region code -> area, dataset count): hc hippocampus (29), pvc primary visual cortex (13), ssc somatosensory/barrel cortex (11), pfc prefrontal cortex (7), ac auditory cortex (6), alm anterior lateral motor cortex (4), vim visual-imaging fMRI (4), am/aa auditory (4/5), ofc orbitofrontal (4), mt area MT (3), fcx frontal cortex (3), plus thalamus (th), retina (ret), piriform (pcx), Drosophila (fly), human iEEG (ieeg), and others. By bytes the hc (3.1 TB), alm (1.6 TB), fly (1.0 TB), ssc (0.66 TB) families dominate.
```

Example file: `s3://crcnsarchive/ssc-2/live/nwb_files/an198503_2013_03_13_data_struct.nwb  (a self-contained NWB session; ssc-2 = Svoboda-lab barrel-cortex whisker/pole task)`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/a852e22f-0786-5b8c-b401-20ef8aafc99f
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/a852e22f-0786-5b8c-b401-20ef8aafc99f
- Over MCP: `get_schema_card` with id `a852e22f-0786-5b8c-b401-20ef8aafc99f` at https://api.scigantic.com/mcp

## Related topics

- [Neuroscience datasets](https://scigantic.com/topics/neuroscience)
- [EEG datasets](https://scigantic.com/topics/eeg)
- [fMRI datasets](https://scigantic.com/topics/fmri)
- [Electrophysiology datasets](https://scigantic.com/topics/electrophysiology)
- [Calcium imaging datasets](https://scigantic.com/topics/calcium-imaging)
- [iEEG datasets](https://scigantic.com/topics/ieeg)
