This repository has been archived on 2026-10-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-09-22 11:52:03 +02:00

50 lines
1.8 KiB
Python

# --------------------------------------------------------------------------
# Authors:
# ------ MATlAB ------
# Paolo Toffanin <p.toffanin@umcg.nl>, RuG, UMCG, Groningen, NL
# Jacqueline Libert
# Leanne Nagels < leanne.nagels@rug.nl >
# Etienne Gaudrain <etienne.gaudrain@cnrs.fr> - 2017-12-05
# CNRS, CRNL, Lyon, FR | RuG, UMCG, Groningen, NL
# ------ Python ------
# 2020-04-13: Luke Meyer < l.meyer.5@student.rug.nl >
# Copyright MRC-CBSU(UK), CNRS(FR), UMCG(NL) and the author(s).
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY
# without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see < http: // www.gnu.org/licenses/>.
# --------------------------------------------------------------------------
import os
def expe_options(options):
options["result_path"] = "./results/" + options["subject_name"]
if not os.path.exists(options["result_path"]):
os.mkdir(options["result_path"])
# result prefix
options["result_prefix"] = "emo_"
# label
options["experiment_label"] = "PICKA :: Emotion"
# options["subject_age"] = subject["age"]
# options["subject_sex"] = subject["sex"]
options["res_filename"] = os.path.join(options["result_path"], "{}{}_{}_robot.mat".format(
options["result_prefix"], options["language"].lower(), options["subject_name"]))
options["experiment_begin"] = 1
return options