GithubHelp home page GithubHelp logo

ricardorios46 / braincoord Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 153.58 MB

Program designed to calculate stereotaxic coordenates of mouse brain (Proyecto final de curso de Temas selectos de programacion de Python)

License: MIT License

Python 100.00%

braincoord's Introduction

BrainCoord

braincord

BrainCoord is a program designed to deliver the optimal coordinates for a particular nucleus analyzed through microinjection techniques in mouse.

It computes the target coordinates instantly and error free, improving the researchers work and the whole experiment result. BrainCoord was built in reference to the Mouse Brain Paxinos Atlas. This program allows to calculate the optimal coordinates to reach any brain nucleus in the mouse, delivering the resultant coordinates points (AP, ML, DV) from a coordenate 0 (bregma or lambda), previously entered by the user. In addition, this script allows the importing of a database of any particular nucleus.

In addition, this script is open to import database of any particular nucleus. The actual version 0.1 includes the cerebellar nuclei: medial (MN), lateral vestibular (LVe), medial vestibular parvocelular (MVePc) and anterior Interpositus (IntA).

This tool accepts .cvs files which requires to contain the following ordered coordinates (in mm), per each imported nucleus:

  • point reference bregma
  • point reference lambda
  • lateral limit
  • medial limit
  • dorsal limit
  • ventral limit

How to use it?

You can run the script at your terminal in two ways:

  • Filling the variables as they are requested, all must be entered in millimeters, choose a reference point (bregma or lambda) and select the nuceli to target (MN, LVe, MVePc or IntA). Notice the "reference0" is the AP, ML, DV coordinates from the point references at the mouse. For example:
python braincoord.py
  • Type the command with all the entrances in the same line. For example:
python braincoord.py --database_file MN --reference_point bregma --ap 33 --ml 15 --dv 63.7

If the nucleus of your interest is not in this database, upload your own database as a .cvs file with the format previously mentioned. At the end, the script will rise a list with the resultant coordinates (AP, ML, DV), which indicates the point to move at the stereotaxic frame.

Is important to notice that this version only accepts files with a minimun of two rows of coordinates. In the case the user requires to enter a particular coordinate, load a .csv file with the particular coordinates followed by a second row filled with: [0, 0, 0, 0, 0, 0]. For example:

[-22.68,-26.4,-18.67,-15.33,3,3.23]
[0,0,0,0,0,0]

Optional arguments

As optional functions, You can obtain two output files:

  • A logbook that it is a text file with the 0 coordinates, the resultant coordinates and the current date. You have to type at the terminal:
python braincoord.py --logbook True
  • A log file with the debbug report. You have to type at the terminal:
python braincoord.py --debug True

Documentation

For further information you will find the documentation in a zip file (doc.zip) on this repository. Download, uncompress and open the file "index.html"

Requirements

You will find a file on the repository called “requirements.txt” where are the explicit libraries needed to run the script in your own enviroment.

braincoord's People

Contributors

ricardorios46 avatar karenunez avatar dependabot[bot] avatar gabebyre avatar viridianavilla avatar

Watchers

 avatar  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.