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
\cslet{beamer@@tmpop@title page@focus}\relax | |
\setbeamerfont{author}{size=\LARGE, shape=\scshape} | |
\setbeamerfont{institute}{size=\footnotesize, shape=\scshape} | |
\defbeamertemplate*{title page}{focus}{% | |
\vspace{-1.\baselineskip} | |
\begin{minipage}[b][0.275\paperheight]{\textwidth} | |
\vspace{\baselineskip} | |
\usebeamerfont{title} | |
\usebeamercolor[main]{frametitle} |
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
#!/usr/bin/env python3 | |
# see https://alphacephei.com/vosk | |
from vosk import Model, KaldiRecognizer, SetLogLevel | |
import argparse | |
import wave | |
import subprocess | |
import json | |
from pathlib import Path |
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
from scipy.interpolate import interpn | |
from scipy.stats import gaussian_kde | |
from scipy.spatial import cKDTree | |
import seaborn as sb | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.path as mpath | |
from matplotlib.colors import Normalize | |
from matplotlib import cm |
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
""" | |
An example of an attempt to get non-standard ticks in matplotlib plot. | |
Here, we use π/3 as unit length. | |
""" | |
import numpy as np | |
from fractions import Fraction as frac | |
import matplotlib.pyplot as plt | |
from matplotlib.ticker import FuncFormatter, MultipleLocator |