This file contains 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
/* Custom CSS to personalize Berlin (dark) theme */ | |
/* Zettlr 2.0.x */ | |
/* Feb 2022 */ | |
/* Monospace font */ | |
body #editor .CodeMirror { | |
font-family: 'Source Code Pro', monospace; | |
margin-left: 0px; | |
} |
This file contains 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
MODE matlab | |
ASPELL >=0.60.1 | |
MAGIC /<noregex>/m | |
DESCRIPTION mode for checking Matlab comments | |
FILTER context | |
OPTION clear-context-delimiters |
This file contains 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
13:59:53 From Raymundo Cassani Gonzalez : Hola a todos y bienvenidos al primer demo / workshop de Brainstorm en español. Comenzamos en unos minutos. | |
14:01:02 From Ismael Gutiérrez Cordero : Buenas tardes Raymundo y todos los demás. Encantado! | |
14:01:15 From John Solorzano Restrepo : Buenas tardes a todos! | |
14:02:06 From Guiomar Niso : Hola! | |
14:04:12 From Sylvain Baillet : Bienvenido a todos! | |
14:04:38 From Jorge J Palacios V : Gracias un gusto estar con Uds. | |
14:04:46 From Guiomar Niso : Que bien ver tanta gente de diferentes partes del mundo! | |
14:04:50 From Guiomar Niso : Hola desde Madrid! | |
14:05:43 From Ana Maria Campos Espinoza : Hola! un saludo desde Londres, pero soy chilena :) | |
14:06:14 From Sylvain Baillet : Nadie es perfecta, jajaja ! |
This file contains 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
09:58:35 From Sylvain Baillet To Everyone: | |
Hi everyone and welcome! We’ll be starting shortly. | |
10:30:13 From Shresth Prasad To Everyone: | |
Can I assume that mne python is a subset of Brainstrom ? | |
10:30:56 From Sezen Asan To Everyone: | |
Will we have access to the powerpoint after the presentation? I am slow to take notes... | |
10:32:03 From Gabriela Cintra Januário To Everyone: | |
Good morning! Are you going to talk also about NIRSTORM? | |
10:32:49 From Kirandeep Kaur To Everyone: | |
I have been using brainstorm to compute functional connectivity in epilepsy subjects. I would like to understand what the threshold values indicate in the connectivity plots, how do we interpret them. Thanks! |
This file contains 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
[Unit] | |
Description= Controls the power of the bluetooth controller when sleep and wake | |
Before=sleep.target | |
StopWhenUnneeded=yes | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
# Uses bluetoothctl to change the power of bluetooth the controller | |
ExecStart=/usr/bin/bash -c "bluetoothctl power off" |
This file contains 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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# This is the code for the simulation and figures described in the post: | |
# "Multiple comparisons problem, visual approach" in | |
# https://www.castoriscausa.com/posts/2020/06/19/multiple-comparisons-visual/ | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import scipy.stats as stats |
This file contains 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
const Desklet = imports.ui.desklet; | |
const St = imports.gi.St; | |
function MyDesklet(metadata, desklet_id) { | |
this._init(metadata, desklet_id); | |
} | |
MyDesklet.prototype = { | |
__proto__: Desklet.Desklet.prototype, |
This file contains 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
function [nElementsNorm, xCenters, heightsNorm, edges] = hist_norm(data, nBins) | |
% | |
% HIST_NORM(DATA, NBINS) computes the Histogram for the vector DATA | |
% using NBINS, and normalize it so the area occupied by the bars with heigth | |
% NELEMENTSNORM with center at XCENTERS sums up to 1. | |
% The resulting histogram (i.e., the barrs) can be plotted with | |
% bar(xCenters, nElementsNorm) | |
% alternatively, the empirical PDF can be plotted with | |
% area(heightsNorm,edges) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 argparse | |
parser = argparse.ArgumentParser() | |
# Positional argument | |
parser.add_argument('echo', help='Response text') | |
# Optional arguments | |
parser.add_argument('--value', type=int, default=0) | |
parser.add_argument('--flag', action='store_true', help='Flag, true if present') | |
args = parser.parse_args() | |
print(args.echo) |