# 在此处输入标题
标签(空格分隔): 未分类
---
在此输入正文
---
title: 你的标题
date: 日期
tags: 你的标签
---
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-0.12.16.min.css" type="text/css" />
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.16.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-0.12.16.min.js"></script>
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.16.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
……
这里是你的一些博客内容
……
<div class="bk-root">
<div class="bk-plotdiv" id="87104b7c-7e15-483a-bd39-bb6ea32e5224"></div>
</div>
<script type="application/json" id="1240dc44-f516-4b03-ba01-3f6252d44f47">
{"5d1109c6-5ed0-494c-9498-934b3ba7a388":{"roots":{"references":[{"attributes":{"formatter":{"id":"c883f97e-faa9-49d9-b570-b3d4b3e45230","type":"BasicTickFormatter"},"plot":{"id":"9a95caa7-49d3-4311-bcc1-3d131de02b45","subtype":"Figure","type":"Plot"},"ticker":{"id":"6ac77ce6-13d5-4e35-8f29-c7b14efa5642","type":"BasicTicker"}},"id":"068e872a-c242-4c0c-891a-d79be2f93016","type":"LinearAxis"},{"attributes":{},"id":"3f349860-9188-4410-8c77-0b535c9b53b9","type":"BasicTicker"},{"attributes":{"formatter":{"id":"95c67642-dfb0-4560-9d49-9ec188a96720","type":"BasicTickFormatter"},"plot":{"id":"9a95caa7-49d3-4311-bcc1-3d131de02b45","subtype":"Figure","type":"Plot"},"ticker":{"id":"3f349860-9188-4410-8c77-0b535c9b53b9","type":"BasicTicker"}},"id":"47f53920-27e9-4910-955b-5919267cd4cf","type":"LinearAxis"},{"attributes":{"plot":{"id":"9a95caa7-49d3-4311-bcc1-3d131de02b45","subtype":"Figure","type":"Plot"},"ticker":{"id":"3f349860-9188-4410-8c77-0b535c9b53b9","type":"BasicTicker"}},"id":"37c89c83-df6e-49b5-9ff0-8661d9dd0fb5","type":"Grid"},{"attributes":{},"id":"eab7aecb-f213-4dd7-bb5f-a73253e8bb43","type":"LinearScale"},{"attributes":{},"id":"a24cefa7-e32a-4a10-8eb6-3b7341ec1164","type":"LinearScale"},{"attributes":{"source":{"id":"7fac1145-21c3-4a53-b3f6-cb8a52e11516","type":"ColumnDataSource"}},"id":"9819148b-ea25-476a-b235-7f92efdff19f","type":"CDSView"},{"attributes":{"callback":{"id":"adc9533a-33e2-4b16-8529-9f0256c2b18d","type":"CustomJS"},"end":10,"start":0.1,"step":0.1,"title":"Amplitude","value":1},"id":"bebd41cd-11f9-4feb-b037-2f82f00eefec","type":"Slider"},{"attributes":{"fill_alpha":0.5,"fill_color":"#1f77b4","line_alpha":0.5,"line_color":"#1f77b4","line_width":2,"x":{"field":"x"},"y":{"field":"y"}},"id":"717d6025-734c-4924-8f1c-76c5d47a72e6","type":"Patch"},{"attributes":{},"id":"34ec9058-6c2f-4d33-a1ff-4f3f781df776","type":"PanTool"},{"attributes":{"args":{"amp":{"id":"bebd41cd-11f9-4feb-b037-2f82f00eefec","type":"Slider"},"freq":{"id":"afad9caf-72b0-4542-967a-284f73045e0b","type":"Slider"},"offset":{"id":"d9e08018-159b-4f9d-85b1-a4e360a7bfb6","type":"Slider"},"phase":{"id":"03b239dc-05fe-4858-add6-31967ff12b95","type":"Slider"},"source":{"id":"ef7cead6-6e7c-41cb-8d58-fc472caa36fd","type":"ColumnDataSource"}},"code":"\n var data = source.data;\n var A = amp.value;\n var k = freq.value;\n var phi = phase.value;\n var B = offset.value;\n x = data['x']\n y = data['y']\n for (i = 0; i < x.length; i++) {\n y[i] = B + A*Math.sin(k*x[i]+phi);\n }\n source.change.emit();\n"},"id":"adc9533a-33e2-4b16-8529-9f0256c2b18d","type":"CustomJS"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"b955eec1-a11d-4eaf-8413-cdb4c6de2c11","type":"BoxAnnotation"},{"attributes":{"callback":{"id":"adc9533a-33e2-4b16-8529-9f0256c2b18d","type":"CustomJS"},"end":10,"start":0.1,"step":0.1,"title":"Frequency","value":1},"id":"afad9caf-72b0-4542-967a-284f73045e0b","type":"Slider"},{"attributes":{"data_source":{"id":"7fac1145-21c3-4a53-b3f6-cb8a52e11516","type":"ColumnDataSource"},"glyph":{"id":"717d6025-734c-4924-8f1c-76c5d47a72e6","type":"Patch"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"c8ec6ee5-96a0-428f-8013-acf7b967f756","type":"Patch"},"selection_glyph":null,"view":{"id":"9819148b-ea25-476a-b235-7f92efdff19f","type":"CDSView"}},"id":"147b0a0b-719b-4999-be75-9341edcf2418","type":"GlyphRenderer"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y"}},"id":"a24c11ed-55a5-4c62-a684-601ee8b7d848","type":"Line"},{"attributes":{"source":{"id":"ef7cead6-6e7c-41cb-8d58-fc472caa36fd","type":"ColumnDataSource"}},"id":"21b82551-15ea-4dc3-a58b-6d6062218de5","type":"CDSView"},{"attributes":{"dimension":1,"plot":{"id":"9a95caa7-49d3-4311-bcc1-3d131de02b45","subtype":"Figure","type":"Plot"},"ticker":{"id":"6ac77ce6-13d5-4e35-8f29-c7b14efa5642","type":"BasicTicker"}},"id":"139b966b-5689-4ad9-a393-17bd3dae563f","type":"Grid"},{"attributes":{},"id":"6ac77ce6-13d5-4e35-8f29-c7b14efa5642","type":"BasicTicker"},{"attributes":{},"id":"4ee831a3-cd37-4a3a-b3c1-ff9cdcad4e3d","type":"WheelZoomTool"},{"attributes":{"overlay":{"id":"b955eec1-a11d-4eaf-8413-cdb4c6de2c11","type":"BoxAnnotation"}},"id":"cc6f163f-894a-4e6e-865c-a1dfb3216b5e","type":"BoxZoomTool"},{"attributes":{},"id":"2176b357-0a50-4624-86c6-840014ec55a9","type":"HelpTool"},{"attributes":{},"id":"4052b407-30af-452b-9ccf-2c7b9965e6cd","type":"ResetTool"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"e34b92cb-ae04-4039-9aaa-47342e1825dc","type":"PanTool"},{"id":"54447fb9-258b-4c0c-8b67-6d681a75318e","type":"WheelZoomTool"},{"id":"63c4cd3f-efda-4246-a8b7-08a42c4b7b7f","type":"BoxZoomTool"},{"id":"368b110a-04a2-45bf-8dad-719bff7d9c15","type":"SaveTool"},{"id":"5aaba57c-544e-4223-8f39-a75cf59eef22","type":"ResetTool"},{"id":"d125cfa2-5a73-4fc7-87ff-30ef493e01e1","type":"HelpTool"}]},"id":"6da2b153-ca6d-4c56-b439-cfbec02dc290","type":"Toolbar"},{"attributes":{},"id":"63c5d39f-d243-4d0b-add9-033468f61e3a","type":"SaveTool"},{"attributes":{},"id":"c883f97e-faa9-49d9-b570-b3d4b3e45230","type":"BasicTickFormatter"},{"attributes":{"callback":{"id":"adc9533a-33e2-4b16-8529-9f0256c2b18d","type":"CustomJS"},"end":6.4,"start":0,"step":0.1,"title":"Phase","value":0},"id":"03b239dc-05fe-4858-add6-31967ff12b95","type":"Slider"},{"attributes":{"children":[{"id":"bebd41cd-11f9-4feb-b037-2f82f00eefec","type":"Slider"},{"id":"afad9caf-72b0-4542-967a-284f73045e0b","type":"Slider"},{"id":"03b239dc-05fe-4858-add6-31967ff12b95","type":"Slider"},{"id":"d9e08018-159b-4f9d-85b1-a4e360a7bfb6","type":"Slider"}]},"id":"1d13f87e-4c74-4256-a8c5-5c07dded35ff","type":"WidgetBox"},{"attributes":{"callback":{"id":"adc9533a-33e2-4b16-8529-9f0256c2b18d","type":"CustomJS"},"end":5,"start":-5,"step":0.1,"title":"Offset","value":0},"id":"d9e08018-159b-4f9d-85b1-a4e360a7bfb6","type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nPuv0BAxz3tR++/l+xdE1HM779P7DcPX//vvxs+DJqU4O+/3+sidkBw778=","dtype":"float64","shape":[100]}},"selected":{"id":"5f5da10a-8ee1-4850-ba36-35f5954b731a","type":"Selection"},"selection_policy":{"id":"0ac77046-6f6c-446a-8864-cc5f2427fad5","type":"UnionRenderers"}},"id":"56903197-0367-45f5-9026-0062ee7b4287","type":"ColumnDataSource"},{"attributes":{"below":[{"id":"54ab3153-2218-49f1-a3bb-b74957f0031b","type":"LinearAxis"}],"left":[{"id":"8b3f3158-1e67-45f0-83b8-a1444d7bda3a","type":"LinearAxis"}],"plot_height":400,"plot_width":400,"renderers":[{"id":"54ab3153-2218-49f1-a3bb-b74957f0031b","type":"LinearAxis"},{"id":"d1a43633-8000-439d-b281-0d7b48dbfdd8","type":"Grid"},{"id":"8b3f3158-1e67-45f0-83b8-a1444d7bda3a","type":"LinearAxis"},{"id":"80661cbe-1fc8-4549-a393-7f060cd63170","type":"Grid"},{"id":"57e01cb6-9a35-4658-9add-9392c5c7efce","type":"BoxAnnotation"},{"id":"e864596f-8a90-4f86-bcb8-24b1d620b0c7","type":"GlyphRenderer"}],"title":{"id":"e5baadf5-5f9e-42d9-acf5-85a49aae2316","type":"Title"},"toolbar":{"id":"fc499b4b-c500-44c4-a1fe-085955e14153","type":"Toolbar"},"x_range":{"id":"a47b4ed8-a642-419d-8662-26e40fb03f4e","type":"DataRange1d"},"x_scale":{"id":"6c8a7348-6f4f-4fe7-ac2d-d78460cb754b","type":"LinearScale"},"y_range":{"id":"0e6be3c7-ba4c-4ae8-b45e-aa8d11c82ae5","type":"Range1d"},"y_scale":{"id":"2e64dd59-48a8-405d-8b89-43ec28141a5c","type":"LinearScale"}},"id":"b81ba0b1-a033-45bd-be8a-ff777cc02c19","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"69ff5279-a3d2-4e91-a39d-4c646940ab6a","type":"UnionRenderers"},{"attributes":{"below":[{"id":"1037f87d-4a8b-4796-9c54-61d7bf572656","type":"LinearAxis"}],"left":[{"id":"1dcff985-4a6a-4b5e-96f9-1860a6f73477","type":"LinearAxis"}],"plot_height":400,"plot_width":400,"renderers":[{"id":"1037f87d-4a8b-4796-9c54-61d7bf572656","type":"LinearAxis"},{"id":"d229f4a6-da33-4724-934f-b20893d83d2c","type":"Grid"},{"id":"1dcff985-4a6a-4b5e-96f9-1860a6f73477","type":"LinearAxis"},{"id":"b2d034d3-6158-4eeb-a572-3d7879b0e9e8","type":"Grid"},{"id":"d53787d3-e575-446c-afac-368c3a58abb3","type":"BoxAnnotation"},{"id":"147b0a0b-719b-4999-be75-9341edcf2418","type":"GlyphRenderer"}],"title":{"id":"4b2d8bf2-8760-4071-9d7b-e6d6e2ea209c","type":"Title"},"toolbar":{"id":"6da2b153-ca6d-4c56-b439-cfbec02dc290","type":"Toolbar"},"x_range":{"id":"c7592d1f-af0d-4a55-ba7e-54c355a38112","type":"DataRange1d"},"x_scale":{"id":"aaea0cef-e494-49bf-9650-5fc48932e53a","type":"LinearScale"},"y_range":{"id":"bbca24bf-62bd-4748-b8e7-4eba2f70bf3e","type":"DataRange1d"},"y_scale":{"id":"00a3a2f1-0347-48d8-94f5-893b0d99cb55","type":"LinearScale"}},"id":"7970fd6e-5c2a-4d25-b834-517b7054a3ae","subtype":"Figure","type":"Plot"},{"attributes":{"callback":{"id":"bd7b7a0f-85fe-4644-9adc-871485c6da50","type":"CustomJS"},"end":10,"start":0.1,"step":0.1,"title":"Frequency","value":1},"id":"b4c89458-5764-436d-832e-8abc1092626e","type":"Slider"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"096b094f-e781-4a6b-b29c-bc69e4a90369","type":"PanTool"},{"id":"ed22fa0b-93cb-43ec-b944-6d3523fbe775","type":"WheelZoomTool"},{"id":"f69f36af-1053-4fcb-8f56-96fcd3def840","type":"BoxZoomTool"},{"id":"8c87b95e-f7a1-46b0-94f5-de69d9b392ae","type":"SaveTool"},{"id":"45b8ad52-55e5-49a9-a116-5fb91b4f8d65","type":"ResetTool"},{"id":"481b4d36-8af1-408d-a21b-b0b266f5d134","type":"HelpTool"}]},"id":"fc499b4b-c500-44c4-a1fe-085955e14153","type":"Toolbar"},{"attributes":{},"id":"75aada0d-638d-4699-b693-5ef0726d972f","type":"Selection"},{"attributes":{"callback":null},"id":"a47b4ed8-a642-419d-8662-26e40fb03f4e","type":"DataRange1d"},{"attributes":{"children":[{"id":"9a95caa7-49d3-4311-bcc1-3d131de02b45","subtype":"Figure","type":"Plot"},{"id":"1d13f87e-4c74-4256-a8c5-5c07dded35ff","type":"WidgetBox"}]},"id":"f8708a5c-7ab1-4178-8bd6-679b88be7943","type":"Row"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y"}},"id":"5d394aba-7c41-402d-9a62-7e254f12ea81","type":"Line"},{"attributes":{"callback":null,"end":10,"start":-10},"id":"0e6be3c7-ba4c-4ae8-b45e-aa8d11c82ae5","type":"Range1d"},{"attributes":{},"id":"6c8a7348-6f4f-4fe7-ac2d-d78460cb754b","type":"LinearScale"},{"attributes":{},"id":"95c67642-dfb0-4560-9d49-9ec188a96720","type":"BasicTickFormatter"},{"attributes":{},"id":"2e64dd59-48a8-405d-8b89-43ec28141a5c","type":"LinearScale"},{"attributes":{"plot":{"id":"b81ba0b1-a033-45bd-be8a-ff777cc02c19","subtype":"Figure","type":"Plot"},"ticker":{"id":"6fb23113-84a0-42aa-a485-903c8791b6dd","type":"BasicTicker"}},"id":"d1a43633-8000-439d-b281-0d7b48dbfdd8","type":"Grid"},{"attributes":{"formatter":{"id":"cdc06c5c-2811-4f13-9c35-5df07c7b2cc4","type":"BasicTickFormatter"},"plot":{"id":"b81ba0b1-a033-45bd-be8a-ff777cc02c19","subtype":"Figure","type":"Plot"},"ticker":{"id":"6fb23113-84a0-42aa-a485-903c8791b6dd","type":"BasicTicker"}},"id":"54ab3153-2218-49f1-a3bb-b74957f0031b","type":"LinearAxis"},{"attributes":{},"id":"6fb23113-84a0-42aa-a485-903c8791b6dd","type":"BasicTicker"},{"attributes":{"formatter":{"id":"76adcf1b-c363-4255-b6ef-114b8b0c3851","type":"BasicTickFormatter"},"plot":{"id":"b81ba0b1-a033-45bd-be8a-ff777cc02c19","subtype":"Figure","type":"Plot"},"ticker":{"id":"63d8dc2a-0b3f-4769-b26e-ebfe69ac171c","type":"BasicTicker"}},"id":"8b3f3158-1e67-45f0-83b8-a1444d7bda3a","type":"LinearAxis"},{"attributes":{},"id":"63d8dc2a-0b3f-4769-b26e-ebfe69ac171c","type":"BasicTicker"},{"attributes":{"dimension":1,"plot":{"id":"b81ba0b1-a033-45bd-be8a-ff777cc02c19","subtype":"Figure","type":"Plot"},"ticker":{"id":"63d8dc2a-0b3f-4769-b26e-ebfe69ac171c","type":"BasicTicker"}},"id":"80661cbe-1fc8-4549-a393-7f060cd63170","type":"Grid"},{"attributes":{"data_source":{"id":"56903197-0367-45f5-9026-0062ee7b4287","type":"ColumnDataSource"},"glyph":{"id":"db494806-2062-4400-882d-9785fd953ab6","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"5d394aba-7c41-402d-9a62-7e254f12ea81","type":"Line"},"selection_glyph":null,"view":{"id":"664e5736-e3dd-49f5-8a5d-1d5b3952c96a","type":"CDSView"}},"id":"e864596f-8a90-4f86-bcb8-24b1d620b0c7","type":"GlyphRenderer"},{"attributes":{"line_alpha":0.6,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y"}},"id":"db494806-2062-4400-882d-9785fd953ab6","type":"Line"},{"attributes":{"args":{"amp":{"id":"ebcf3f6d-31a6-48be-9d96-632e86f96009","type":"Slider"},"freq":{"id":"b4c89458-5764-436d-832e-8abc1092626e","type":"Slider"},"offset":{"id":"b4915188-85d1-449c-b1b2-bc8e732af951","type":"Slider"},"phase":{"id":"1601ff8b-f2a5-49d1-afdc-38247f5001cd","type":"Slider"},"source":{"id":"56903197-0367-45f5-9026-0062ee7b4287","type":"ColumnDataSource"}},"code":"\n var data = source.data;\n var A = amp.value;\n var k = freq.value;\n var phi = phase.value;\n var B = offset.value;\n x = data['x']\n y = data['y']\n for (i = 0; i < x.length; i++) {\n y[i] = B + A*Math.sin(k*x[i]+phi);\n }\n source.change.emit();\n"},"id":"bd7b7a0f-85fe-4644-9adc-871485c6da50","type":"CustomJS"},{"attributes":{},"id":"aaea0cef-e494-49bf-9650-5fc48932e53a","type":"LinearScale"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"57e01cb6-9a35-4658-9add-9392c5c7efce","type":"BoxAnnotation"},{"attributes":{},"id":"00a3a2f1-0347-48d8-94f5-893b0d99cb55","type":"LinearScale"},{"attributes":{},"id":"096b094f-e781-4a6b-b29c-bc69e4a90369","type":"PanTool"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"34ec9058-6c2f-4d33-a1ff-4f3f781df776","type":"PanTool"},{"id":"4ee831a3-cd37-4a3a-b3c1-ff9cdcad4e3d","type":"WheelZoomTool"},{"id":"cc6f163f-894a-4e6e-865c-a1dfb3216b5e","type":"BoxZoomTool"},{"id":"63c5d39f-d243-4d0b-add9-033468f61e3a","type":"SaveTool"},{"id":"4052b407-30af-452b-9ccf-2c7b9965e6cd","type":"ResetTool"},{"id":"2176b357-0a50-4624-86c6-840014ec55a9","type":"HelpTool"}]},"id":"cedb288a-7ea6-4e63-833c-88d06331f1b5","type":"Toolbar"},{"attributes":{},"id":"ed22fa0b-93cb-43ec-b944-6d3523fbe775","type":"WheelZoomTool"},{"attributes":{"overlay":{"id":"57e01cb6-9a35-4658-9add-9392c5c7efce","type":"BoxAnnotation"}},"id":"f69f36af-1053-4fcb-8f56-96fcd3def840","type":"BoxZoomTool"},{"attributes":{},"id":"8c87b95e-f7a1-46b0-94f5-de69d9b392ae","type":"SaveTool"},{"attributes":{"callback":null},"id":"c7592d1f-af0d-4a55-ba7e-54c355a38112","type":"DataRange1d"},{"attributes":{},"id":"45b8ad52-55e5-49a9-a116-5fb91b4f8d65","type":"ResetTool"},{"attributes":{"callback":null},"id":"bbca24bf-62bd-4748-b8e7-4eba2f70bf3e","type":"DataRange1d"},{"attributes":{"fill_alpha":0.1,"fill_color":"#1f77b4","line_alpha":0.1,"line_color":"#1f77b4","line_width":2,"x":{"field":"x"},"y":{"field":"y"}},"id":"c8ec6ee5-96a0-428f-8013-acf7b967f756","type":"Patch"},{"attributes":{},"id":"481b4d36-8af1-408d-a21b-b0b266f5d134","type":"HelpTool"},{"attributes":{"children":[{"id":"b81ba0b1-a033-45bd-be8a-ff777cc02c19","subtype":"Figure","type":"Plot"},{"id":"f50534ac-de51-41e5-adda-b00b2d78212f","type":"WidgetBox"}]},"id":"6a4f27db-3a9e-4587-ac64-07bd751cce79","type":"Row"},{"attributes":{"formatter":{"id":"8fb98788-cd4f-47ea-a598-8fa3f9060fc1","type":"BasicTickFormatter"},"plot":{"id":"7970fd6e-5c2a-4d25-b834-517b7054a3ae","subtype":"Figure","type":"Plot"},"ticker":{"id":"1c314573-3c57-476b-97e9-dfbe2670b12f","type":"BasicTicker"}},"id":"1037f87d-4a8b-4796-9c54-61d7bf572656","type":"LinearAxis"},{"attributes":{"source":{"id":"56903197-0367-45f5-9026-0062ee7b4287","type":"ColumnDataSource"}},"id":"664e5736-e3dd-49f5-8a5d-1d5b3952c96a","type":"CDSView"},{"attributes":{},"id":"1c314573-3c57-476b-97e9-dfbe2670b12f","type":"BasicTicker"},{"attributes":{"callback":{"id":"bd7b7a0f-85fe-4644-9adc-871485c6da50","type":"CustomJS"},"end":10,"start":0.1,"step":0.1,"title":"Amplitude","value":1},"id":"ebcf3f6d-31a6-48be-9d96-632e86f96009","type":"Slider"},{"attributes":{"plot":{"id":"7970fd6e-5c2a-4d25-b834-517b7054a3ae","subtype":"Figure","type":"Plot"},"ticker":{"id":"1c314573-3c57-476b-97e9-dfbe2670b12f","type":"BasicTicker"}},"id":"d229f4a6-da33-4724-934f-b20893d83d2c","type":"Grid"},{"attributes":{"callback":{"id":"bd7b7a0f-85fe-4644-9adc-871485c6da50","type":"CustomJS"},"end":5,"start":-5,"step":0.1,"title":"Offset","value":0},"id":"b4915188-85d1-449c-b1b2-bc8e732af951","type":"Slider"},{"attributes":{"callback":null,"end":10,"start":-10},"id":"6e6617bb-f8a4-4a62-97c1-06ec8fe84f13","type":"Range1d"},{"attributes":{"formatter":{"id":"eb4385f3-a7ff-49a6-bfd2-c0be928be041","type":"BasicTickFormatter"},"plot":{"id":"7970fd6e-5c2a-4d25-b834-517b7054a3ae","subtype":"Figure","type":"Plot"},"ticker":{"id":"52e1f5d6-b668-48e8-a7f1-2216564cf61b","type":"BasicTicker"}},"id":"1dcff985-4a6a-4b5e-96f9-1860a6f73477","type":"LinearAxis"},{"attributes":{},"id":"0ac77046-6f6c-446a-8864-cc5f2427fad5","type":"UnionRenderers"},{"attributes":{"data_source":{"id":"ef7cead6-6e7c-41cb-8d58-fc472caa36fd","type":"ColumnDataSource"},"glyph":{"id":"f6b76306-045a-4698-a456-bab65be2b4b3","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"a24c11ed-55a5-4c62-a684-601ee8b7d848","type":"Line"},"selection_glyph":null,"view":{"id":"21b82551-15ea-4dc3-a58b-6d6062218de5","type":"CDSView"}},"id":"5a425356-ebd7-43ea-9e0d-0171a0d9ad16","type":"GlyphRenderer"},{"attributes":{},"id":"52e1f5d6-b668-48e8-a7f1-2216564cf61b","type":"BasicTicker"},{"attributes":{"children":[{"id":"ebcf3f6d-31a6-48be-9d96-632e86f96009","type":"Slider"},{"id":"b4c89458-5764-436d-832e-8abc1092626e","type":"Slider"},{"id":"1601ff8b-f2a5-49d1-afdc-38247f5001cd","type":"Slider"},{"id":"b4915188-85d1-449c-b1b2-bc8e732af951","type":"Slider"}]},"id":"f50534ac-de51-41e5-adda-b00b2d78212f","type":"WidgetBox"},{"attributes":{"dimension":1,"plot":{"id":"7970fd6e-5c2a-4d25-b834-517b7054a3ae","subtype":"Figure","type":"Plot"},"ticker":{"id":"52e1f5d6-b668-48e8-a7f1-2216564cf61b","type":"BasicTicker"}},"id":"b2d034d3-6158-4eeb-a572-3d7879b0e9e8","type":"Grid"},{"attributes":{"callback":{"id":"bd7b7a0f-85fe-4644-9adc-871485c6da50","type":"CustomJS"},"end":6.4,"start":0,"step":0.1,"title":"Phase","value":0},"id":"1601ff8b-f2a5-49d1-afdc-38247f5001cd","type":"Slider"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"d53787d3-e575-446c-afac-368c3a58abb3","type":"BoxAnnotation"},{"attributes":{"plot":null,"text":""},"id":"4b2d8bf2-8760-4071-9d7b-e6d6e2ea209c","type":"Title"},{"attributes":{"plot":null,"text":""},"id":"e5baadf5-5f9e-42d9-acf5-85a49aae2316","type":"Title"},{"attributes":{},"id":"eb4385f3-a7ff-49a6-bfd2-c0be928be041","type":"BasicTickFormatter"},{"attributes":{},"id":"76adcf1b-c363-4255-b6ef-114b8b0c3851","type":"BasicTickFormatter"},{"attributes":{},"id":"e34b92cb-ae04-4039-9aaa-47342e1825dc","type":"PanTool"},{"attributes":{"line_alpha":0.6,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y"}},"id":"f6b76306-045a-4698-a456-bab65be2b4b3","type":"Line"},{"attributes":{"callback":null,"data":{"x":[1,2,3,4,5],"y":[6,7,8,7,3]},"selected":{"id":"991cf4ff-8fba-4a72-bc21-87ed76df0f36","type":"Selection"},"selection_policy":{"id":"ee3d77e8-cda2-4a2a-b59d-bdc3fbb4a04b","type":"UnionRenderers"}},"id":"7fac1145-21c3-4a53-b3f6-cb8a52e11516","type":"ColumnDataSource"},{"attributes":{},"id":"54447fb9-258b-4c0c-8b67-6d681a75318e","type":"WheelZoomTool"},{"attributes":{"below":[{"id":"47f53920-27e9-4910-955b-5919267cd4cf","type":"LinearAxis"}],"left":[{"id":"068e872a-c242-4c0c-891a-d79be2f93016","type":"LinearAxis"}],"plot_height":400,"plot_width":400,"renderers":[{"id":"47f53920-27e9-4910-955b-5919267cd4cf","type":"LinearAxis"},{"id":"37c89c83-df6e-49b5-9ff0-8661d9dd0fb5","type":"Grid"},{"id":"068e872a-c242-4c0c-891a-d79be2f93016","type":"LinearAxis"},{"id":"139b966b-5689-4ad9-a393-17bd3dae563f","type":"Grid"},{"id":"b955eec1-a11d-4eaf-8413-cdb4c6de2c11","type":"BoxAnnotation"},{"id":"5a425356-ebd7-43ea-9e0d-0171a0d9ad16","type":"GlyphRenderer"}],"title":{"id":"0bc821f3-d0e7-4709-a4ce-7589b3b0e44a","type":"Title"},"toolbar":{"id":"cedb288a-7ea6-4e63-833c-88d06331f1b5","type":"Toolbar"},"x_range":{"id":"b5741ba8-c327-4e34-a55b-26903c1429f4","type":"DataRange1d"},"x_scale":{"id":"a24cefa7-e32a-4a10-8eb6-3b7341ec1164","type":"LinearScale"},"y_range":{"id":"6e6617bb-f8a4-4a62-97c1-06ec8fe84f13","type":"Range1d"},"y_scale":{"id":"eab7aecb-f213-4dd7-bb5f-a73253e8bb43","type":"LinearScale"}},"id":"9a95caa7-49d3-4311-bcc1-3d131de02b45","subtype":"Figure","type":"Plot"},{"attributes":{"overlay":{"id":"d53787d3-e575-446c-afac-368c3a58abb3","type":"BoxAnnotation"}},"id":"63c4cd3f-efda-4246-a8b7-08a42c4b7b7f","type":"BoxZoomTool"},{"attributes":{},"id":"5f5da10a-8ee1-4850-ba36-35f5954b731a","type":"Selection"},{"attributes":{"callback":null},"id":"b5741ba8-c327-4e34-a55b-26903c1429f4","type":"DataRange1d"},{"attributes":{},"id":"368b110a-04a2-45bf-8dad-719bff7d9c15","type":"SaveTool"},{"attributes":{"plot":null,"text":""},"id":"0bc821f3-d0e7-4709-a4ce-7589b3b0e44a","type":"Title"},{"attributes":{},"id":"5aaba57c-544e-4223-8f39-a75cf59eef22","type":"ResetTool"},{"attributes":{},"id":"cdc06c5c-2811-4f13-9c35-5df07c7b2cc4","type":"BasicTickFormatter"},{"attributes":{},"id":"d125cfa2-5a73-4fc7-87ff-30ef493e01e1","type":"HelpTool"},{"attributes":{},"id":"ee3d77e8-cda2-4a2a-b59d-bdc3fbb4a04b","type":"UnionRenderers"},{"attributes":{"callback":null,"data":{"x":{"__ndarray__":"AAAAAAAAFMCamZmZmZkTwDQzMzMzMxPAzszMzMzMEsBoZmZmZmYSwAIAAAAAABLAnJmZmZmZEcA2MzMzMzMRwNDMzMzMzBDAamZmZmZmEMAEAAAAAAAQwDwzMzMzMw/AcGZmZmZmDsCkmZmZmZkNwNjMzMzMzAzADAAAAAAADMBAMzMzMzMLwHRmZmZmZgrAqJmZmZmZCcDczMzMzMwIwBAAAAAAAAjARDMzMzMzB8B4ZmZmZmYGwKyZmZmZmQXA4MzMzMzMBMAUAAAAAAAEwEgzMzMzMwPAfGZmZmZmAsCwmZmZmZkBwOTMzMzMzADAGAAAAAAAAMCYZmZmZmb+vwDNzMzMzPy/aDMzMzMz+7/QmZmZmZn5vzgAAAAAAPi/oGZmZmZm9r8IzczMzMz0v3AzMzMzM/O/2JmZmZmZ8b9AAAAAAADwv1DNzMzMzOy/IJqZmZmZ6b/wZmZmZmbmv8AzMzMzM+O/kAAAAAAA4L/AmpmZmZnZv2A0MzMzM9O/AJyZmZmZyb+AnpmZmZm5vwAAAAAAABS9gJSZmZmZuT8Al5mZmZnJP+AxMzMzM9M/QJiZmZmZ2T+g/v/////fP4AyMzMzM+M/sGVmZmZm5j/gmJmZmZnpPxDMzMzMzOw/QP//////7z84mZmZmZnxP9AyMzMzM/M/aMzMzMzM9D8AZmZmZmb2P5j///////c/MJmZmZmZ+T/IMjMzMzP7P2DMzMzMzPw/+GVmZmZm/j+Q////////P5TMzMzMzABAYJmZmZmZAUAsZmZmZmYCQPgyMzMzMwNAxP//////A0CQzMzMzMwEQFyZmZmZmQVAKGZmZmZmBkD0MjMzMzMHQMD//////wdAjMzMzMzMCEBYmZmZmZkJQCRmZmZmZgpA8DIzMzMzC0C8//////8LQIjMzMzMzAxAVJmZmZmZDUAgZmZmZmYOQOwyMzMzMw9AuP//////D0BCZmZmZmYQQKjMzMzMzBBADjMzMzMzEUB0mZmZmZkRQNr//////xFAQGZmZmZmEkCmzMzMzMwSQAwzMzMzMxNAcpmZmZmZE0A=","dtype":"float64","shape":[100]},"y":{"__ndarray__":"M5ng9YGv7j+k6yJ2QHDvP/89DJqU4O8/U+w3D1//7z+77F0TUczvP4RAxz3tR+8/9ChFMYZz7j8vigE6O1HtP+MS0N/y4+s/y8jielMv6j/EHtzduTfoP+WzHy0uAuY/vcDs/1aU4z9iGy7savTgP0DS8ENBUtw/eWK6fjtz1j/RTP8QyVrQP2QNt8oCMcQ/sTDoOTfjrT9vDJiCD0qlv17Utm04EMK/2i9I1rifzr9A5V0jcnDVv4qmJCQxWtu/eoWgu/x+4L9wys8Nrybjv13Rw/VkneW/6i5YLdHc57/U1qrZM9/pv81y6z9pn+u/HrTR6vYY7b83OBofF0juv9kVvYHCKe+/qZgv17e777/CQuDHgfzvv5NtLJt66++/FuFE382I779rHsX5d9Xuv/FVGqJD0+2/cGMtTMWE7L8zDQmPVO3qv5KoXZgDEem/Kv+/wpT05r8iGkZpbp3kv81BpReNEeK/7QZLdOiu3r96aCvpOuzYv1O7upXN6dK/FtU9I/9tyb8M0IvLro65vwAAAAAAABS9GcaLy66OuT8w0D0j/23JP++4upXN6dI/LGYr6Trs2D+7BEt06K7eP8VApReNEeI/LRlGaW6d5D9M/r/ClPTmP8unXZgDEek/hgwJj1Tt6j/fYi1MxYTsP31VGqJD0+0/FR7F+XfV7j/g4ETfzYjvP3xtLJt66+8/zELgx4H87z/SmC/Xt7vvPyIWvYHCKe8/nzgaHxdI7j+jtNHq9hjtP25z6z9pn+s/kNeq2TPf6T+/L1gt0dznP0nSw/VkneU/ccvPDa8m4z+MhqC7/H7gP8yoJCQxWts/m+ddI3Jw1T+1NEjWuJ/OP1HZtm04EMI/aiCYgg9KpT+5HOg5N+Otv3QIt8oCMcS/Zkr/EMla0L8iYLp+O3PWvwLQ8ENBUty/Uxou7Gr04L/Av+z/VpTjv/yyHy0uAua/8h3c3bk36L8TyOJ6Uy/qv0cS0N/y4+u/r4kBOjtR7b+SKEUxhnPuv0BAxz3tR++/l+xdE1HM779P7DcPX//vvxs+DJqU4O+/3+sidkBw778=","dtype":"float64","shape":[100]}},"selected":{"id":"75aada0d-638d-4699-b693-5ef0726d972f","type":"Selection"},"selection_policy":{"id":"69ff5279-a3d2-4e91-a39d-4c646940ab6a","type":"UnionRenderers"}},"id":"ef7cead6-6e7c-41cb-8d58-fc472caa36fd","type":"ColumnDataSource"},{"attributes":{},"id":"8fb98788-cd4f-47ea-a598-8fa3f9060fc1","type":"BasicTickFormatter"},{"attributes":{},"id":"991cf4ff-8fba-4a72-bc21-87ed76df0f36","type":"Selection"}],"root_ids":["7970fd6e-5c2a-4d25-b834-517b7054a3ae","6a4f27db-3a9e-4587-ac64-07bd751cce79","f8708a5c-7ab1-4178-8bd6-679b88be7943"]},"title":"Bokeh Application","version":"0.12.16"}}
</script>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = document.getElementById('1240dc44-f516-4b03-ba01-3f6252d44f47').textContent;
var render_items = [{"docid":"5d1109c6-5ed0-494c-9498-934b3ba7a388","elementid":"87104b7c-7e15-483a-bd39-bb6ea32e5224","modelid":"f8708a5c-7ab1-4178-8bd6-679b88be7943"}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
var attempts = 0;
var timer = setInterval(function(root) {
if (root.Bokeh !== undefined) {
embed_document(root);
clearInterval(timer);
}
attempts++;
if (attempts > 100) {
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
clearInterval(timer);
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
……
这里是你的一些博客内容
……
网友评论