-
Notifications
You must be signed in to change notification settings - Fork 0
/
plot.html
28 lines (22 loc) · 13.5 KB
/
plot.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>P derivative vs P plot</title>
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-0.11.1.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-0.11.1.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="plotdiv" id="346d44bb-5032-40f4-a277-8aa32964cf84"></div>
<script type="text/javascript">
Bokeh.$(function() {
var docs_json = {"3861392b-d0c0-4ad0-8645-0fef4147fda8":{"roots":{"references":[{"attributes":{"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"}},"id":"c9c48c4b-5b48-4284-b8b1-162b907ea7ac","type":"ResetTool"},{"attributes":{"dimension":1,"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"},"ticker":{"id":"8ea5b3cb-dd93-4576-ad73-efff3098b4a7","type":"BasicTicker"}},"id":"e71fbb80-9ce7-495b-8b7e-149142b04938","type":"Grid"},{"attributes":{"fill_color":{"value":"black"},"size":{"units":"screen","value":5},"x":{"field":"x"},"y":{"field":"y"}},"id":"0194557b-aded-42b2-87a4-2787c34b87ee","type":"Circle"},{"attributes":{},"id":"524bafe3-75a4-4769-bcc6-d5b7533d87ea","type":"ToolEvents"},{"attributes":{"callback":null,"column_names":["RMS","DM","Pulsar","y","x","TOA","y","x"],"data":{"DM":[30.57,9.02,41.49,38.78,52.33,152.96,22.16,20.71,23.92,13.3,15.99,18.86,4.33,3.14,10.39,13.73,18.46,14.32,28.19,62.42,33.77,6.49,18.25,9.03,13.57,24.34,164.13,24.2,71.02,104.5,22.56,26.6,34.48,297.56,49.58,38.06,21.9],"Pulsar":["1853+1303","1012+5307","0931-1902","0613-0200","1600-3053","1747-4036","2010-1323","2043+1711","2017+0603","1855+09","1713+0747","1923+2515","0030+0451","1744-1134","1909-3744","2302+4442","1640+2224","0023+0923","1832-0836","1643-1224","1738+0333","1024-0719","0645+5158","2145-0750","1455-3330","1944+0907","1949+3106","1741+1351","1937+21","1953+29","2214+3000","1918-0642","1614-2230","1903+0327","0340+4130","1910+1256","2317+1439"],"RMS":[1.23,2.7,3.67,1.35,1.01,4.6,2.58,0.6,0.72,5.52,0.19,4.4,4.6,0.72,0.2,5.79,0.65,1.34,1.87,3.05,1.37,1.75,0.57,1.58,4.36,3.2,4.6,0.75,0.91,30.96,1.66,1.82,1.37,3.13,5.14,2.07,0.85],"TOA":[1369,11597,712,7422,7804,2771,7667,1382,1565,4005,15257,920,2455,8665,10259,3037,2503,4373,1131,6921,2623,4830,2891,7029,4983,1696,1409,1588,0,1302,2514,9664,7323,1802,3003,2631,2620],"x":[0.0040918,0.00525575,0.00306184,0.00359793,0.00237988,0.00289622,0.0053621,0.00457014,0.00294711,0.00519232,0.00316332,0.0030502,0.00462164,0.0058501000000000004,0.01605242,0.0079872,0.01313818,0.00374715,0.00613317,0.00311923,0.00764587,0.00315081,0.00214991,0.00498358,0.00344525],"y":[-46.18908064423433,-45.51364246476123,-46.093524354734754,-46.10294252407451,-46.697450320070985,-46.274770414007484,-45.472782168431124,-46.21073276197813,-45.71341698137379,-45.73172202112997,-47.318436985943165,-45.9188244310441,-45.43840448893386,-45.17146119298162,-44.96012089983461,-45.16367480927964,-43.75336477691873,-44.945885582364305,-44.963648453862724,-45.6663510276263,-45.10813453968587,-46.090006193038626,-45.41987172830978,-46.08446268312439,-47.466519159934045]}},"id":"2d9c70f6-41a0-4287-9dfb-203a032488be","type":"ColumnDataSource"},{"attributes":{"axis_label":"Period (s)","formatter":{"id":"b1eb5beb-08fd-4867-9a52-67738b1a053d","type":"BasicTickFormatter"},"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"},"ticker":{"id":"cf5eab3f-e638-403c-9722-939c4103e695","type":"BasicTicker"}},"id":"c4a7a03c-4ddd-4bb4-b939-690d6f525c06","type":"LinearAxis"},{"attributes":{"data_source":{"id":"2d9c70f6-41a0-4287-9dfb-203a032488be","type":"ColumnDataSource"},"glyph":{"id":"e96aefe6-abce-491c-b695-35840ff7af61","type":"Circle"},"hover_glyph":null,"nonselection_glyph":{"id":"ce34725b-7162-4760-8496-f0e3edd7ef48","type":"Circle"},"selection_glyph":null},"id":"e4a6f63d-bcd3-4159-a9cb-bdc1a6c59af5","type":"GlyphRenderer"},{"attributes":{"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"}},"id":"c2497d21-703e-4ebb-b018-8eb8a1db77ff","type":"CrosshairTool"},{"attributes":{"callback":null,"overlay":{"id":"bbbc96bd-eef2-46c0-a260-836195d3b290","type":"BoxAnnotation"},"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"},"renderers":[{"id":"e4a6f63d-bcd3-4159-a9cb-bdc1a6c59af5","type":"GlyphRenderer"},{"id":"4887eb3e-3df1-40da-9aef-3e308b7957bc","type":"GlyphRenderer"}]},"id":"b3b86aa1-cc47-46de-ab58-6c9e436a8d4a","type":"BoxSelectTool"},{"attributes":{"callback":null,"column_names":["RMS","DM","Pulsar","y","x","TOA","y","x"],"data":{"DM":[30.57,9.02,41.49,38.78,52.33,152.96,22.16,20.71,23.92,13.3,15.99,18.86,4.33,3.14,10.39,13.73,18.46,14.32,28.19,62.42,33.77,6.49,18.25,9.03,13.57,24.34,164.13,24.2,71.02,104.5,22.56,26.6,34.48,297.56,49.58,38.06,21.9],"Pulsar":["1853+1303","1012+5307","0931-1902","0613-0200","1600-3053","1747-4036","2010-1323","2043+1711","2017+0603","1855+09","1713+0747","1923+2515","0030+0451","1744-1134","1909-3744","2302+4442","1640+2224","0023+0923","1832-0836","1643-1224","1738+0333","1024-0719","0645+5158","2145-0750","1455-3330","1944+0907","1949+3106","1741+1351","1937+21","1953+29","2214+3000","1918-0642","1614-2230","1903+0327","0340+4130","1910+1256","2317+1439"],"RMS":[1.23,2.7,3.67,1.35,1.01,4.6,2.58,0.6,0.72,5.52,0.19,4.4,4.6,0.72,0.2,5.79,0.65,1.34,1.87,3.05,1.37,1.75,0.57,1.58,4.36,3.2,4.6,0.75,0.91,30.96,1.66,1.82,1.37,3.13,5.14,2.07,0.85],"TOA":[1369,11597,712,7422,7804,2771,7667,1382,1565,4005,15257,920,2455,8665,10259,3037,2503,4373,1131,6921,2623,4830,2891,7029,4983,1696,1409,1588,0,1302,2514,9664,7323,1802,3003,2631,2620],"x":[0.00463803,0.00164561,0.00522327,0.00378816,0.00486545,0.00407455,0.00271911,0.0051622,0.0088535,0.0051852,0.00155781,0.00329934],"y":[-46.95448424173028,-45.77737101979755,-46.780579850396656,-46.09748405253604,-46.03444167754687,-46.16443392320222,-46.18700625191181,-45.43373091417185,-46.76097842237074,-45.50135172295969,-43.69936896615963,-46.3973803442538]}},"id":"5b5d8499-b217-4150-baf0-1cb91c44eaad","type":"ColumnDataSource"},{"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":"bbbc96bd-eef2-46c0-a260-836195d3b290","type":"BoxAnnotation"},{"attributes":{"axis_label":"dot(P)","formatter":{"id":"dd03e890-0c93-4b23-b08b-a95361dcaf1a","type":"BasicTickFormatter"},"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"},"ticker":{"id":"8ea5b3cb-dd93-4576-ad73-efff3098b4a7","type":"BasicTicker"}},"id":"cd04fafe-6bc9-413a-bc44-33e3d6045427","type":"LinearAxis"},{"attributes":{"fill_color":{"value":"red"},"line_color":{"value":"red"},"size":{"units":"screen","value":5},"x":{"field":"x"},"y":{"field":"y"}},"id":"e96aefe6-abce-491c-b695-35840ff7af61","type":"Circle"},{"attributes":{"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"}},"id":"3323d6f0-77f3-4d5f-b79f-fb49524d70e1","type":"WheelZoomTool"},{"attributes":{},"id":"cf5eab3f-e638-403c-9722-939c4103e695","type":"BasicTicker"},{"attributes":{"overlay":{"id":"8363aeb9-46b0-4447-a13b-48860dae1684","type":"BoxAnnotation"},"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"}},"id":"4206d79b-ddcf-4b09-8ab9-7d543f8f0cbf","type":"BoxZoomTool"},{"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":"8363aeb9-46b0-4447-a13b-48860dae1684","type":"BoxAnnotation"},{"attributes":{"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"}},"id":"cb75c258-664f-4c4e-8e18-3d884bd5eee0","type":"PreviewSaveTool"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":5},"x":{"field":"x"},"y":{"field":"y"}},"id":"752915ff-4b12-4970-abd8-924c112c46a0","type":"Circle"},{"attributes":{"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"},"ticker":{"id":"cf5eab3f-e638-403c-9722-939c4103e695","type":"BasicTicker"}},"id":"bace23bb-4827-4d89-95fd-af266d26545c","type":"Grid"},{"attributes":{"callback":null},"id":"c33f1455-d8f2-406c-973e-e64d19277a69","type":"DataRange1d"},{"attributes":{"data_source":{"id":"5b5d8499-b217-4150-baf0-1cb91c44eaad","type":"ColumnDataSource"},"glyph":{"id":"0194557b-aded-42b2-87a4-2787c34b87ee","type":"Circle"},"hover_glyph":null,"nonselection_glyph":{"id":"752915ff-4b12-4970-abd8-924c112c46a0","type":"Circle"},"selection_glyph":null},"id":"4887eb3e-3df1-40da-9aef-3e308b7957bc","type":"GlyphRenderer"},{"attributes":{"legends":[["in BS",[{"id":"e4a6f63d-bcd3-4159-a9cb-bdc1a6c59af5","type":"GlyphRenderer"}]],["not in BS",[{"id":"4887eb3e-3df1-40da-9aef-3e308b7957bc","type":"GlyphRenderer"}]]],"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"}},"id":"a746dfe2-3aa5-4b36-b1cf-ad3b8c1177cd","type":"Legend"},{"attributes":{"callback":null,"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"},"tooltips":"\n <div>\n <div>\n <span style=\"font-size: 10px;\">Index</span>\n <span style=\"font-size: 10px; color: #966;\">[$index]</span>\n </div>\n <div>\n <span style=\"font-size: 10px;\">Pulsar</span>\n <span style=\"font-size: 10px; color: #696;\">@Pulsar</span>\n </div>\n <div>\n <span style=\"font-size: 10px;\">Location</span>\n <span style=\"font-size: 10px; color: #696;\">($x, $y)</span>\n </div>\n <div>\n <span style=\"font-size: 10px;\">Time Of Arrival</span>\n <span style=\"font-size: 10px; color: #696;\">@TOA</span>\n </div>\n <div>\n <span style=\"font-size: 10px;\">Dispersion Measure</span>\n <span style=\"font-size: 10px; color: #696;\">@DM</span>\n </div>\n <div>\n <span style=\"font-size: 10px;\">Root Mean Square</span>\n <span style=\"font-size: 10px; color: #696;\">@RMS</span>\n </div>\n </div>\n "},"id":"dcfc407f-bbc3-4535-9ef2-35ac0b335376","type":"HoverTool"},{"attributes":{"below":[{"id":"c4a7a03c-4ddd-4bb4-b939-690d6f525c06","type":"LinearAxis"}],"left":[{"id":"cd04fafe-6bc9-413a-bc44-33e3d6045427","type":"LinearAxis"}],"renderers":[{"id":"c4a7a03c-4ddd-4bb4-b939-690d6f525c06","type":"LinearAxis"},{"id":"bace23bb-4827-4d89-95fd-af266d26545c","type":"Grid"},{"id":"cd04fafe-6bc9-413a-bc44-33e3d6045427","type":"LinearAxis"},{"id":"e71fbb80-9ce7-495b-8b7e-149142b04938","type":"Grid"},{"id":"8363aeb9-46b0-4447-a13b-48860dae1684","type":"BoxAnnotation"},{"id":"bbbc96bd-eef2-46c0-a260-836195d3b290","type":"BoxAnnotation"},{"id":"a746dfe2-3aa5-4b36-b1cf-ad3b8c1177cd","type":"Legend"},{"id":"e4a6f63d-bcd3-4159-a9cb-bdc1a6c59af5","type":"GlyphRenderer"},{"id":"4887eb3e-3df1-40da-9aef-3e308b7957bc","type":"GlyphRenderer"}],"title":"Period derivative vs Period","tool_events":{"id":"524bafe3-75a4-4769-bcc6-d5b7533d87ea","type":"ToolEvents"},"tools":[{"id":"dcfc407f-bbc3-4535-9ef2-35ac0b335376","type":"HoverTool"},{"id":"4206d79b-ddcf-4b09-8ab9-7d543f8f0cbf","type":"BoxZoomTool"},{"id":"b3b86aa1-cc47-46de-ab58-6c9e436a8d4a","type":"BoxSelectTool"},{"id":"c2497d21-703e-4ebb-b018-8eb8a1db77ff","type":"CrosshairTool"},{"id":"f1714fea-5e13-44ea-a079-bd752990a6db","type":"ResizeTool"},{"id":"c9c48c4b-5b48-4284-b8b1-162b907ea7ac","type":"ResetTool"},{"id":"3323d6f0-77f3-4d5f-b79f-fb49524d70e1","type":"WheelZoomTool"},{"id":"cb75c258-664f-4c4e-8e18-3d884bd5eee0","type":"PreviewSaveTool"}],"x_range":{"id":"1ac1bbc1-6829-4bc9-9331-88616ed88621","type":"DataRange1d"},"y_range":{"id":"c33f1455-d8f2-406c-973e-e64d19277a69","type":"DataRange1d"}},"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":5},"x":{"field":"x"},"y":{"field":"y"}},"id":"ce34725b-7162-4760-8496-f0e3edd7ef48","type":"Circle"},{"attributes":{},"id":"b1eb5beb-08fd-4867-9a52-67738b1a053d","type":"BasicTickFormatter"},{"attributes":{},"id":"dd03e890-0c93-4b23-b08b-a95361dcaf1a","type":"BasicTickFormatter"},{"attributes":{"plot":{"id":"2764bca0-57c2-418e-bc02-4d43b4a9d331","subtype":"Figure","type":"Plot"}},"id":"f1714fea-5e13-44ea-a079-bd752990a6db","type":"ResizeTool"},{"attributes":{"callback":null},"id":"1ac1bbc1-6829-4bc9-9331-88616ed88621","type":"DataRange1d"},{"attributes":{},"id":"8ea5b3cb-dd93-4576-ad73-efff3098b4a7","type":"BasicTicker"}],"root_ids":["2764bca0-57c2-418e-bc02-4d43b4a9d331"]},"title":"Bokeh Application","version":"0.11.1"}};
var render_items = [{"docid":"3861392b-d0c0-4ad0-8645-0fef4147fda8","elementid":"346d44bb-5032-40f4-a277-8aa32964cf84","modelid":"2764bca0-57c2-418e-bc02-4d43b4a9d331"}];
Bokeh.embed.embed_items(docs_json, render_items);
});
</script>
</body>
</html>