Gist f28ea71aa261d47cf5277019bc65887e
✓ Published0🌍 Public
Aakeshavan
Last edited Jul 11, 2016
Created on Jul 11, 2016
This example shows how to update a MongoDB database with neuroimaging metrics derived from FreeSurfer, using a JSON file as the data source. The notebook loads brain volume measurements and associated demographic metadata, then prepares them for database insertion. It uses pandas for data manipulation, nipype's `load_json` and `save_json` for file handling, and pymongo to interact with the MongoDB collection. The visualization highlights the structure of FreeSurfer-derived brain metrics alongside study-specific metadata fields.
AI-generated description