Skip to main content

High resolution recordings in primate secondary visual cortex

Project description

v2_dataset – Python object-relational mapping (ORM) and tools for the V2 Dataset


This repository contains a Python package based on the SQLAlchemy object-relational mapping (ORM) framework for accessing the V2 Dataset's curated information. It also contains a minimal command-line interface that supports the creation of SQLite databases to hold curated information and its manipulation through a set of parsing routines that are being continuously developed.

The curated information itself is stored in the contents repository, together with information on how to obtain the recording data (which is not open-sourced, as of now). The contents repository should be cloned separately and linked from your working copy, as explained below.

Installation and setup

The library may be installed with

pip install lcg-neuro-v2-dataset-orm

Additional steps:

  1. Clone the V2 Dataset's contents repository to any directory on your computer, e.g.:

    git clone git@gitlab.com:lcg/neuro/v2/dataset/contents /data/v2-dataset
    

    Make sure to check out a compatible version of the contents repository. Usually, the latest version of the library will be compatible with the latest version of the dataset.

  2. The library must be able to locate the dataset directory, which can be done in one of two ways:

    • If Define a V2_DATASET_DIR environment variable pointing to the directory where you cloned the contents repository (you may do it with a .envrc file), or
    • Create a symlink named dataset (it is Git-ignored in this repository) in your working copy or library installation directory (/lib/pythonx.y/site-packages/lcg-neuro-v2-dataset-orm) pointing to the contents repository copy.

Note: You may need g++ or clang to compile some dependent libraries's extensions.

Development notes

Git LFS and cloning

Cloning may take a while because we use Git LFS to track larger files that are included mainly for testing. After the initial cloning, further pushing/pulling/fetching should only take as long as needed to download missing files, which we intend to keep at a minimum over this project's lifetime.

Important: you must install Git LFS before cloning.


— Powered by GitLab CI
— Created by Pedro Asad <pasad@lcg.ufrj.br> using cookiecutter and @pedroasad.com/templates/python/python/app-1.0.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lcg-neuro-v2-dataset-orm-0.4.0.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lcg_neuro_v2_dataset_orm-0.4.0-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file lcg-neuro-v2-dataset-orm-0.4.0.tar.gz.

File metadata

  • Download URL: lcg-neuro-v2-dataset-orm-0.4.0.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for lcg-neuro-v2-dataset-orm-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c3c35965c7c08e89cf5af4838af337aebe73f68347f2b75d36fb78116b98bfda
MD5 714a06f944a61def70aacb4f7dbeeac5
BLAKE2b-256 0a8d377ed4d5afb0212d1f80600e28a6cd56c8f83d356f34db10b3c22718815b

See more details on using hashes here.

File details

Details for the file lcg_neuro_v2_dataset_orm-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: lcg_neuro_v2_dataset_orm-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 37.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for lcg_neuro_v2_dataset_orm-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ebf8c6626a89b41ac78f3a2f82afe027ab8b0913f700a2364e1f8f791b51241
MD5 9e826aee886828fb2a19a317b44e6d31
BLAKE2b-256 bf64ab4d66756e80ce34d982c303b2fd95fa88bc57226952363dbe28f7fbe6c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page