-
Notifications
You must be signed in to change notification settings - Fork 1
Home
H Gazula edited this page Apr 29, 2023
·
9 revisions
Path on calico: /space/calico/1/users/Harsha/photo-calibration-gui
This project contains code to support 4 GUIs/freesurfer commands.
fiducials_calibration
fiducials_correction
retrospective_correction
connected_components
NOTE 01: For more information on how to use these GUIs, please refer to freesurfer wiki
NOTE 02 (important): Before running this project, please add the project directory to the PYTHONPATH environment variable as follows:
export PYTHONPATH=/path/to/project/directory
Python Environment:
- Option 1. Build your own using the requirements file.
- Option 2. Source my environment-
source /space/calico_001/users/Harsha/venvs/gui-venv/bin/activate
- Option 3: Source freesurfer
source /usr/local/freesurfer/nmr-dev-env-bash
NOTE: If you source freesurfer, use fspython
instead of python
wherever appropriate.
-
Makefile
- Contains recipes to run various GUIs -
misc
- Contains miscellaneous scripts written for the project - 'old_gui' - This directory contains Python scripts for the old GUIs (that can be safely ignored) and a segmentation script for binary masking.
README.md
-
requirements.txt
- Project requirements -
resources
- This directory contains the horizontal and vertical ruler -
scripts
- This directory containsfunc_{fs_command}.py
files that drive each of the aforementioned Freesurfer commands.
If you want to run each of these functions, you can either:
- Run them in debug mode (in an IDE), or
- You can invoke the corresponding target in the Makefile. For example: run
make fiducials_calibration
from the command line.