sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
16a5abaf91845c90bb7b7e8ca5dea6bf6631c1c32f14d38249165ded56e1d474 | Shell | 6,461 | 239 | #!/bin/bash
set -xe
force_java_apk_x86_64()
{
cd ${DS_DSDIR}/native_client/java/
cat <<EOF > libdeepspeech/gradle.properties
ABI_FILTERS = x86_64
EOF
}
do_deepspeech_java_apk_build()
{
cd ${DS_DSDIR}
export ANDROID_HOME=${ANDROID_SDK_HOME}
all_tasks="$(curl -s https://community-tc.services.mozilla.com/ap... |
24c0fa41b41a0c6254470d278a2510889349224ebd627020736bbff7a3b3192b | Shell | 6,461 | 121 | #!/bin/bash
# $ -S /bin/bash
# $ -N job-simulation_MsCaviar_helenhua
# $ -cwd = run from this current working directory (relative paths)
# -o stdout-Simulation.out
# $ -l h_data=6G,h_rt=24:00:00
# $ -t 1-10:1
# source ~/.bash_profile
# source ~/.bashrc
. /u/local/Modules/default/init/modules.sh
module load python/anac... |
21685d64c9e5e6925e4fbf4aa661036e7dba04e41d93634abdd6847fbb01f084 | Shell | 6,629 | 122 | # theoretically this can work with any conda/mamba base install by setting variables appropriately below.
# if you install a fresh base (minconda/miniforge3) and are using bash,
# then this script should work without user interaction.
# if you like your existing clever environment, take this more as a requirement lis... |
09120d1c68d919ac393513d3690bd81d762b75648d2007cafe7f4314d210c443 | Shell | 6,794 | 218 | #!/bin/bash
# Script to install ethoscope systemd services
# Usage: ./install_services.sh [--node|--ethoscope]
set -e
function show_usage() {
echo "Usage: $0 [--node|--ethoscope]"
echo " --node Install services for ethoscope node"
echo " --ethoscope Install services for ethoscope device"
exit ... |
ab06ff89ee93fedebd86c93ec89b403e0ac13f936633d9b45714136a005abbda | Shell | 6,807 | 151 | #!/bin/bash
#created by Meng-Yun
#05-Aug-2022
# run group ICA and dual regression
filepath=/Users/wang/Desktop/Research_projects/BBSC/Functional/Pre_processing
cd $filepath
echo "-------------->>>>run group ICA with all data"
ls -1 ./*/*/prep.feat/filtered_func_data_clean_standard.nii.gz >> inputlist_all.txt
# grou... |
2e56f9875f5c04112efad0edf2ab3153ae1853216f1832fe7a813d934417c367 | Shell | 6,902 | 175 | #!/bin/bash --login
ID=0 # a number between 0 and 14 inclusive to determine the repetition and the fold indices
FOLD=$(( $(( $ID % 5 )) + 1 )) # remainder gives 0 - 4 but should be 1 - 5, so we add + 1
REP=$(( $ID / 5 )) # 0 - 2
echo TASK_ID=$ID, rep=$REP, fold=$FOLD
EPOCHS=400
BATCH_SIZE=16
LEARNING_RATE=1.e-4
NU... |
57f71e7ac1f81bfde004f3bbc8237dc8d82bbc018e814e439332be437d6b38bd | Shell | 7,064 | 164 | # Brain extraction shell script (SGE)
# Author: Ma Da (d.ma.11@ucl.ac.uk)
# Version 0.7_2013.04.15 (add non-rigid registration for accurate brain extraction)
# echo "Bash version ${BASH_VERSION}..."
#!/bin/bash
if [ $# -lt 2 ]
then
echo ""
echo "*********************************************"
echo "* Segmentation p... |
9b78e1ee0e8a5b9a40378e390824d2a93fd31105f05632a450cae30a21ef2e21 | Shell | 7,190 | 275 | #!/bin/bash
# script to facilitate making ROIs from a functional localizer task
# run from the subject directory with the name of the localizer (e.g., mid)
function usage() {
echo "$0 <funcloc_name> [options]"
echo " the feat setup file file scripts/<funcloc_name>.fsf must exist"
echo " options:"
echo... |
b2170f5a794d9e791d7ce89d74af4df9c484dc9318eafccffde570dcfd3cf5e8 | Shell | 7,383 | 236 | #!/usr/bin/env bash
# ethoscope-image.sh — manage an ethoscope SD card .img file
#
# Operations (combine freely):
# --info Read-only: print /etc/sdimagename and the /opt/ethoscope
# git HEAD / branch / remote. Mounts the image read-only.
# --fsck Run e2fsck on the rootfs and fsck.fat on the ... |
c81488d3bf3497ca0d968fd3fc5e2b8e8d9b103f35121587d38d68ab5aa15a66 | Shell | 7,405 | 210 | #!/bin/bash
#
# Cortical morphology metrics processing:
#
# Generates vertexwise (native, fsa5, and conte69) outputs for:
# Cortical Thickness
# Mean Curvature
#
# This workflow makes use of freesurfer outputs and custom python scripts
#
# Atlas an templates are avaliable from:
#
# https://github.com/MICA-MNI/micap... |
fdda8b56214e7a2a70275d3bfb97dcc6c69dfd9388abc93c3742730b5c30480d | Shell | 7,596 | 290 | #!/usr/bin/env bash
#==========================================================================
#
# Copyright NumFOCUS
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# htt... |
e3ec14da82f2e37e2daa5e73f7e82156714d744fd2fcc79cca3d0e44c31f98e9 | Shell | 7,622 | 231 | #!/bin/bash
# Written by C. Vriend - AmsUMC Jan 2023
# Modified: converted to SLURM array (one task per subject), set -euo pipefail,
# source config, input validation, safer loops, trap cleanup
#SBATCH --job-name=dtitk-diffmaps
#SBATCH --mem=1G
#SBATCH --partition=luna-cpu-short
#SBATCH --qos=anw-cpu
#SBATCH --cpus-pe... |
ac5f32c80e2e8ae461597e9afe73f280739838cff9a4718a2ee6b12e45f0c022 | Shell | 7,625 | 200 | #!/usr/bin/env bash
#==========================================================================
#
# Copyright NumFOCUS
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# htt... |
a11a46f2eedb490d5b36245b4f6bbabe733cc68ea576d640667ff5224419666c | Shell | 7,749 | 350 | #!/usr/bin/env bash
PREFIX="${PREFIX:-/usr/local}"
MAKEFLAGS="${MAKEFLAGS:--j $(nproc)}"
log(){
msg="$1"; shift
_color_bold_yellow='\e[1;33m'
_color_reset='\e[0m'
echo "${_color_bold_yellow}${msg}${_color_reset}"
}
logGreen(){
msg="$1"; shift
_color_bold_yellow='\e[1;32m'
_color_reset='\e... |
36de470040f2bb89e81b5be58ffe79d2dc40eba178a1aab6ef68bbcccd2e53c6 | Shell | 7,759 | 210 | #!/bin/bash
#
# Pipeline to reproduce RAS/NF1 classifier
#
# Usage: bash ras_analysis.sh
#
# Output: Results from all classifiers - performance tracking plots and various results
alphas='0.1,0.13,0.15,0.18,0.2,0.25,0.3'
l1_mixing='0.15,0.155,0.16,0.2,0.25,0.3,0.4'
nf1_diseases='BLCA,COAD,GBM,LGG,LUAD,LUSC,OV,PCPG,SARC... |
7e3ae751225b99c4c2736d8d7f97126c7a55577ef9cee53c162fa41d78d5a4ca | Shell | 7,811 | 177 | # Structural Parcellation shell script (SGE)
# Author: Ma Da (d.ma.11@ucl.ac.uk)
#!/bin/bash
# echo "Bash version ${BASH_VERSION}..."
# $1: enquiry image
# $2: atlas folder "in_vivo" or "ex_vivo"
# $3: if exist, read user defined parameters
echo "***************************************************"
echo "* CAUTION!! D... |
9c3bbe489265c77e4aeac6a2c97c3e37e6355f8b864553f37c89033d54613cbd | Shell | 7,812 | 223 | #!/bin/bash
# Written by C. Vriend - AmsUMC Jan 2023
# Modified: set -euo pipefail, source config, SLURM array conversion,
# input validation, completed incomplete logic, safer variable handling
#
# NOTE: This script is the alternative to 02b-02d + 03a when an existing
# group template is already available (templatedir... |
212c85ca8956c27cb3be3939ead508a6dd9bc69f410eab9000cf27fe3c375ecd | Shell | 7,854 | 241 | #!/bin/sh
# This file can be downloaded at http://tinyurl.com/oyuh92j
######################################
# To build the sd card, follow instructions @ http://archlinuxarm.org/platforms/armv6/raspberry-pi
# Then run this script.
# After boot, one can log a s `root` (password = `root`)
# And run: `systemctl start sl... |
f8202cf096f5b3c10e96409a92ca0a7a3a3e25caf2b0b0a2ecc43dc1a6bf1e90 | Shell | 8,038 | 230 | #!/bin/bash
#
# Microstructural imaging processing:
#
# Preprocessing workflow for qT1.
# Generates microstructural profiles and mpc matrices on specified parcellations
#
# This workflow makes use of freesurfer and custom python scripts
#
# Atlas an templates are avaliable from:
#
# https://github.com/MICA-MNI/micapipe... |
7261279826de137dc8d3fa288a1679cad972c28f9a71afe918c119e41029a82e | Shell | 8,084 | 173 | #!/bin/bash
set -e
OUTDIR="./data"
BASE_URL="https://erda.ku.dk/archives/ee6b452c1907fbd48271b071c3cee10e/Ocean/rogue-analysis-inputs-v6"
STATIONS="\
fowd_cdip_028p1_filtered-preprocessed-agg.parquet
fowd_cdip_029p1_filtered-preprocessed-agg.parquet
fowd_cdip_036p1_filtered-preprocessed-agg.parquet
fowd_cdip_043p1_f... |
4f1ebe041c7a62a0ec1698b8589572c8df6ac87607acb730224e25e6d5847390 | Shell | 8,118 | 182 | #!/bin/bash
# echo "Bash version ${BASH_VERSION}..."
# Structural Parcellation shell script (SGE)
# Author: Ma Da (d.ma.11@ucl.ac.uk)
# $1: enquiry image
# $2: mask for enquiry image. if no mask just type "no_mask"
# $3: atlas folder. e.g. "in_vivo" or "ex_vivo"
# $4: if exist, read the file to load user defined par... |
9ca50cedba2720f7a5e6bb154a5834d9f6a8f118fc395a8b6b314c040d848f69 | Shell | 8,123 | 266 | #=============================================================================
# Copyright 2010-2011 Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.or... |
516faa27b9f262d13a81e0e19315a56d5e36c61a3d67070041e553ecf783c916 | Shell | 8,251 | 231 | #!/bin/bash
# Written by C. Vriend - AmsUMC Jan 2023
# Modified: converted to SLURM array (one task per subject), set -euo pipefail,
# source config, input validation, removed serial subject loop
#SBATCH --job-name=dtitk-warp2template
#SBATCH --mem=2G
#SBATCH --partition=luna-cpu-short
#SBATCH --qos=anw-cpu
#SBATCH --... |
2f5a9325d88e6099bf5196ba055c4df5a02841c8dbfd927cc3e1fb8d37216087 | Shell | 8,256 | 202 | #!/usr/bin/env bash
# MIT License
#
# Copyright 2018 Broad Institute
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, c... |
20a9aff9313fcefc5ebcb08a856fb1692257c53ceb97f136dcc1cb9a7bf2573c | Shell | 8,288 | 174 | #!/bin/bash
# Command-line arguments:
# 1: run type
# 2: random trials (comma-separated list e.g. 0,1,2,3)
# 3: brain areas (comma-separated list e.g. thl,ctx,hpc)
# 4: thl prefixes (comma-separated list e.g. $FILE_PREFIX_LEARN,$FILE_PREFIX_CUE)
# 5: ctx prefixes (comma-separated list e.g. $FILE_PREFIX_LEARN,$FILE_PREF... |
8115ef0a00f674385343efc80f715b54397c34af023c0a123c478df2c927cb7a | Shell | 8,365 | 199 | #!/bin/bash
set -ex
export OS=$(uname)
if [ "${OS}" = "Linux" ]; then
export DS_ROOT_TASK=${CI_TASK_DIR}
BAZEL_URL=https://github.com/bazelbuild/bazel/releases/download/3.1.0/bazel-3.1.0-installer-linux-x86_64.sh
BAZEL_SHA256=7ba815cbac712d061fe728fef958651512ff394b2708e89f79586ec93d1185ed
CUDA_URL=... |
4b30dbad5fc96ef9e46742447cd5b7bcc3b73ee398df31e6f6ec20bb2ec450a9 | Shell | 8,434 | 221 | #!/bin/bash
#
# This script slices the connectomes using LUT
#
#
#
# This workflow makes use of MRtrix3
#
# Atlas an templates are avaliable from:
#
# https://github.com/MICA-MNI/micaopen/templates
#
# ARGUMENTS order:
# $1 : BIDS directory
# $2 : participant
# $3 : Out parcDirectory
#
#---------------- FUNCTIO... |
731ec7454b75f130e651a6336cb016b5253cf03123ed6b1179a7a16b3a29bb02 | Shell | 8,473 | 258 | #!/bin/bash
# command-line arguments:
# 1: run type (1,2, ...)
# parse command-line arguments
RUN_TYPE=$1
RUN_ID="run-001"
# output directory
OUT_DIR="$HOME/projects/dynamic-engrams/simulations/sim_rc_p11/$RUN_ID"
# source directory
SOURCE="src"
DIR=$OUT_DIR/$SOURCE
. $DIR/globalvars.sh
# enter run configuration... |
b88b62b6c79c54c48684c1aa94c5359506d74812a09c0bf6c5847f7dfd9b45ff | Shell | 8,502 | 192 | #!/bin/sh
model="$1"
target="$2"
echo $model
echo $target
randnetw="False"
overwrite=0
resultdir='/mindhive/mcdermott/u/gretatu/auditory_brain_dnn/results/'
if [ "$model" = "Kell2018" ]; then
models="Kell2018word Kell2018speaker Kell2018music Kell2018audioset"
layers="input_after_preproc relu0 maxpool0 relu1 maxpoo... |
c2e768cecbd30fce6be8d2f1fe35a024fb91e5620b8fdcb6e8a2ffc3f2bd08ea | Shell | 8,559 | 238 | #!/bin/bash
unset MOSDEPTH_Q0
unset MOSDEPTH_Q1
unset MOSDEPTH_Q2
unset MOSDEPTH_PRECISION
test -e ssshtest || wget -q https://raw.githubusercontent.com/ryanlayer/ssshtest/master/ssshtest
. ssshtest
set -o nounset
set -e
nim c -a --boundChecks:on -x:on -d:useSysAssert -d:useGcAssert --lineDir:on --debuginfo --mm:r... |
4ca44542247d164f64f6542b3d4a68fba5f0d5a60fb7d094eabcc6701d92ab4c | Shell | 9,162 | 269 | #!/bin/bash
# Written by C. Vriend - AmsUMC Jan 2023
# Modified: set -euo pipefail, source config, input validation,
# safer loops, output existence checks, cleaner temp handling
set -euo pipefail
Usage() {
cat <<EOF
(C) C.Vriend - AmsUMC - 005-DTITK_TBSS.sh
Merges subject-specific diffusion maps into al... |
14727b8b018fb9974f533674f6bf5903ca8df33b640a6df5b332f3b23e4565ae | Shell | 9,180 | 298 | #!/usr/bin/env bash
#
# shunit2 test cases for wrapper script code
#
# called only once
oneTimeSetUp() {
# strict_mode
# Exit on error. Append || true if you expect an error.
set -o errexit
# Exit on error inside any functions or subshells.
set -o errtrace
# Do not allow use of undefined vars. Use ${VAR:-... |
998df7781d4e54a5b59dd197e57a47b4aade066521ebf34ed69f35599583b9fc | Shell | 9,190 | 289 | #!/bin/bash
set -eo pipefail
if [[ $# -lt 1 ]]; then
echo "Automated shell script to create Caper server instance with PostgreSQL on AWS."
echo
echo "Usage: ./create_instance.sh [INSTANCE_NAME] [AWS_REGION] [PUBLIC_SUBNET_ID] "
echo " [AWS_BATCH_ARN] [KEY_PAIR_NAME] [AWS_OUT_DIR]"
... |
1b5e369f02ce4553bc11327144cb1f81f0b0e48131ec0465899f5849bd615510 | Shell | 9,199 | 213 | #!/bin/bash
set -ex
export OS=$(uname)
if [ "${OS}" = "Linux" ]; then
export DS_ROOT_TASK=$(/usr/bin/realpath "${HOME}")
BAZEL_URL=https://github.com/bazelbuild/bazel/releases/download/3.1.0/bazel-3.1.0-installer-linux-x86_64.sh
BAZEL_SHA256=7ba815cbac712d061fe728fef958651512ff394b2708e89f79586ec93d1185e... |
11bd8f154ed01453a63bebcf0578401a14500827f0628d5cb1cfd73564e6dae2 | Shell | 9,328 | 136 | #!/bin/bash
#SBATCH --job-name=gtex_subset # Job name
#SBATCH --mail-user=avannan@asu.edu # Send-to address
#SBATCH -n 1 # Number of tasks per node (N)
#SBATCH -o slurm.%j.out # STDOUT (%j = JobId)
#SBATCH -e slurm.%j.err # STDERR (%j = JobId)
#SBATCH ... |
27696e2ad001fd81bf0a33b813fd661edbee5abf5f9d46ca282b29340393d23f | Shell | 9,380 | 215 | #!/bin/bash
#
# DWI structural processing with bash:
#
# Preprocessing workflow for diffusion MRI.
#
# This workflow makes use of freesurfer, FSL workbench and MRtrix3
#
# Atlas an templates are avaliable from:
#
# https://github.com/MICA-MNI/micaopen/templates
#
# ARGUMENTS order:
# $1 : BIDS directory
# $2 : pa... |
a7ae07c02edf91d720346630e242764526ef78c427e8f032e29fe0cda1ab8047 | Shell | 9,549 | 306 | #!/bin/bash
##########################
# Multi-Brain-Seperation #
# Author: Da MA #
# da_ma@sfu.ca #
# d.ma.11@ucl.ac.uk #
##########################
source MASHelperFunctions.sh > /dev/null 2>&1
function getOrientation(){
#gets orientation string using mri_info
if [ "$#" -lt "1" ]; the... |
32b7a6fe57adff5e1dc3cb7c6aae7bae772f9bc2c5ba157253b88400b4714eb2 | Shell | 9,559 | 310 | #!/bin/bash
cd $(dirname $0)
root_path="$(pwd)"
conda activate helixfold
python_bin="/opt/conda/envs/helixfold/bin/python"
# python_bin="python3"
# export NCCL_DEBUG=INFO
# export LD_LIBRARY_PATH=/usr/local/cuda/compat:$LD_LIBRARY_PATH
export PYTHONPATH=$root_path:$PYTHONPATH
# export PADDLE_NODE_NUM=$PADDLE_TRAINE... |
6af91b412d3042a77569238f5d2f9c81ae9d0856518c3f5d0a1d0eb04b41e448 | Shell | 9,572 | 347 | #!/bin/bash
set -xe
install_pyenv()
{
if [ -z "${PYENV_ROOT}" ]; then
echo "No PYENV_ROOT set";
exit 1;
fi;
if [ "${OS}" = "${TC_MSYS_VERSION}" ]; then
mkdir -p "${PYENV_ROOT}/versions/"
return;
fi
# Allows updating local cache if required
if [ ! -e "${PYENV_ROOT}/bin/pyenv" ]; then
... |
d94ac75ea57da401bc22b9fcbaea85621812ab7372b237fe7c09fd003720f970 | Shell | 9,642 | 169 | #!/bin/bash
################ OpenMP Setup ####################################################
## (NEPTUNE): by default OMP_NUM_THREADS is set to NCORES (24).
## We usually run up to 6 "Full HCP Pipelines" (Structural,DWI,RS,LGI) at once in parallel,
## but staggered by 300-600 seconds to balance multi-core sectio... |
bbf3cb814e2c612da8f36ddc25ba43515c0715389691aa73cef2609743526930 | Shell | 9,680 | 232 | #!/bin/bash
## assume script is launched from vsearch/man/
## assume any internal link is relative to the md file itself (important)
## usage: bash scripts/generate_online_documentation.sh [CHANNEL]
##
## Render every markdown source of the manual as GitHub-flavoured
## markdown under ../docs/, the folder the GitHub ... |
fb69011ce5ba650b508f431e55ed56296a33599f88036ce3946c916c149914ae | Shell | 9,885 | 263 | #!/usr/bin/env bash
# pi_image_flasher.sh — flash Raspberry Pi OS to an SD card so it's SSH-able as ethoscope.
#
# Writes the minimum needed for a headless first boot:
# - userconf.txt → Bookworm's stock firstboot service creates the user from this
# - ssh → empty marker that enables sshd on first boot
#... |
82e2c474586164f606172100e6f2cdf4802c39ec2aa622f0923783366fc99b07 | Shell | 9,926 | 178 | #!/bin/bash
set -e
usage="$(basename "$0") [-h] [-f <final_annotated.gtf>] [-g <reference_genome.fasta>]
This script will obtain metrics from the annotated StringTie transcripts (final_annotated.gtf) and output them into -transcriptome_metrics- sudirectory.
Arguments:
-h show this help text
-f Name of the S... |
07e3f14dbcafd56e9762946fc335e8a0079082c1ad1fc4d1c692e8e72aae7399 | Shell | 10,084 | 356 | #!/bin/bash
set -xe
do_deepspeech_python_build()
{
cd ${DS_DSDIR}
package_option=$1
unset PYTHON_BIN_PATH
unset PYTHONPATH
export PATH="${PYENV_ROOT}/bin:$PATH"
mkdir -p wheels
SETUP_FLAGS=""
if [ "${package_option}" = "--cuda" ]; then
SETUP_FLAGS="--project_name deepspeech-gpu"
elif [ "${p... |
680cd4b5b9c2c90b38c1326feedb6f3031c6e192ee791e760c04092d8b2bff02 | Shell | 10,105 | 228 | #!/bin/bash
#
# DWI POST structural TRACTOGRAPHY processing with bash:
#
# POST processing workflow for diffusion MRI TRACTOGRAPHY.
#
# This workflow makes use of MRtrix3
#
# Atlas an templates are avaliable from:
#
# https://github.com/MICA-MNI/micaopen/templates
#
# ARGUMENTS order:
# $1 : BIDS directory
# $2 :... |
b766f0cfdcdd83a6dfb0fc4c54e253d017fd8bf833ea4849c0b43cf048e683b5 | Shell | 10,230 | 224 | #!/usr/bin/bash
# Copyright (C) 2022 Giansalvo Gusinu
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, ... |
b26b1488bdf86d54f3b4680839ae68747f9479d409e79295018c123f9cca7a09 | Shell | 10,312 | 325 | #!/bin/bash
# mariadb2sqlite.sh - Convert ethoscope MariaDB database to SQLite format
#
# This script automatically detects the MariaDB database on an ethoscope device,
# reads the metadata to determine the proper output path and filename, and
# converts the database to SQLite format.
#
# Usage: ./mariadb2sqlite.sh [o... |
72022589fa83cd2bd643a67f7d578fd70f7ba5a2b65f990423de860c5cb8857c | Shell | 10,314 | 314 | #!/bin/bash
# ------------ Usage ------------------------------------------------------------------->
# cd /shared/uher/FORBOW/NIHPD_analysis/
# ./_1_scripts/DWI_0_generate_vectors.sh `/bin/ls -d [0,1]??_*`
# ---------------------------------------------------------------------------------------
Usage() {
echo -e "... |
4b50a7fdd5944b532a82191b59f54307331e30f103f9fbd9c0ddf2ec5aa8965f | Shell | 10,381 | 200 | # Structural Parcellation shell script (SGE)
# Author: Ma Da (d.ma.11@ucl.ac.uk)
# Version 0.9_2013.10.21
#!/bin/bash
# echo "Bash version ${BASH_VERSION}..."
# $1: enquiry image
# $2: mask for enquiry image. if no mask just type "no_mask"
# $3: atlas folder "in_vivo" or "ex_vivo"
# $4: if exist, read the file contai... |
84e152fc40ed211b8981bf22716a0b62d3b1d5419e4a3cc1242a7dced5f25f67 | Shell | 10,583 | 291 | #!/bin/bash
#
export FSLOUTPUTTYPE=NIFTI_GZ
dir_functions=`dirname $(realpath $0)`
MICAPIPE=`dirname $(realpath $dir_functions)`
source ${MICAPIPE}/functions/utilities.sh
help() {
echo -e "
COMMAND:
`basename $0`
Perform automatic virtual dissection of a full-brain tractogram.
Provide a pre-comput... |
948eccb996cb8ef4b50401d7d34740e284a70a57a11621d9854d87eddcd8d5b8 | Shell | 10,927 | 267 | #!/bin/bash
#
# T1w Structural processing with bash:
#
# Preprocessing workflow for structural T1w.
#
# This workflow makes use of ANTS, FSL and AFNI
#
# Atlas an templates are avaliable from:
#
# https://github.com/MICA-MNI/micaopen/templates
#
# ARGUMENTS order:
# $1 : BIDS directory
# $2 : participant
# $3 :... |
80d57e41e2027015da1a7531967f83d78de4c1bcfb05341c3b5e71bb0afba4f0 | Shell | 10,945 | 389 | #!/bin/bash
#===============================================================================
# Ethoscope Fresh Installation Script
#===============================================================================
#
# Purpose: Perform fresh installation of ethoscope system
# Removes any existing installations a... |
0eb8b15d3b1677f7feef61a43e614c85551093e45d8b79b4df379e534e66f55d | Shell | 10,957 | 251 | #!/bin/bash
################################################################################
###################### RepECN V9_D1acb3 noACBnorm befln nolr 2e-4 bicubic 0 0 ######################
################################################################################
# ./scripts/train_repecn.sh [mode... |
aafdcb050645d71a4a83dd4fe9542e01b7901c8b122e96f4e957f4ac5e7919cd | Shell | 11,016 | 23 | #!/bin/bash
# command-line arguments:
# 1: trial id
# 2: run type (1,2,...)
# 3: run id (e.g., run-001)
TRIAL_ID=$1
RUN_TYPE=$2
RUN_ID=$3
# output directory
OUT_DIR="$HOME/projects/dynamic-engrams/simulations/sim_rc_p11/$RUN_ID"
# source directory
SOURCE="src"
DIR=$OUT_DIR/$SOURCE
. $DIR/globalvars.sh
FULL_OUT_DI... |
0a0bd093851d9c8f01ff47c8ce44567da1d1d52e7a8929e79b5334361922c881 | Shell | 11,082 | 104 | #!/bin/bash
#########################################
# This script is used for test the runtime of single Demo --dir_demo ../../dataset/historical/LR image
# run this script use command following (if just have one size, just input anything):
# ./test_runtime.sh [model_name] [size] [scale] [patch] [times] "[addition o... |
2c559a13e6a84183c43769d8a08678ec930106cd3df975152f38ee88c81d337f | Shell | 11,270 | 111 | #!/bin/bash
#########################################
# This script is used for test the runtime of single 720P image
# run this script use command following (if just have one size, just input anything):
# ./test_runtime.sh [model_name] [size] [scale] [patch] [times] "[addition options]"
# #### specially for RepECN mo... |
703fbe439b0611605bc76d299552df5c1760e169befc8c4e640736c452b30752 | Shell | 11,437 | 359 | #!/bin/bash
set -eo pipefail
if [[ $# -lt 1 ]]; then
echo "Automated shell script to create Caper server instance with PostgreSQL on Google Cloud."
echo
echo "Usage: ./create_instance.sh [INSTANCE_NAME] [GCP_PRJ]"
echo " [GCP_SERVICE_ACCOUNT_SECRET_JSON_FILE] [GCP_OUT_DIR]"
echo " ... |
6862e5246575666d84945d7e3c26d0b6cf69f2710746b246f72d9a208af7d63b | Shell | 11,886 | 331 | #!/bin/sh
# Convert ANSI (terminal) colours and attributes to HTML
# Author:
# http://www.pixelbeat.org/docs/terminal_colours/
# Examples:
# ls -l --color=always | ansi2html.sh > ls.html
# git show --color | ansi2html.sh > last_change.html
# Generally one can use the `script` util to capture full terminal... |
5a206abe164dc2c8e9dd2476b84cb62ede1b61591c49b7f58b5beec70e218d96 | Shell | 12,186 | 56 | #!/bin/bash
# command-line arguments:
# 1: trial id
# 2: run type (1,2,...)
# 3: run id (e.g., run-001)
#--recfile_stim_thl $RECFILE_STIM_THL --xi_stim_thl $XI_STIM_THL
#--recfile_stim_ctx $RECFILE_STIM_CTX --xi_stim_ctx $XI_STIM_CTX
#--recfile_stim_hpc $RECFILE_STIM_HPC --xi_stim_hpc $XI_STIM_HPC
#--recfile_thl_ct... |
b18e1668e1b250e8756a5f4af777d6d44ab42ed5ecda2bce4818fb75cecb38f2 | Shell | 12,937 | 314 | #!/usr/bin/env bash
# number of gpus per node
ngpus=4
# whether gpu jobs are split per node so that only single gpu jobs are packed.
# leave undefined for old behavior that uses CUDA_VISIBLE_DEVICES to control gpu job assignment.
# xxx - currently this only applies to xcorrs for the fine alignment, not for the 2D ali... |
ae92e539d9494df11f5595b532cd60f46744cc3d36450a4c621d5cc0afcbb883 | Shell | 14,077 | 354 | #!/bin/bash
# Written by C. Vriend - AmsUMC Jan 2023
# Modified: set -euo pipefail, source config, removed sleep,
# safer loops, input validation, output existence checks,
# fixed garbled rm line, scriptdir from env with fallback
#SBATCH --job-name=dtitk-dtifit
#SBATCH --mem=6G
#SBATCH --partition=luna-cpu-short
#SBAT... |
6cf0a3dd18161e8ec70aacdbd1e62a3ac211a575f63ee74b312690b596da0b05 | Shell | 14,351 | 342 | #!/bin/bash
################################################################################
###################### running command ######################
################################################################################
# ./scripts/train_alan.sh [mode] [cuda_device] [accummulation_step] [mod... |
b92c2bb3733f215499f966363f82d5af965979d7a464413ea1f48fdc259f2426 | Shell | 14,914 | 352 | #!/bin/bash
# Written by C. Vriend - AmsUMC Jan 2023
# c.vriend@amsterdamumc.nl
# Modified for efficiency: dependency chains, generic subject glob,
# configurable simul, fixed log naming, set -euo pipefail,
# scriptdir exported so all sbatch jobs can find config.sh,
# --kill-on-invalid-dep=yes so downstream jobs are c... |
3f8fecff764592c8bb9beb6088adca28d89c978cc3a5077a70f4fe356b694a0a | Shell | 15,228 | 432 | #!/bin/bash
#
# MICA BIDS structural processing
#
# Utilities: environment variables & subfunctions used by all processing modules
#
# source code from micalab: https://github.com/MICA-MNI/micapipe
#
# edited 2021 Mark C Nelson, McConnell Brain Imaging Centre, MNI, McGill
#----------------------------------------------... |
6eddc9aee45e865b110de0ace9ace26c9ffb4fa3a45bd943fc53a1568d6eb692 | Shell | 15,394 | 322 | #!/bin/bash
Usage() {
echo
echo "Usage: `basename $0` <ssid>"
echo
echo "Example: `basename $0` 008"
echo
exit 1
}
SCRIPT=$(python -c "import os; print os.path.abspath('$0')")
SCRIPTSDIR=$(dirname $SCRIPT)
if [[ -z "${PROJECT_DIR}" ]]; then
source "$SCRIPTSDIR/FSv6_SetupHCPPipeline.sh"
fi
FORCE_OVERWRITE="n... |
aa8659becdd89a3c5e6449a1eb58cf0fe00b51ad14f8bd609700e9f4a2ef4d57 | Shell | 16,018 | 435 | ## Youtao Lu <luyoutao@sas.upenn.edu>
## Copyright (c) 2017-2022, Youtao Lu and Junhyong Kim, Department of Biology, University of Pennsylvania
## Copyright (c) 2017-2022, James Eberwine, Perelman School of Medicine, University of Pennsylvania
## All Rights Reserved.
## This Source Code Form is subject to the terms of... |
e8f40c437c10b5989458c8bf6cb3a77159b4dabeb63f4299e26c445cf0451a9b | Shell | 17,514 | 556 | #!/bin/bash
# recover_mariadb_from_sdcard.sh - Recover MariaDB database from an ethoscope SD card
#
# This script mounts an ethoscope's MariaDB data directory from an SD card into a
# Docker container, exports the database, and converts it to SQLite format.
#
# Usage: ./recover_mariadb_from_sdcard.sh <sdcard_mount_poi... |
639dad0ba176a52cc7c139e0d7b054fdb5d7f85541403dff9690f5fa3174a9de | Shell | 17,903 | 599 | #!/usr/bin/env bash
############################################################
# gp-common.sh
#
# Common bash functions for GenePattern wrapper scripts
# Must be sourced rather than executed.
#
# Requirements:
# * Must work with Bash 3 for Mac OS X compatibility
# Tested with version 3.2.57(1)-release (x86... |
628b7b6ca2d9bdf20a7c9ae99b1cdad162ecd6f25a3e6b276e6be2e6c3516494 | Shell | 18,204 | 382 | #!/usr/bin/bash
# Copyright (C) 2022 Giansalvo Gusinu
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, ... |
5497a26dbed29d424f12f0caba260211379995105b23affe7377d6209c0a4664 | Shell | 18,788 | 206 | #!/bin/bash
#SBATCH --job-name=gtex_subset # Job name
#SBATCH --mail-user=avannan@asu.edu # Send-to address
#SBATCH -n 1 # Number of tasks per node (N)
#SBATCH -o slurm.%j.out # STDOUT (%j = JobId)
#SBATCH -e slurm.%j.err # STDERR (%j = JobId)
#SBATCH ... |
a5514d1e4347883ed1480342db3f8f03fdd33c20e04e0d0a673343454be10a5a | Shell | 19,362 | 523 | #!/bin/bash
#~ND~FORMAT~MARKDOWN~
#~ND~START~
#
# # PreFreeSurferPipelineBatch.sh
#
# ## Copyright Notice
#
# Copyright (C) 2013-2018 The Human Connectome Project
#
# * Washington University in St. Louis
# * University of Minnesota
# * Oxford University
#
# ## Author(s)
#
# * Matthew F. Glasser, Department of Anatomy ... |
07970061a83dad68f06891182370adb08d205792fdf20e8a0bf081e9976542d1 | Shell | 20,051 | 540 | ## Youtao Lu <luyoutao@sas.upenn.edu>
## Copyright (c) 2017-2022, Youtao Lu and Junhyong Kim, Department of Biology, University of Pennsylvania
## Copyright (c) 2017-2022, James Eberwine, Perelman School of Medicine, University of Pennsylvania
## All Rights Reserved.
## This Source Code Form is subject to the terms of... |
db6550220cfadfe0807fce03e1d87ec08b4592d1ed53b83c5afbb0078f8748b9 | Shell | 20,085 | 291 | #!/bin/bash
set -e # turn on exit on error
##################################################################################################################################
########################## ########################################
#############... |
63b0e6f4c356faca616de946d0e20ede1f82ee897a7f8f6f11546876a297b47a | Shell | 21,500 | 602 | #!/bin/bash
set -xe
strip() {
echo "$(echo $1 | sed -e 's/^[[:space:]]+//' -e 's/[[:space:]]+$//')"
}
# This verify exact inference result
assert_correct_inference()
{
phrase=$(strip "$1")
expected=$(strip "$2")
status=$3
if [ "$status" -ne "0" ]; then
case "$(cat ${TASKCLUSTER_TMP_DIR}/stderr)" in
... |
04d7c4175795639dc88040ff8c55d154e10dfb903b412206cb3ad0402a69af62 | Shell | 21,619 | 551 | #!/bin/bash
set -e
{
usage="$(basename "$0") [-h] [-a <stringtie.gtf>] [-r <reference_genome.gtf>] [-g <reference_genome.fasta>] [-c <gawn_config>] [-t <threads>]
This pipeline will Overlap StringTie transcripts (GTF format) with current UCSC annotation and will annotate novel transcripts.
Arguments:
-h show th... |
dd4e3dee4ce09d18ddb2f7d979b54336227d54c477146a5f4a691e097c092e91 | Shell | 22,115 | 557 | #!/bin/bash
set -e
{
usage="$(basename "$0") [-h] [-a <stringtie.gtf>] [-n <NCBI_reference.gtf>] [-r <reference_genome.gtf>] [-g <reference_genome.fasta>] [-c <gawn_config>] [-t <threads>] [-o <output>]
This pipeline will Overlap StringTie transcripts (GTF format) with current NCBI annotation and will annotate novel... |
ebaf9b81f3dd34ca3af76a9a9307e8da49a7763c690235170f99679d1d906367 | Shell | 23,668 | 687 | #!/bin/bash
set -xe
strip() {
# We strip leading carriage return due to ElectronJS on Windows producing stray
# characters before its output intermittently.
# Then we strip leading and trailing whitespace.
echo "$(echo $1 | tr -d $'\r' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')"
}
# This verify exa... |
93524cf2e2eb495f39c37e5ec3bdf02734b7450c4f654eabc5b612bfa9e341fa | Shell | 24,060 | 204 | source $(dirname $(dirname $(which conda)))/etc/profile.d/conda.sh
conda_env=mulled-v1-9e9e3735532d83dd44ff0f622055395263f964e81ca8113d4dfa7e133e3156bf
conda activate $conda_env
# Adjust threshold
# Test 1
ImageJ --ij2 --headless --debug --jython 'tools/image_processing/imagej2/imagej2_adjust_threshold_binary_jython_sc... |
0c67d31883ad9903046815d464a8e3f034528605314a3dc8b2e70bb5038087ac | Shell | 24,623 | 557 | #!/bin/sh
#### What could be done ##################################################################
# - add a preprocessing step in order to intensity normalise all the input images ???
# - Any other ?
##########################################################################################
if [ $# -lt 1 ]
then
... |
8fd2e0ae02c644a1318eb486b8cf195a482ec4d144c6b25e499fd0ca2ef5a9e9 | Shell | 25,126 | 842 | #!/bin/bash
RUN_ID="run-001"
# output directory
OUT_DIR="$HOME/projects/dynamic-engrams/simulations/sim_rc_p11/$RUN_ID"
# source directory
SOURCE="src"
DIR=$OUT_DIR/$SOURCE
# Create directory if it does not exist
mkdir -p $OUT_DIR
# simulation executables
BIN_FULL="sim_rc_p11"
BIN_HM="sim_rc_p11_hm"
# output file... |
c151044b95f264fba93a8b91301617d90f26c1142119bc42ea7ac2a8ded9f0be | Shell | 25,248 | 497 | #!/bin/bash
#
# DWI structural processing with bash:
#
# Preprocessing workflow for diffusion MRI.
#
# This workflow makes use of MRtrix3
#
# Atlas an templates are avaliable from:
#
# https://github.com/MICA-MNI/micaopen/templates
#
# ARGUMENTS order:
# $1 : BIDS directory
# $2 : participant
# $3 : Out parcDir... |
144683d10af4d2c257d775d58f41f8e484fc606e3fca9249123e32083d0c7aac | Shell | 30,622 | 601 | #!/bin/bash
# Resting state preprocessing
# Written by Casey Paquola and Reinder Vos De Wael (Oct 2018).
# and a tiny bit from Sara (Feb 2019)...
# and a whole lot from Sara (August 2019)
# and incorporation to mica-pipe by Raul (August-September 2020)
# and addition of a bunch of fancy flags by Jessica (October-Novemb... |
665a3251d418948879c49c2f209cd1ba680a0298923042c71b989fa47c81a633 | Shell | 31,471 | 945 | #!/bin/bash
#===============================================================================
# Ethoscope Device Installation Script for Debian/Raspbian
#===============================================================================
#
# Purpose: Complete installation and configuration of ethoscope software on
# ... |
7f54860b1336dc045efa46b1993f74aa9fa1a97b8ffd9ba71a6cd52cb8f0e71d | Shell | 32,160 | 33 | #!/bin/bash
# command-line arguments:
# 1: trial id
# 2: run type (1,2,...)
# 3: run id (e.g., run-001)
TRIAL_ID=$1
RUN_TYPE=$2
RUN_ID=$3
# output directory
OUT_DIR="$HOME/projects/dynamic-engrams/simulations/sim_rc_p11/$RUN_ID"
# source directory
SOURCE="src"
DIR=$OUT_DIR/$SOURCE
. $DIR/globalvars.sh
FULL_OUT_DI... |
79eb22002e3670c8377c8dd5b6f9eced8f11f631d7077bd3188974df646916b1 | Shell | 37,736 | 80 | #!/bin/bash
# command-line arguments:
# 1: trial id
# 2: run type (1,2,...)
# 3: run id (e.g., run-001)
#--xi_bg_thl $XI_BG_THL
#--xi_bg_ctx $XI_BG_CTX
#--xi_bg_hpc $XI_BG_HPC
#--xi_bg_thl $XI_BG_THL --xi_bg_ctx $XI_BG_CTX --xi_bg_hpc $XI_BG_HPC
#--xi_ei_bg_thl $XI_EI_BG_THL
#--xi_ei_bg_ctx $XI_EI_BG_CTX
#--xi_ei_b... |
a91ef45693ac9dbd9890b875e8acd65241317200d1e5788801df6248b0644ecd | Shell | 45,573 | 657 | #!/usr/bin/env bash
shopt -s extglob
# for activating other conda envs, typically this does not change for a particular env
conda_dir=${HOME}/miniforge3
# Before jobs can be run:
# Create a new folder for def_common_params.py for this experiment.
# Add an alias that exports the folder to the PYTHONPATH.
echo workfl... |
88da36b27583dcba9de583a9b3c52bccbc9ee3bda19e75ab5ce7aa08b596bebf | Shell | 48,225 | 1,266 | #!/bin/bash
# #####################################################################################
# # Script functions and settings
shopt -s nullglob
# Create our "press_enter function"
function press_enter
{
echo ""
echo -n "Press Enter to continue"
read
clear
}
# Create a simple method for using... |
7c3b964462bee07a7c1116127387d09ea4f2254201d785a817a4a617606db440 | Shell | 51,395 | 1,612 | #!/usr/bin/env bash
#
# shunit2 test cases for wrapper script code
#
# called once before running any test
# 'source gp-common.sh'
oneTimeSetUp() {
readonly __test_script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
readonly __parent_dir="$(cd "${__test_script_dir}/.." && pwd)"
readonly __gp_c... |
75556bcaa9c39fad5f7706f1dfaea2a17d819e54b1e489fb0b3bc4721e8f03fb | Shell | 62,131 | 505 | #!/bin/bash
#SBATCH -J NV_020823_Denoising #job name
#SBATCH --time=05-00:0:00 #requested time
#SBATCH -p patralab #running on "preempt" partition/queue
#SBATCH -N 1 #1 nodes
#SBATCH -n 10 #10 tasks total
#SBATCH -c 1 #using 1 cpu core/task
#SBATCH --gres=gpu:a100:1
##SBATCH --nodelist=p1cmp110
#SBATCH --... |
1752d8bd94a2671d57b009bf192194f413ffc461bef6e3d5b14f457653ba1e5e | Shell | 91,914 | 1,846 | ## Youtao Lu <luyoutao@sas.upenn.edu>
## Copyright (c) 2017-2022, Youtao Lu and Junhyong Kim, Department of Biology, University of Pennsylvania
## Copyright (c) 2017-2022, James Eberwine, Perelman School of Medicine, University of Pennsylvania
## All Rights Reserved.
## This Source Code Form is subject to the terms of... |
9ee9d071c6d05ff12c4146b8bd5699cf6d365756aa6c375846b27ee5b20558b6 | Shell | 95,050 | 2,906 | #!/bin/bash
source $HOME/.bashrc
##########################################################
# Multi-Atlas-Segmentation, parcellation, and label fusion
# To report any bugs/request, please contact: Da Ma (da_ma@sfu.ca,d.ma.11@ucl.ac.uk)
##########################################################
# ---------------------... |
a6fd13bacbada44dd201a98902d2538b1f9e1ad001407437c15d50fa3f782eae | Shell | 96,263 | 88 | #!/bin/bash
# command-line arguments:
# 1: trial id
# 2: run type (1,2,...)
# 3: run id (e.g., run-001)
TRIAL_ID=$1
RUN_TYPE=$2
RUN_ID=$3
# output directory
OUT_DIR="$HOME/projects/dynamic-engrams/simulations/sim_rc_p11/$RUN_ID"
# source directory
SOURCE="src"
DIR=$OUT_DIR/$SOURCE
. $DIR/globalvars.sh
FULL_OUT_DI... |
424038d9a67286284487ac9ba8c01503b9c05c728966b40639d1b8ac7388a56a | Shell | 200,000 | 7,057 | #! /bin/sh
## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
## by inline-source v2014-01-03.01
# libtool (GNU libtool) 2.4.6
# Provide generalized library-building support services.
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996-2015 Free Software Foundati... |
5591d4c2c12dd7764c7d67cf34b4816f82b42face4ea815bb6cd98d9aa5a49b9 | Shell | 200,000 | 6,977 |
# libtool (GNU libtool) 2.4.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; no... |
aef476b9d2542dfee363124c9dfd1bc87711c7b4e09581c9b1ce2199113b198f | Shell | 200,000 | 7,059 | #! /bin/sh
## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
## by inline-source v2014-01-03.01
# libtool (GNU libtool) 2.4.6
# Provide generalized library-building support services.
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996-2015 Free Software Foundati... |
e64d6755312fc4b2d819e389ca10f1df870e0104b2d11e831b3f622457584d58 | Stan | 3,529 | 141 | data {
int<lower=1> N;
int<lower=1> T_max;
int<lower=1, upper=T_max> T_subjs[N];
int<lower=-1, upper=8> option1[N, T_max];
int<lower=-1, upper=8> option2[N, T_max];
int<lower=-1, upper=2> choice[N, T_max];
real outcome[N, T_max];
}
transformed data {
row_vector[3] initV;
initV = rep_row_vector(0.0, 3... |
3908eed78673bf5fa32964e5355eb45d4a3a0c478afab4ee00b61e994b993349 | Stan | 4,295 | 155 | data {
int<lower=1> N;
int<lower=1> T_max;
int<lower=1, upper=T_max> T_subjs[N];
int<lower=-1, upper=8> option1[N, T_max];
int<lower=-1, upper=8> option2[N, T_max];
int<lower=-1, upper=2> choice[N, T_max];
real outcome[N, T_max];
}
transformed data {
row_vector[3] initV;
initV = rep_row_vector(0.0, 3... |
b9d849e1c908c9b515cb20e902c54bc498c5f546a87584142681cb7d82e1a254 | Stan | 5,573 | 193 | data {
int<lower=1> N;
int<lower=1> T_max;
int<lower=1, upper=T_max> T_subjs[N];
int<lower=-1, upper=8> option1[N, T_max];
int<lower=-1, upper=8> option2[N, T_max];
int<lower=-1, upper=2> choice[N, T_max];
real reward[N, T_max];
real punish[N, T_max];
}
transformed data {
row_vector[3] initV;
initV ... |
1cd82f69d728082e4c2876c6fbf437d9940afac23b8aa467f6214ba18b085a14 | Stan | 7,211 | 217 | data {
int<lower=1> N;
int<lower=1> T_max;
int<lower=1, upper=T_max> T_subjs[N];
int<lower=-1, upper=8> option1[N, T_max];
int<lower=-1, upper=8> option2[N, T_max];
int<lower=-1, upper=2> choice[N, T_max];
real reward[N, T_max];
real punish[N, T_max];
}
transformed data {
row_vector[3] initV;
initV ... |
524fde4f2125c9d27a05a51192f1134ee54092493a4fc41f54cb65c0b2caf044 | Text | 8 | 1 | # megnn
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.