-
Notifications
You must be signed in to change notification settings - Fork 1
Home
H Gazula edited this page Apr 29, 2023
·
9 revisions
This project contains code to support 4 GUIs/freesurfer commands.
fiducials_calibration
fiducials_correction
retrospective_correction
connected_components
NOTE: For more information on how to use these GUIs, please refer to freesurfer wiki
Path on calico: /space/calico/1/users/Harsha/photo-calibration-gui
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.
![image](https://user-images.githubusercontent.com/9400767/234727074-955df3f0-69ac-44a0-9502-7afbafabedf6.png)
![image](https://user-images.githubusercontent.com/9400767/234727137-f81d03cc-1059-45b7-a8a0-7259d6d4e1c6.png)
-
Makefile
- Contains recipes to run various GUIs -
misc
- 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 commandline.