Skip to content

Instantly share code, notes, and snippets.

View jo7ueb's full-sized avatar
😇
Always Foolish

Yasunori Endo jo7ueb

😇
Always Foolish
View GitHub Profile
@jo7ueb
jo7ueb / ma.py
Created November 6, 2021 17:05
Moving Averages
import numpy as np
N = 5
LEN = 333
YAMA = 2
x = np.linspace(-np.pi * YAMA, np.pi * YAMA, LEN)
avebuf = np.zeros(N)
cma = 0
@jo7ueb
jo7ueb / calc_gps_gosa.py
Created May 24, 2021 09:03
GPS信号の標準偏差から、m単位の誤差に変換する
import pynmea2
import numpy as np
import math
file = open('static_gps.log')
longitudes = []
latitudes = []
for line in file.readlines():
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jo7ueb
jo7ueb / .gitkeep
Created February 19, 2020 01:42
Dynamic library & inheritance
.
@jo7ueb
jo7ueb / visual_stimulus.py
Created September 2, 2019 22:34
Giving visual stimulus for SSVEP
import sys
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
class SSVEPWindow(QWidget):
def __init__(self):
super().__init__()
self.title = '画面チカチカ君'
self.width = 1200
@jo7ueb
jo7ueb / feature-extraction-csp-cca.ipynb
Created June 25, 2019 04:26
Feature Extraction ~CSP & CCA~
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jo7ueb
jo7ueb / README.md
Last active June 15, 2019 00:42
計算論的神経科学を一緒に学ぼう!!!

計算論的神経科学を学ぶ会

@jo7ueb
jo7ueb / covariance.ipynb
Created June 12, 2019 20:46
covariance推定
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.