Archived
Initial commit
This commit is contained in:
commit
d89b82be4a
103 files changed
+23110
No files matched your search
@@ -0,0 +1,46 @@
|
||||
# --------------------------------------------------------------------------
|
||||
# Authors:
|
||||
# ------ MATlAB ------
|
||||
# 2017-03-29: Etienne Gaudrain <etienne.gaudrain@cnrs.fr>
|
||||
# ------ Python ------
|
||||
# 2020-01-27: 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):
|
||||
'''Defines the basic options'''
|
||||
|
||||
options["result_path"] = "./results/" + options["subject_name"]
|
||||
|
||||
options["result_prefix"] = 'jnd_'
|
||||
options["logs_path"] = './logs/fishy'
|
||||
|
||||
options["log_file"] = os.path.join(options["result_path"], 'status.txt')
|
||||
|
||||
# DELETE Relevant paths, but may not be necessary
|
||||
options["path"] = {}
|
||||
options["path"]["straight"] = 'straight'
|
||||
options["path"]["sqlite"] = 'sqlite'
|
||||
options["path"]["vocoder"] = 'vocoder'
|
||||
options["path"]["audio"] = 'audiotsm'
|
||||
options["experiment_begin"] = 1
|
||||
|
||||
return options
|
||||
Reference in new issue
Block a user