SurgeryCommander#
This gui allows entering surgeries to the DB. Beyond the animal documentation aspect of the surgery, this tool enables DB integration of Viruses, Probes and coordinates. A surgery can contain one or several individual steps such as injections or implantations. The tool lets you input the coordinates you used during the surgery (AP/ML on the brain surface) and depth of insertion. Then using atlas data the tool can automatically calculate where the target is and associate a brain-area with it.
From the datastructure_tools directory run
python ./SurgeryCommander.py
or from any directory
python -m datastructure_tools surgery
Error
In case you get this error, no connection can be established to MySQL. Ensure you entered correct credentials first using AdminCommander.
Definition of insertion angles#
To have the same nomenclature for insertion coordinates and angles please use following convention:
AP and ML coordinates are given in mm from Bregma
Depth of the insertion is recorded from brain surface
Angle to the stereotactic arm relative to DV axis is called elevation and can be 0-90 degrees
Angle around the AP axis is called Azimuth and can be 0-360 degrees
Please note azimuth is only meaningful if elevation is not 0 !
Insertion from the right: azimuth 90 degrees
from the left: 270
from the back: 180
from the front: 0
General surgery entries#
Choose User (is automatically set to the saved settings), but can be changed
Choose Animal
Add weight (Is mandatory now)
Add procedure and anesthesia details
Housing and Weiterleben
Medication (You can also use the addDrugs button to add default drugs)
Notes about surgery (not for animal sheet)
Surgery date
Buttons for individual entries for Injcetions, Implantations, etc
Atlas dropdown for visualizations (optional)
List of Items added to the surgery
To show selected entry in atlas-view (greyed out if no atlas available)
Add surgery to DB and AnimalSheetEntry
Clear all entries in case things were entered not correctly (only before pushing to DB)
If you have entered the API-key for eLabFTW in the AdminCommander the information about the surgery such as what injections and where are pushed to eLabFTW.
Also an AnimalSheet entry is created from the information entered.
Injections#
To add injections push the corresponding button.
Choose virus and batch. Not available ? add
Chose injection method
Coordinates
Angles if angled
Virus volume injected and further optional fields
Autocalculated amount of virus particles injected(if titer is available)
To show selected entry in atlas-view (greyed out if no atlas available).
Clear all fields
Add injections to list
Fiber implantation#
To add injections push the corresponding button.
Coordinates
Angles if angled
Fiber diameter
Further optional fields
To show selected entry in atlas-view (greyed out if no atlas available).
Add implantation to list
Further implantations#
Follow the same structure as above.
written by: Artur
last modified: 2024-11-11