Datajoint schemas provided by Seung Lab.
DataJoint for Python requires Python 3.4 or above to function properly.
pip3 install datajoint
For more information, please checkout the DataJoint Tutorials.
- HOST: datajoint.ninai.org
- USER: Given after registration
- PASSWORD: Given after registration
You need to be registered to access the database. Please fill out the registration form to receive user id and password.
Database location: Princeton Neuroscience Institute, Princeton University
- HOST: seungdj01.princeton.edu
- USER: Your Princeton net id (ex. jabae)
- PASSWORD: Your Princeton net id password
*You have to be affiliated with Princeton University to access the database.
import datajoint as dj
# Datajoint credentials
dj.config["database.host"] = "seungdj01.princeton.edu"
dj.conn() # Then it will ask for your net id and password
or
dj.config.load("dj_conf.json")
dj.conn()
dj_conf.json
{
"database.host": "seungdj01.princeton.edu",
"database.password": "your_netid_password", # THIS IS OPTIONAL. If you don't specify it here, it will ask for it when you connect to the database (dj.conn())
"database.user": "your_netid", # THIS IS OPTIONAL. If you don't specify it here, it will ask for it when you connect to the database (dj.conn())
"database.port": 3306,
"database.reconnect": true,
"connection.init_function": null,
"connection.charset": "",
"loglevel": "INFO",
"safemode": true,
"fetch_format": "array",
"display.limit": 50,
"display.width": 25,
"display.show_tuple_count": true,
"history": [
]
}
pinky = dj.create_virtual_module("seung_pinky", "seung_pinky")
pinky = dj.create_virtual_module("Seung_pinky", "Seung_pinky")
pinky40 = dj.create_virtual_module("Seung_pinky40", "Seung_pinky40")