I want to look at some statistics over many cells of the GLIF model parameters that are already fitted in the database.
From the tutorial [1], I understand how to get the fitted parameters of a single model using GlifApi().get_neuronal_models_by_id(neuron_model_id). But how can I get a relevant list of neuron models ids ?
I already found how to get a list of cell. So getting the list of models that were fitted to a particular cell is also relevant.
[1] http://alleninstitute.github.io/AllenSDK/glif_models.html
If you have a cell's ID, you can use the function in
GlifApi
calledget_neuronal_models()
to access that list of neuronal model IDs. The function takes a list of cell IDs and returns metadata (including neuronal model information) associated with those cells.For example:
If you run that example, you see that you get information about both GLIF models and biophysical models. If you want to limit it to GLIF models, you can use the neuronal model template IDs to do that.