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
"""Gamma Index. | |
Zhou and Slater 2002""" | |
from typing import List | |
import numpy as np | |
import sigma_index as s |
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
# slightly modified from: | |
# @Kta-M リズムに乗ってズンドコキヨシ♪ with Ruby | |
# https://qiita.com/Kta-M/items/c5ea66ddd0e4123a298c | |
def zundoko | |
l = 1 | |
loop do | |
n = rand(32) | |
s = ("%05b" % n).gsub(/0/, 'ズン').gsub(/1/, 'ドコ') | |
r = [0, 1.0, 0, 0.5, 0, 0.5, 0, 0.5, 0.25, 0.25] |
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
\usepackage[noabbrev]{cleveref} | |
\crefformat{chapter}{第#2#1#3章} | |
\crefformat{section}{#2#1#3節} | |
\crefformat{subsection}{#2#1#3節} | |
\crefname{figure}{図}{図} | |
\crefname{table}{表}{表} | |
\crefname{equation}{式}{式} | |
\crefname{appendix}{付録}{付録} | |
\newcommand{\crefrangeconjunction}{--} | |
\newcommand{\crefpairconjunction}{, } |