This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *********************************************************************** | |
| Main Task Script for Nochmani Experiment | |
| *********************************************************************** | |
| This script implements the main version of the Nochmani food preference task. | |
| Participants see food images and choose whether Nochmani would "eat" or "don't eat". | |
| Nochmani preferences: like sweets (approach-pos) and insects (approach-neg), hate meat (avoid-pos) and fungi (avoid-neg) | |
| // User-specified variables // TODO: move to config | |
| <parameters> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import pydicom | |
| import glob | |
| import sys | |
| # Get filename from user | |
| dir_name = sys.argv[1] | |
| file_name = dir_name + ".dcm" | |
| data_dir = "data/" + dir_name | |
| file_path = data_dir + "/" + file_name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## ~/.zshrc | |
| ## zsh-specific shell configuration. | |
| #### Source base configuration from .profile | |
| if [ -f ~/.profile ]; then | |
| source ~/.profile | |
| fi | |
| #### Pywal (https://github.com/dylanaraps/pywal.git) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GPU mode to use at computer startup. Possible values: nvidia, intel, hybrid, auto | |
| # "auto" is a special mode that auto-detects if the computer is running on battery | |
| # and selects a proper GPU mode. See the other options below. | |
| startup_mode=auto | |
| # GPU mode to select when startup_mode=auto and the computer is running on battery. | |
| # Possible values: nvidia, intel, hybrid | |
| startup_auto_battery_mode=intel | |
| # GPU mode to select when startup_mode=auto and the computer is running on external power. | |
| # Possible values: nvidia, intel, hybrid | |
| startup_auto_extpower_mode=nvidia |