{"published":"2025-12-26 00:00:00","author_url":"https://blog.hatena.ne.jp/coffee_kabu/","image_url":"https://cdn.image.st-hatena.com/image/square/23ff597bd045490499b097f036afb3ec0665a0d5/backend=imagemagick;height=80;version=1;width=80/https%3A%2F%2Fcdn.user.blog.st-hatena.com%2Fcircle_image%2F88409737%2F1514352962196085","version":"1.0","url":"https://coffee-guhaw.hateblo.jp/entry/2025/12/26/000000","height":"190","type":"rich","provider_name":"Hatena Blog","width":"100%","blog_title":"Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0","categories":["python","\u7d71\u8a08\u30fb\u5206\u5e03"],"blog_url":"https://coffee-guhaw.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoffee-guhaw.hateblo.jp%2Fentry%2F2025%2F12%2F26%2F000000\" title=\"\u3010python3\u3011\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u306e\u81ea\u5df1\u76f8\u95a2\u95a2\u6570\u3092\u6c42\u3081\u308b - Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"coffee_kabu","description":"import statsmodels.api as sm a = sm.tsa.acf(ts, nlags=nnlags\u306f\u66f8\u304b\u306a\u3044\u3068\u3001\u3059\u3054\u304f\u5c11\u306a\u3044\u6570\u3057\u304b\u7d50\u679c\u304c\u51fa\u3066\u3053\u306a\u3044\u306e\u3067\u5fc5\u9808 nlags\u306e\u5024\u306f\u30c7\u30fc\u30bf\u306e\u30b5\u30f3\u30d7\u30eb\u6570\u3067\u7f6e\u304d\u63db\u3048\u3066OK gwpy\u3067\u30d7\u30ed\u30c3\u30c8\u3057\u305f\u3044\u3068\u304d\u306f\u3001\u3053\u3093\u306a\u611f\u3058import statsmodels.api as sm from gwpy.timeseries import TimeSeriesa = sm.tsa.acf(ts, nlags=int(T*fs)) a = TimeSeries(a, sample_rate=fs) a.plot()\u81ea\u5df1\u76f8\u95a2\u95a2\u6570\u306e\u30d7\u30ed\u30c3\u30c8\u306f\u3001\u30b3\u30ec\u30b0\u30e9\u30e0\u3068\u2026","provider_url":"https://hatena.blog","title":"\u3010python3\u3011\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u306e\u81ea\u5df1\u76f8\u95a2\u95a2\u6570\u3092\u6c42\u3081\u308b"}