Git Product home page Git Product logo

calcium-behavior-alignment's Introduction

Calcium-Behavior-Alignment

Align miniscope data with behavior

Command Line Interface (CLI) Overview

In addition to modulated functions for Jupyter notebook usage, there is also a CLI functionality for running on the terminal. Below is an overview of how to use the CLI for the calcium behavior alignment script.

  • The script can be executed from within the directory of calcium_behavior_alignment.py

Usage

calcium_behavior_alignment.py [-h] [-n NUM_PROCESSES] [-v] exp_path id_path beh_path experiment

Positional Arguments

  1. exp_path: The path to the experiment directory.
    • Example: /scratch/09117/xz6783/minian/Satiation/
  2. id_path: The path to the animal ID directory.
    • Example: /scratch/09117/xz6783/minian/Satiation/Session Combined/
  3. beh_path: The path to the behavioral data directory.
    • Example: /scratch/09117/xz6783/minian/Behavior_Files/
  4. experiment: The name of the experiment.
    • Example: Satiation

Optional Arguments

  • -h, --help: Display the help message and exit the program.
  • -n, --num_processes: The number of processes to use for multiprocessing (default: 2)
  • -v, --verbose: Whether to print verbose output. Helpful for debugging.

Example

python calcium_behavior_alignment.py /scratch/09117/xz6783/minian/Satiation/ /scratch/09117/xz6783/minian/Satiation/Session Combined/ /scratch/09117/xz6783/minian/Behavior_Files/ Satiation -n 5 -v

Important Note:

  • Ensure that you are running the python script on an environment with minian installed, e.g. conda activate minian

calcium-behavior-alignment's People

Contributors

duy-ha-dev avatar owenxz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.