bmtk.utils.cell_types_db package¶
Module contents¶
- bmtk.utils.cell_types_db.download_ephys_data(specimen_id, download_dir='ephys_inputs')[source]¶
Download nwb file containing sweeps.
- bmtk.utils.cell_types_db.download_model(specimen_id, model_type='Biophysical - all active', base_dir='models', overwrite=False)[source]¶
Uses the Allen REST API to find and download the model files for a given cell. All relevant files (parameters json and morphology swc) will be saved in a separate folder, the path to which will be returned.
Notes: Using the REST API because at the moment I don’t think the AllenSDK is capable of downloading parameters_fit.json files, see https://community.brain-map.org/t/cell-types-database-api/3016 for more info on how to use the API.