Bus errorとSegmentation faultに困ったら見るブログ

物理の研究者による日々の研究生活のメモ書きです ( python/emacs/html/Japascript/シェルスクリプト/TeX/Mac/C言語/Linux/git/tmux/R/ポケモンGO)

2025-05-02から1日間の記事一覧

【python3】データがy=0と交差する点を検出する(zero-cross detection)

sin波の位相と振幅を調べる必要があった 振幅はsin波のmaxを調べればいい →np.argmaxを使えばOK位相はzero crossする時刻から割り出せばよいのかな?と思った ひとまず、zero crossするindexを割り出す方法を調べてみた■ 参考 : Efficiently detect sign-cha…

【git】git pullしたときにpull.rebase関連のワーニングが出たとき

git pullしたら以下のワーニングっぽいものが出た hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull: hint: hint: git …