toji 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/example/koji_making.ipynb +15 -15
- data/example/koji_making.rb +1 -1
- data/example/koji_making.yaml +50 -0
- data/example/moromi.ipynb +18 -18
- data/example/moromi.rb +2 -2
- data/example/moromi.yaml +111 -0
- data/example/schedule.ipynb +32 -32
- data/example/schedule.yaml +61 -0
- data/example/schedule_file.ipynb +337 -0
- data/example/shubo.ipynb +12 -12
- data/example/shubo.rb +1 -1
- data/example/shubo.yaml +75 -0
- data/lib/toji.rb +1 -0
- data/lib/toji/brew.rb +0 -4
- data/lib/toji/brew/base.rb +13 -1
- data/lib/toji/brew/graph/progress.rb +12 -1
- data/lib/toji/brew/koji.rb +0 -66
- data/lib/toji/brew/moromi.rb +0 -168
- data/lib/toji/brew/shubo.rb +0 -107
- data/lib/toji/brew/state.rb +2 -2
- data/lib/toji/brew/state_record.rb +9 -19
- data/lib/toji/schedule/calendar.rb +21 -15
- data/lib/toji/version.rb +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3595cc890395f7aa828b7357cfc8c8b21c8cba057a628ccb524744bb9824b7d2
|
4
|
+
data.tar.gz: b6d5632bc16428cc240aec92ab54623a704df1790ab3e38b38cba8811060e88f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4fe0d44fe6a820f9d4efb7b75559f35c7eeef2451211e409c929cf872d706bf8746a8557d78b88fc1cfd1ffd39aaefceeab7dbbf33f5df9cf41d220e4dcc637
|
7
|
+
data.tar.gz: 3ee4541d1db51396a43d2911833baf67c14c69a01dea754a0439c5fe8ed2ee0604d647dbe267b1e6bdff71b2207f965060e5e880ea2e54e5900dd52e7101266d
|
data/README.md
CHANGED
@@ -2,14 +2,11 @@
|
|
2
2
|
|
3
3
|
Management tools for brewing japanese sake.
|
4
4
|
|
5
|
-
-
|
6
|
-
-
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
- Moromi BMD graph.
|
11
|
-
- Moromi A-B graph.
|
12
|
-
|
5
|
+
- 仕込み配合表の生成。
|
6
|
+
- 仕込み日程表の生成。
|
7
|
+
- 蒸米や麹米、醪総容量を状態ごとに推定重量を算出。
|
8
|
+
- 麹や酒母、醪の経過簿をグラフ化、表生成。
|
9
|
+
- 醪のBMD曲線、A-B直線のグラフ化。
|
13
10
|
|
14
11
|
## Installation
|
15
12
|
|
data/example/koji_making.ipynb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"cells": [
|
3
3
|
{
|
4
4
|
"cell_type": "code",
|
5
|
-
"execution_count":
|
5
|
+
"execution_count": 1,
|
6
6
|
"metadata": {},
|
7
7
|
"outputs": [
|
8
8
|
{
|
@@ -14,25 +14,25 @@
|
|
14
14
|
" </script>\n",
|
15
15
|
"\n",
|
16
16
|
"\n",
|
17
|
-
"<div id=\"
|
17
|
+
"<div id=\"8a5d819a-bb2b-469d-b491-19d0a6dfa920\" style=\"height: 100%; width: 100%;\"></div>\n",
|
18
18
|
"\n",
|
19
19
|
"<script>\n",
|
20
20
|
" require(['plotly'], function(Plotly) { \n",
|
21
21
|
"Plotly.newPlot(\n",
|
22
|
-
" '
|
23
|
-
" [{\"x\":[0,
|
24
|
-
" {\"xaxis\":{\"dtick\":86400,\"tickvals\":[0,86400],\"ticktext\":[1,2]},\"annotations\":[]},\n",
|
22
|
+
" '8a5d819a-bb2b-469d-b491-19d0a6dfa920',\n",
|
23
|
+
" [{\"x\":[0,32400.0,36000.0,64800.0,64801.0,108000.0,108001.0,136800.0,136801.0,158400.0,158401.0,172800.0,190800.0],\"y\":[null,35.0,32.0,32.0,31.0,35.0,33.0,37.0,35.0,38.0,37.0,40.0,40.0],\"text\":[null,\"01/01 09:00\",\"01/01 10:00\",\"01/01 18:00\",\"01/01 18:00\",\"01/02 06:00\",\"01/02 06:00\",\"01/02 14:00\",\"01/02 14:00\",\"01/02 20:00\",\"01/02 20:00\",\"01/03 00:00\",\"01/03 05:00\"],\"name\":\"temps\",\"line\":{\"shape\":\"linear\"}},{\"x\":[0,32400.0,36000.0,64800.0,108000.0,136800.0,158400.0,172800.0,190800.0],\"y\":[null,28.0,28.0,28.0,28.0,28.0,28.0,28.0,28.0],\"text\":[null,\"01/01 09:00\",\"01/01 10:00\",\"01/01 18:00\",\"01/02 06:00\",\"01/02 14:00\",\"01/02 20:00\",\"01/03 00:00\",\"01/03 05:00\"],\"name\":\"room_temp\",\"line\":{\"shape\":\"linear\"}},{\"x\":[0,108000.0,136800.0,158400.0,172800.0,190800.0],\"y\":[null,4,4,5,5,5],\"text\":[null,\"01/02 06:00\",\"01/02 14:00\",\"01/02 20:00\",\"01/03 00:00\",\"01/03 05:00\"],\"name\":\"room_psychrometry\",\"line\":{\"shape\":\"linear\"}}],\n",
|
24
|
+
" {\"xaxis\":{\"dtick\":86400,\"tickvals\":[0,86400,172800],\"ticktext\":[1,2,3]},\"annotations\":[{\"x\":32400.0,\"y\":35.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"hikikomi\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":36000.0,\"y\":32.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"tokomomi\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":64800.0,\"y\":32.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"kirikaeshi\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":108000.0,\"y\":35.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"mori\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":136800.0,\"y\":37.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"naka_shigoto\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":158400.0,\"y\":38.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"shimai_shigoto\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":172800.0,\"y\":40.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"tsumikae\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":190800.0,\"y\":40.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"dekoji\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40}]},\n",
|
25
25
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
26
26
|
")\n",
|
27
27
|
"\n",
|
28
28
|
"window.addEventListener('resize', function() {\n",
|
29
|
-
" Plotly.Plots.resize(document.getElementById('
|
29
|
+
" Plotly.Plots.resize(document.getElementById('8a5d819a-bb2b-469d-b491-19d0a6dfa920'))\n",
|
30
30
|
"})\n",
|
31
31
|
" }) \n",
|
32
32
|
"</script>"
|
33
33
|
],
|
34
34
|
"text/plain": [
|
35
|
-
"#<Plotly::Offline::HTML:
|
35
|
+
"#<Plotly::Offline::HTML:0x00007f8d6ec886d0 @id=\"8a5d819a-bb2b-469d-b491-19d0a6dfa920\", @data=[{:x=>[0, 32400.0, 36000.0, 64800.0, 64801.0, 108000.0, 108001.0, 136800.0, 136801.0, 158400.0, 158401.0, 172800.0, 190800.0], :y=>[nil, 35.0, 32.0, 32.0, 31.0, 35.0, 33.0, 37.0, 35.0, 38.0, 37.0, 40.0, 40.0], :text=>[nil, \"01/01 09:00\", \"01/01 10:00\", \"01/01 18:00\", \"01/01 18:00\", \"01/02 06:00\", \"01/02 06:00\", \"01/02 14:00\", \"01/02 14:00\", \"01/02 20:00\", \"01/02 20:00\", \"01/03 00:00\", \"01/03 05:00\"], :name=>:temps, :line=>{:shape=>:linear}}, {:x=>[0, 32400.0, 36000.0, 64800.0, 108000.0, 136800.0, 158400.0, 172800.0, 190800.0], :y=>[nil, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0], :text=>[nil, \"01/01 09:00\", \"01/01 10:00\", \"01/01 18:00\", \"01/02 06:00\", \"01/02 14:00\", \"01/02 20:00\", \"01/03 00:00\", \"01/03 05:00\"], :name=>:room_temp, :line=>{:shape=>:linear}}, {:x=>[0, 108000.0, 136800.0, 158400.0, 172800.0, 190800.0], :y=>[nil, 4, 4, 5, 5, 5], :text=>[nil, \"01/02 06:00\", \"01/02 14:00\", \"01/02 20:00\", \"01/03 00:00\", \"01/03 05:00\"], :name=>:room_psychrometry, :line=>{:shape=>:linear}}], @layout={:xaxis=>{:dtick=>86400, :tickvals=>[0, 86400, 172800], :ticktext=>[1, 2, 3]}, :annotations=>[{:x=>32400.0, :y=>35.0, :xref=>\"x\", :yref=>\"y\", :text=>\"hikikomi\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>36000.0, :y=>32.0, :xref=>\"x\", :yref=>\"y\", :text=>\"tokomomi\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>64800.0, :y=>32.0, :xref=>\"x\", :yref=>\"y\", :text=>\"kirikaeshi\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>108000.0, :y=>35.0, :xref=>\"x\", :yref=>\"y\", :text=>\"mori\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>136800.0, :y=>37.0, :xref=>\"x\", :yref=>\"y\", :text=>\"naka_shigoto\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>158400.0, :y=>38.0, :xref=>\"x\", :yref=>\"y\", :text=>\"shimai_shigoto\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>172800.0, :y=>40.0, :xref=>\"x\", :yref=>\"y\", :text=>\"tsumikae\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>190800.0, :y=>40.0, :xref=>\"x\", :yref=>\"y\", :text=>\"dekoji\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}]}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
36
36
|
]
|
37
37
|
},
|
38
38
|
"metadata": {},
|
@@ -47,25 +47,25 @@
|
|
47
47
|
" </script>\n",
|
48
48
|
"\n",
|
49
49
|
"\n",
|
50
|
-
"<div id=\"
|
50
|
+
"<div id=\"e3dad2ab-d847-4054-9b17-4b7de14c63eb\" style=\"height: 100%; width: 100%;\"></div>\n",
|
51
51
|
"\n",
|
52
52
|
"<script>\n",
|
53
53
|
" require(['plotly'], function(Plotly) { \n",
|
54
54
|
"Plotly.newPlot(\n",
|
55
|
-
" '
|
56
|
-
" [{\"type\":\"table\",\"header\":{\"values\":[\"day_label\",\"display_time\",\"temps\",\"room_temp\",\"room_psychrometry\"]},\"cells\":{\"values\":[[1,1,1,
|
55
|
+
" 'e3dad2ab-d847-4054-9b17-4b7de14c63eb',\n",
|
56
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"day_label\",\"display_time\",\"mark\",\"temps\",\"room_temp\",\"room_psychrometry\"]},\"cells\":{\"values\":[[1,1,1,2,2,2,3,3],[\"01/01 09:00\",\"01/01 10:00\",\"01/01 18:00\",\"01/02 06:00\",\"01/02 14:00\",\"01/02 20:00\",\"01/03 00:00\",\"01/03 05:00\"],[\"hikikomi\",\"tokomomi\",\"kirikaeshi\",\"mori\",\"naka_shigoto\",\"shimai_shigoto\",\"tsumikae\",\"dekoji\"],[\"35.0\",\"32.0\",\"32.0, 31.0\",\"35.0, 33.0\",\"37.0, 35.0\",\"38.0, 37.0\",\"40.0\",\"40.0\"],[28.0,28.0,28.0,28.0,28.0,28.0,28.0,28.0],[\"\",\"\",\"\",4,4,5,5,5]]}}],\n",
|
57
57
|
" {},\n",
|
58
58
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
59
59
|
")\n",
|
60
60
|
"\n",
|
61
61
|
"window.addEventListener('resize', function() {\n",
|
62
|
-
" Plotly.Plots.resize(document.getElementById('
|
62
|
+
" Plotly.Plots.resize(document.getElementById('e3dad2ab-d847-4054-9b17-4b7de14c63eb'))\n",
|
63
63
|
"})\n",
|
64
64
|
" }) \n",
|
65
65
|
"</script>"
|
66
66
|
],
|
67
67
|
"text/plain": [
|
68
|
-
"#<Plotly::Offline::HTML:
|
68
|
+
"#<Plotly::Offline::HTML:0x00007f8d6e104318 @id=\"e3dad2ab-d847-4054-9b17-4b7de14c63eb\", @data=[{:type=>:table, :header=>{:values=>[:day_label, :display_time, :mark, :temps, :room_temp, :room_psychrometry]}, :cells=>{:values=>[[1, 1, 1, 2, 2, 2, 3, 3], [\"01/01 09:00\", \"01/01 10:00\", \"01/01 18:00\", \"01/02 06:00\", \"01/02 14:00\", \"01/02 20:00\", \"01/03 00:00\", \"01/03 05:00\"], [\"hikikomi\", \"tokomomi\", \"kirikaeshi\", \"mori\", \"naka_shigoto\", \"shimai_shigoto\", \"tsumikae\", \"dekoji\"], [\"35.0\", \"32.0\", \"32.0, 31.0\", \"35.0, 33.0\", \"37.0, 35.0\", \"38.0, 37.0\", \"40.0\", \"40.0\"], [28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0, 28.0], [\"\", \"\", \"\", 4, 4, 5, 5, 5]]}}], @layout={}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
69
69
|
]
|
70
70
|
},
|
71
71
|
"metadata": {},
|
@@ -74,10 +74,10 @@
|
|
74
74
|
{
|
75
75
|
"data": {
|
76
76
|
"text/plain": [
|
77
|
-
"#<CZTop::Socket::PUB:
|
77
|
+
"#<CZTop::Socket::PUB:0x7f8d72065390 last_endpoint=\"tcp://127.0.0.1:56761\">"
|
78
78
|
]
|
79
79
|
},
|
80
|
-
"execution_count":
|
80
|
+
"execution_count": 1,
|
81
81
|
"metadata": {},
|
82
82
|
"output_type": "execute_result"
|
83
83
|
}
|
@@ -87,7 +87,7 @@
|
|
87
87
|
"require 'toji'\n",
|
88
88
|
"require 'rbplotly'\n",
|
89
89
|
"\n",
|
90
|
-
"koji = Toji::Brew::Koji.
|
90
|
+
"koji = Toji::Brew::Koji.load_yaml_file(\"koji_making.yaml\")\n",
|
91
91
|
"koji.progress.plot.show\n",
|
92
92
|
"koji.progress.table.show"
|
93
93
|
]
|
data/example/koji_making.rb
CHANGED
@@ -0,0 +1,50 @@
|
|
1
|
+
date_line: 0
|
2
|
+
records:
|
3
|
+
- time: 2020-1-1 9:00
|
4
|
+
mark: hikikomi
|
5
|
+
temps: 35.0
|
6
|
+
room_temp: 28.0
|
7
|
+
room_psychrometry:
|
8
|
+
- elapsed_time: 3600
|
9
|
+
mark: tokomomi
|
10
|
+
temps: 32.0
|
11
|
+
room_temp: 28.0
|
12
|
+
room_psychrometry:
|
13
|
+
- elapsed_time: 32400
|
14
|
+
mark: kirikaeshi
|
15
|
+
temps:
|
16
|
+
- 32.0
|
17
|
+
- 31.0
|
18
|
+
room_temp: 28.0
|
19
|
+
room_psychrometry:
|
20
|
+
- elapsed_time: 75600
|
21
|
+
mark: mori
|
22
|
+
temps:
|
23
|
+
- 35.0
|
24
|
+
- 33.0
|
25
|
+
room_temp: 28.0
|
26
|
+
room_psychrometry: 4
|
27
|
+
- elapsed_time: 104400
|
28
|
+
mark: naka_shigoto
|
29
|
+
temps:
|
30
|
+
- 37.0
|
31
|
+
- 35.0
|
32
|
+
room_temp: 28.0
|
33
|
+
room_psychrometry: 4
|
34
|
+
- elapsed_time: 126000
|
35
|
+
mark: shimai_shigoto
|
36
|
+
temps:
|
37
|
+
- 38.0
|
38
|
+
- 37.0
|
39
|
+
room_temp: 28.0
|
40
|
+
room_psychrometry: 5
|
41
|
+
- elapsed_time: 140400
|
42
|
+
mark: tsumikae
|
43
|
+
temps: 40.0
|
44
|
+
room_temp: 28.0
|
45
|
+
room_psychrometry: 5
|
46
|
+
- elapsed_time: 158400
|
47
|
+
mark: dekoji
|
48
|
+
temps: 40.0
|
49
|
+
room_temp: 28.0
|
50
|
+
room_psychrometry: 5
|
data/example/moromi.ipynb
CHANGED
@@ -16,25 +16,25 @@
|
|
16
16
|
" </script>\n",
|
17
17
|
"\n",
|
18
18
|
"\n",
|
19
|
-
"<div id=\"
|
19
|
+
"<div id=\"dcd0a594-e7f5-4baa-9061-4f1d6019b5f1\" style=\"height: 100%; width: 100%;\"></div>\n",
|
20
20
|
"\n",
|
21
21
|
"<script>\n",
|
22
22
|
" require(['plotly'], function(Plotly) { \n",
|
23
23
|
"Plotly.newPlot(\n",
|
24
|
-
" '
|
24
|
+
" 'dcd0a594-e7f5-4baa-9061-4f1d6019b5f1',\n",
|
25
25
|
" [{\"x\":[0.0,1.0,86400.0,172800.0,259200.0,259201.0,345600.0,345601.0,432000.0,518400.0,604800.0,691200.0,777600.0,864000.0,950400.0,1036800.0,1123200.0,1209600.0,1296000.0,1382400.0,1468800.0,1555200.0,1641600.0,1728000.0,1814400.0,1900800.0,1987200.0,2073600.0],\"y\":[14.8,11.0,14.3,11.3,6.9,10.6,7.5,8.0,9.1,10.4,11.9,12.3,13.1,13.1,12.9,12.8,12.9,12.6,12.0,11.2,10.2,9.7,9.8,9.1,8.4,8.1,8.3,8.1],\"text\":[\"01/16 00:00\",\"01/16 00:00\",\"01/17 00:00\",\"01/18 00:00\",\"01/19 00:00\",\"01/19 00:00\",\"01/20 00:00\",\"01/20 00:00\",\"01/21 00:00\",\"01/22 00:00\",\"01/23 00:00\",\"01/24 00:00\",\"01/25 00:00\",\"01/26 00:00\",\"01/27 00:00\",\"01/28 00:00\",\"01/29 00:00\",\"01/30 00:00\",\"01/31 00:00\",\"02/01 00:00\",\"02/02 00:00\",\"02/03 00:00\",\"02/04 00:00\",\"02/05 00:00\",\"02/06 00:00\",\"02/07 00:00\",\"02/08 00:00\",\"02/09 00:00\"],\"name\":\"temps\",\"line\":{\"shape\":\"linear\"}},{\"x\":[0.0,86400.0,172800.0,259200.0,345600.0,432000.0,518400.0,604800.0,691200.0,777600.0,864000.0,950400.0,1036800.0,1123200.0,1209600.0,1296000.0,1382400.0,1468800.0,1555200.0,1641600.0,1728000.0,1814400.0,1900800.0,1987200.0,2073600.0],\"y\":[9,9,8.5,9,6,7,7,8,8,7.5,7.5,7.5,7.0,8.0,8.0,7.0,7.0,6.5,7.0,8.0,6.0,5.0,5.0,7.0,6.0],\"text\":[\"01/16 00:00\",\"01/17 00:00\",\"01/18 00:00\",\"01/19 00:00\",\"01/20 00:00\",\"01/21 00:00\",\"01/22 00:00\",\"01/23 00:00\",\"01/24 00:00\",\"01/25 00:00\",\"01/26 00:00\",\"01/27 00:00\",\"01/28 00:00\",\"01/29 00:00\",\"01/30 00:00\",\"01/31 00:00\",\"02/01 00:00\",\"02/02 00:00\",\"02/03 00:00\",\"02/04 00:00\",\"02/05 00:00\",\"02/06 00:00\",\"02/07 00:00\",\"02/08 00:00\",\"02/09 00:00\"],\"name\":\"room_temp\",\"line\":{\"shape\":\"linear\"}},{\"x\":[604800.0,691200.0,777600.0,864000.0,950400.0,1036800.0,1123200.0,1209600.0,1296000.0,1382400.0,1468800.0,1641600.0,1728000.0,1814400.0,1900800.0,1987200.0],\"y\":[8.6,8.0,7.2,5.8,4.8,4.0,3.4,2.7,2.1,1.7000000000000002,1.3,0.8,0.5,0.30000000000000004,0.2,-0.0],\"text\":[\"01/23 00:00\",\"01/24 00:00\",\"01/25 00:00\",\"01/26 00:00\",\"01/27 00:00\",\"01/28 00:00\",\"01/29 00:00\",\"01/30 00:00\",\"01/31 00:00\",\"02/01 00:00\",\"02/02 00:00\",\"02/04 00:00\",\"02/05 00:00\",\"02/06 00:00\",\"02/07 00:00\",\"02/08 00:00\"],\"name\":\"baume\",\"line\":{\"shape\":\"linear\"}},{\"x\":[691200.0,777600.0,864000.0,1036800.0,1123200.0,1209600.0,1296000.0,1641600.0,1814400.0],\"y\":[4.8,6.75,7.992,10.7,11.6,12.7,13.7,16.0,16.3],\"text\":[\"01/24 00:00\",\"01/25 00:00\",\"01/26 00:00\",\"01/28 00:00\",\"01/29 00:00\",\"01/30 00:00\",\"01/31 00:00\",\"02/04 00:00\",\"02/06 00:00\"],\"name\":\"alcohol\",\"line\":{\"shape\":\"linear\"}},{\"x\":[604800.0,691200.0,777600.0,864000.0,950400.0,1036800.0,1123200.0,1209600.0,1296000.0,1382400.0,1468800.0,1641600.0,1728000.0,1814400.0,1900800.0,1987200.0],\"y\":[34.4,40.0,43.2,40.6,38.4,36.0,34.0,29.700000000000003,25.200000000000003,22.1,18.2,12.8,8.5,5.4,3.8000000000000003,-0.0],\"text\":[\"01/23 00:00\",\"01/24 00:00\",\"01/25 00:00\",\"01/26 00:00\",\"01/27 00:00\",\"01/28 00:00\",\"01/29 00:00\",\"01/30 00:00\",\"01/31 00:00\",\"02/01 00:00\",\"02/02 00:00\",\"02/04 00:00\",\"02/05 00:00\",\"02/06 00:00\",\"02/07 00:00\",\"02/08 00:00\"],\"name\":\"bmd\",\"line\":{\"shape\":\"linear\"}}],\n",
|
26
26
|
" {\"xaxis\":{\"dtick\":86400,\"tickvals\":[0,86400,172800,259200,345600,432000,518400,604800,691200,777600,864000,950400,1036800,1123200,1209600,1296000,1382400,1468800,1555200,1641600,1728000,1814400,1900800,1987200,2073600],\"ticktext\":[\"soe\",\"odori\",\"odori\",\"naka\",\"tome\",2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]},\"annotations\":[]},\n",
|
27
27
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
28
28
|
")\n",
|
29
29
|
"\n",
|
30
30
|
"window.addEventListener('resize', function() {\n",
|
31
|
-
" Plotly.Plots.resize(document.getElementById('
|
31
|
+
" Plotly.Plots.resize(document.getElementById('dcd0a594-e7f5-4baa-9061-4f1d6019b5f1'))\n",
|
32
32
|
"})\n",
|
33
33
|
" }) \n",
|
34
34
|
"</script>"
|
35
35
|
],
|
36
36
|
"text/plain": [
|
37
|
-
"#<Plotly::Offline::HTML:
|
37
|
+
"#<Plotly::Offline::HTML:0x00007fe93c0cd7f8 @id=\"dcd0a594-e7f5-4baa-9061-4f1d6019b5f1\", @data=[{:x=>[0.0, 1.0, 86400.0, 172800.0, 259200.0, 259201.0, 345600.0, 345601.0, 432000.0, 518400.0, 604800.0, 691200.0, 777600.0, 864000.0, 950400.0, 1036800.0, 1123200.0, 1209600.0, 1296000.0, 1382400.0, 1468800.0, 1555200.0, 1641600.0, 1728000.0, 1814400.0, 1900800.0, 1987200.0, 2073600.0], :y=>[14.8, 11.0, 14.3, 11.3, 6.9, 10.6, 7.5, 8.0, 9.1, 10.4, 11.9, 12.3, 13.1, 13.1, 12.9, 12.8, 12.9, 12.6, 12.0, 11.2, 10.2, 9.7, 9.8, 9.1, 8.4, 8.1, 8.3, 8.1], :text=>[\"01/16 00:00\", \"01/16 00:00\", \"01/17 00:00\", \"01/18 00:00\", \"01/19 00:00\", \"01/19 00:00\", \"01/20 00:00\", \"01/20 00:00\", \"01/21 00:00\", \"01/22 00:00\", \"01/23 00:00\", \"01/24 00:00\", \"01/25 00:00\", \"01/26 00:00\", \"01/27 00:00\", \"01/28 00:00\", \"01/29 00:00\", \"01/30 00:00\", \"01/31 00:00\", \"02/01 00:00\", \"02/02 00:00\", \"02/03 00:00\", \"02/04 00:00\", \"02/05 00:00\", \"02/06 00:00\", \"02/07 00:00\", \"02/08 00:00\", \"02/09 00:00\"], :name=>:temps, :line=>{:shape=>:linear}}, {:x=>[0.0, 86400.0, 172800.0, 259200.0, 345600.0, 432000.0, 518400.0, 604800.0, 691200.0, 777600.0, 864000.0, 950400.0, 1036800.0, 1123200.0, 1209600.0, 1296000.0, 1382400.0, 1468800.0, 1555200.0, 1641600.0, 1728000.0, 1814400.0, 1900800.0, 1987200.0, 2073600.0], :y=>[9, 9, 8.5, 9, 6, 7, 7, 8, 8, 7.5, 7.5, 7.5, 7.0, 8.0, 8.0, 7.0, 7.0, 6.5, 7.0, 8.0, 6.0, 5.0, 5.0, 7.0, 6.0], :text=>[\"01/16 00:00\", \"01/17 00:00\", \"01/18 00:00\", \"01/19 00:00\", \"01/20 00:00\", \"01/21 00:00\", \"01/22 00:00\", \"01/23 00:00\", \"01/24 00:00\", \"01/25 00:00\", \"01/26 00:00\", \"01/27 00:00\", \"01/28 00:00\", \"01/29 00:00\", \"01/30 00:00\", \"01/31 00:00\", \"02/01 00:00\", \"02/02 00:00\", \"02/03 00:00\", \"02/04 00:00\", \"02/05 00:00\", \"02/06 00:00\", \"02/07 00:00\", \"02/08 00:00\", \"02/09 00:00\"], :name=>:room_temp, :line=>{:shape=>:linear}}, {:x=>[604800.0, 691200.0, 777600.0, 864000.0, 950400.0, 1036800.0, 1123200.0, 1209600.0, 1296000.0, 1382400.0, 1468800.0, 1641600.0, 1728000.0, 1814400.0, 1900800.0, 1987200.0], :y=>[8.6, 8.0, 7.2, 5.8, 4.8, 4.0, 3.4, 2.7, 2.1, 1.7000000000000002, 1.3, 0.8, 0.5, 0.30000000000000004, 0.2, -0.0], :text=>[\"01/23 00:00\", \"01/24 00:00\", \"01/25 00:00\", \"01/26 00:00\", \"01/27 00:00\", \"01/28 00:00\", \"01/29 00:00\", \"01/30 00:00\", \"01/31 00:00\", \"02/01 00:00\", \"02/02 00:00\", \"02/04 00:00\", \"02/05 00:00\", \"02/06 00:00\", \"02/07 00:00\", \"02/08 00:00\"], :name=>:baume, :line=>{:shape=>:linear}}, {:x=>[691200.0, 777600.0, 864000.0, 1036800.0, 1123200.0, 1209600.0, 1296000.0, 1641600.0, 1814400.0], :y=>[4.8, 6.75, 7.992, 10.7, 11.6, 12.7, 13.7, 16.0, 16.3], :text=>[\"01/24 00:00\", \"01/25 00:00\", \"01/26 00:00\", \"01/28 00:00\", \"01/29 00:00\", \"01/30 00:00\", \"01/31 00:00\", \"02/04 00:00\", \"02/06 00:00\"], :name=>:alcohol, :line=>{:shape=>:linear}}, {:x=>[604800.0, 691200.0, 777600.0, 864000.0, 950400.0, 1036800.0, 1123200.0, 1209600.0, 1296000.0, 1382400.0, 1468800.0, 1641600.0, 1728000.0, 1814400.0, 1900800.0, 1987200.0], :y=>[34.4, 40.0, 43.2, 40.6, 38.4, 36.0, 34.0, 29.700000000000003, 25.200000000000003, 22.1, 18.2, 12.8, 8.5, 5.4, 3.8000000000000003, -0.0], :text=>[\"01/23 00:00\", \"01/24 00:00\", \"01/25 00:00\", \"01/26 00:00\", \"01/27 00:00\", \"01/28 00:00\", \"01/29 00:00\", \"01/30 00:00\", \"01/31 00:00\", \"02/01 00:00\", \"02/02 00:00\", \"02/04 00:00\", \"02/05 00:00\", \"02/06 00:00\", \"02/07 00:00\", \"02/08 00:00\"], :name=>:bmd, :line=>{:shape=>:linear}}], @layout={:xaxis=>{:dtick=>86400, :tickvals=>[0, 86400, 172800, 259200, 345600, 432000, 518400, 604800, 691200, 777600, 864000, 950400, 1036800, 1123200, 1209600, 1296000, 1382400, 1468800, 1555200, 1641600, 1728000, 1814400, 1900800, 1987200, 2073600], :ticktext=>[:soe, :odori, :odori, :naka, :tome, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22]}, :annotations=>[]}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
38
38
|
]
|
39
39
|
},
|
40
40
|
"metadata": {},
|
@@ -49,25 +49,25 @@
|
|
49
49
|
" </script>\n",
|
50
50
|
"\n",
|
51
51
|
"\n",
|
52
|
-
"<div id=\"
|
52
|
+
"<div id=\"6d23df0a-bef5-4d19-ad5d-0d319ef06a7a\" style=\"height: 100%; width: 100%;\"></div>\n",
|
53
53
|
"\n",
|
54
54
|
"<script>\n",
|
55
55
|
" require(['plotly'], function(Plotly) { \n",
|
56
56
|
"Plotly.newPlot(\n",
|
57
|
-
" '
|
57
|
+
" '6d23df0a-bef5-4d19-ad5d-0d319ef06a7a',\n",
|
58
58
|
" [{\"type\":\"table\",\"header\":{\"values\":[\"day_label\",\"display_time\",\"mark\",\"temps\",\"room_temp\",\"display_baume\",\"alcohol\",\"bmd\"]},\"cells\":{\"values\":[[\"soe\",\"odori\",\"odori\",\"naka\",\"tome\",2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],[\"01/16 00:00\",\"01/17 00:00\",\"01/18 00:00\",\"01/19 00:00\",\"01/20 00:00\",\"01/21 00:00\",\"01/22 00:00\",\"01/23 00:00\",\"01/24 00:00\",\"01/25 00:00\",\"01/26 00:00\",\"01/27 00:00\",\"01/28 00:00\",\"01/29 00:00\",\"01/30 00:00\",\"01/31 00:00\",\"02/01 00:00\",\"02/02 00:00\",\"02/03 00:00\",\"02/04 00:00\",\"02/05 00:00\",\"02/06 00:00\",\"02/07 00:00\",\"02/08 00:00\",\"02/09 00:00\"],[\"soe\",\"\",\"\",\"naka\",\"tome\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"14.8, 11.0\",\"14.3\",\"11.3\",\"6.9, 10.6\",\"7.5, 8.0\",\"9.1\",\"10.4\",\"11.9\",\"12.3\",\"13.1\",\"13.1\",\"12.9\",\"12.8\",\"12.9\",\"12.6\",\"12.0\",\"11.2\",\"10.2\",\"9.7\",\"9.8\",\"9.1\",\"8.4\",\"8.1\",\"8.3\",\"8.1\"],[9,9,8.5,9,6,7,7,8,8,7.5,7.5,7.5,7.0,8.0,8.0,7.0,7.0,6.5,7.0,8.0,6.0,5.0,5.0,7.0,6.0],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",8.6,8.0,7.2,5.8,4.8,4.0,3.4,-27,-21,-17,-13,\"\",-8,-5,-3,-2,0,\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",4.8,6.75,7.992,\"\",10.7,11.6,12.7,13.7,\"\",\"\",\"\",16.0,\"\",16.3,\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",34.4,40.0,43.2,40.6,38.4,36.0,34.0,29.7,25.2,22.1,18.2,\"\",12.8,8.5,5.4,3.8,-0.0,\"\"]]}}],\n",
|
59
59
|
" {\"height\":710},\n",
|
60
60
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
61
61
|
")\n",
|
62
62
|
"\n",
|
63
63
|
"window.addEventListener('resize', function() {\n",
|
64
|
-
" Plotly.Plots.resize(document.getElementById('
|
64
|
+
" Plotly.Plots.resize(document.getElementById('6d23df0a-bef5-4d19-ad5d-0d319ef06a7a'))\n",
|
65
65
|
"})\n",
|
66
66
|
" }) \n",
|
67
67
|
"</script>"
|
68
68
|
],
|
69
69
|
"text/plain": [
|
70
|
-
"#<Plotly::Offline::HTML:
|
70
|
+
"#<Plotly::Offline::HTML:0x00007fe93f0ac258 @id=\"6d23df0a-bef5-4d19-ad5d-0d319ef06a7a\", @data=[{:type=>:table, :header=>{:values=>[:day_label, :display_time, :mark, :temps, :room_temp, :display_baume, :alcohol, :bmd]}, :cells=>{:values=>[[:soe, :odori, :odori, :naka, :tome, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], [\"01/16 00:00\", \"01/17 00:00\", \"01/18 00:00\", \"01/19 00:00\", \"01/20 00:00\", \"01/21 00:00\", \"01/22 00:00\", \"01/23 00:00\", \"01/24 00:00\", \"01/25 00:00\", \"01/26 00:00\", \"01/27 00:00\", \"01/28 00:00\", \"01/29 00:00\", \"01/30 00:00\", \"01/31 00:00\", \"02/01 00:00\", \"02/02 00:00\", \"02/03 00:00\", \"02/04 00:00\", \"02/05 00:00\", \"02/06 00:00\", \"02/07 00:00\", \"02/08 00:00\", \"02/09 00:00\"], [:soe, \"\", \"\", :naka, :tome, \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"], [\"14.8, 11.0\", \"14.3\", \"11.3\", \"6.9, 10.6\", \"7.5, 8.0\", \"9.1\", \"10.4\", \"11.9\", \"12.3\", \"13.1\", \"13.1\", \"12.9\", \"12.8\", \"12.9\", \"12.6\", \"12.0\", \"11.2\", \"10.2\", \"9.7\", \"9.8\", \"9.1\", \"8.4\", \"8.1\", \"8.3\", \"8.1\"], [9, 9, 8.5, 9, 6, 7, 7, 8, 8, 7.5, 7.5, 7.5, 7.0, 8.0, 8.0, 7.0, 7.0, 6.5, 7.0, 8.0, 6.0, 5.0, 5.0, 7.0, 6.0], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", 8.6, 8.0, 7.2, 5.8, 4.8, 4.0, 3.4, -27, -21, -17, -13, \"\", -8, -5, -3, -2, 0, \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", 4.8, 6.75, 7.992, \"\", 10.7, 11.6, 12.7, 13.7, \"\", \"\", \"\", 16.0, \"\", 16.3, \"\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", 34.4, 40.0, 43.2, 40.6, 38.4, 36.0, 34.0, 29.7, 25.2, 22.1, 18.2, \"\", 12.8, 8.5, 5.4, 3.8, -0.0, \"\"]]}}], @layout={:height=>710}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
71
71
|
]
|
72
72
|
},
|
73
73
|
"metadata": {},
|
@@ -82,25 +82,25 @@
|
|
82
82
|
" </script>\n",
|
83
83
|
"\n",
|
84
84
|
"\n",
|
85
|
-
"<div id=\"
|
85
|
+
"<div id=\"1d95c606-47f1-47ea-8fde-cfc6f7df9bb8\" style=\"height: 100%; width: 100%;\"></div>\n",
|
86
86
|
"\n",
|
87
87
|
"<script>\n",
|
88
88
|
" require(['plotly'], function(Plotly) { \n",
|
89
89
|
"Plotly.newPlot(\n",
|
90
|
-
" '
|
90
|
+
" '1d95c606-47f1-47ea-8fde-cfc6f7df9bb8',\n",
|
91
91
|
" [{\"x\":[345600,432000,518400,604800,691200,777600,864000,950400,1036800,1123200,1209600,1382400,1468800,1555200,1641600,1728000],\"y\":[34.4,40.0,43.2,40.6,38.4,36.0,34.0,29.700000000000003,25.200000000000003,22.1,18.2,12.8,8.5,5.4,3.8000000000000003,-0.0],\"text\":[\"01/23 00:00\\u003cbr /\\u003emoromi day=4, be=8.6, bmd=34.4\",\"01/24 00:00\\u003cbr /\\u003emoromi day=5, be=8.0, bmd=40.0\",\"01/25 00:00\\u003cbr /\\u003emoromi day=6, be=7.2, bmd=43.2\",\"01/26 00:00\\u003cbr /\\u003emoromi day=7, be=5.8, bmd=40.6\",\"01/27 00:00\\u003cbr /\\u003emoromi day=8, be=4.8, bmd=38.4\",\"01/28 00:00\\u003cbr /\\u003emoromi day=9, be=4.0, bmd=36.0\",\"01/29 00:00\\u003cbr /\\u003emoromi day=10, be=3.4, bmd=34.0\",\"01/30 00:00\\u003cbr /\\u003emoromi day=11, be=2.7, bmd=29.700000000000003\",\"01/31 00:00\\u003cbr /\\u003emoromi day=12, be=2.1, bmd=25.200000000000003\",\"02/01 00:00\\u003cbr /\\u003emoromi day=13, be=1.7000000000000002, bmd=22.1\",\"02/02 00:00\\u003cbr /\\u003emoromi day=14, be=1.3, bmd=18.2\",\"02/04 00:00\\u003cbr /\\u003emoromi day=16, be=0.8, bmd=12.8\",\"02/05 00:00\\u003cbr /\\u003emoromi day=17, be=0.5, bmd=8.5\",\"02/06 00:00\\u003cbr /\\u003emoromi day=18, be=0.30000000000000004, bmd=5.4\",\"02/07 00:00\\u003cbr /\\u003emoromi day=19, be=0.2, bmd=3.8000000000000003\",\"02/08 00:00\\u003cbr /\\u003emoromi day=20, be=-0.0, bmd=-0.0\"],\"name\":\"actual\"}],\n",
|
92
92
|
" {\"xaxis\":{\"title\":\"Moromi day\",\"dtick\":86400,\"range\":[86400,1814400],\"tickvals\":[0,86400,172800,259200,345600,432000,518400,604800,691200,777600,864000,950400,1036800,1123200,1209600,1296000,1382400,1468800,1555200,1641600,1728000],\"ticktext\":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]},\"yaxis\":{\"title\":\"BMD\"}},\n",
|
93
93
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
94
94
|
")\n",
|
95
95
|
"\n",
|
96
96
|
"window.addEventListener('resize', function() {\n",
|
97
|
-
" Plotly.Plots.resize(document.getElementById('
|
97
|
+
" Plotly.Plots.resize(document.getElementById('1d95c606-47f1-47ea-8fde-cfc6f7df9bb8'))\n",
|
98
98
|
"})\n",
|
99
99
|
" }) \n",
|
100
100
|
"</script>"
|
101
101
|
],
|
102
102
|
"text/plain": [
|
103
|
-
"#<Plotly::Offline::HTML:
|
103
|
+
"#<Plotly::Offline::HTML:0x00007fe93ca95588 @id=\"1d95c606-47f1-47ea-8fde-cfc6f7df9bb8\", @data=[{:x=>[345600, 432000, 518400, 604800, 691200, 777600, 864000, 950400, 1036800, 1123200, 1209600, 1382400, 1468800, 1555200, 1641600, 1728000], :y=>[34.4, 40.0, 43.2, 40.6, 38.4, 36.0, 34.0, 29.700000000000003, 25.200000000000003, 22.1, 18.2, 12.8, 8.5, 5.4, 3.8000000000000003, -0.0], :text=>[\"01/23 00:00<br />moromi day=4, be=8.6, bmd=34.4\", \"01/24 00:00<br />moromi day=5, be=8.0, bmd=40.0\", \"01/25 00:00<br />moromi day=6, be=7.2, bmd=43.2\", \"01/26 00:00<br />moromi day=7, be=5.8, bmd=40.6\", \"01/27 00:00<br />moromi day=8, be=4.8, bmd=38.4\", \"01/28 00:00<br />moromi day=9, be=4.0, bmd=36.0\", \"01/29 00:00<br />moromi day=10, be=3.4, bmd=34.0\", \"01/30 00:00<br />moromi day=11, be=2.7, bmd=29.700000000000003\", \"01/31 00:00<br />moromi day=12, be=2.1, bmd=25.200000000000003\", \"02/01 00:00<br />moromi day=13, be=1.7000000000000002, bmd=22.1\", \"02/02 00:00<br />moromi day=14, be=1.3, bmd=18.2\", \"02/04 00:00<br />moromi day=16, be=0.8, bmd=12.8\", \"02/05 00:00<br />moromi day=17, be=0.5, bmd=8.5\", \"02/06 00:00<br />moromi day=18, be=0.30000000000000004, bmd=5.4\", \"02/07 00:00<br />moromi day=19, be=0.2, bmd=3.8000000000000003\", \"02/08 00:00<br />moromi day=20, be=-0.0, bmd=-0.0\"], :name=>:actual}], @layout={:xaxis=>{:title=>\"Moromi day\", :dtick=>86400, :range=>[86400, 1814400], :tickvals=>[0, 86400, 172800, 259200, 345600, 432000, 518400, 604800, 691200, 777600, 864000, 950400, 1036800, 1123200, 1209600, 1296000, 1382400, 1468800, 1555200, 1641600, 1728000], :ticktext=>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]}, :yaxis=>{:title=>\"BMD\"}}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
104
104
|
]
|
105
105
|
},
|
106
106
|
"metadata": {},
|
@@ -115,25 +115,25 @@
|
|
115
115
|
" </script>\n",
|
116
116
|
"\n",
|
117
117
|
"\n",
|
118
|
-
"<div id=\"
|
118
|
+
"<div id=\"c593917b-5b7e-4d02-9a74-2cf0c1a01076\" style=\"height: 100%; width: 100%;\"></div>\n",
|
119
119
|
"\n",
|
120
120
|
"<script>\n",
|
121
121
|
" require(['plotly'], function(Plotly) { \n",
|
122
122
|
"Plotly.newPlot(\n",
|
123
|
-
" '
|
123
|
+
" 'c593917b-5b7e-4d02-9a74-2cf0c1a01076',\n",
|
124
124
|
" [{\"x\":[4.8,6.75,7.992,10.7,11.6,12.7,13.7,16.0,16.3],\"y\":[8.0,7.2,5.8,4.0,3.4,2.7,2.1,0.8,0.30000000000000004],\"text\":[\"01/24 00:00\\u003cbr /\\u003ealc=4.8, be=8.0\",\"01/25 00:00\\u003cbr /\\u003ealc=6.75, be=7.2\",\"01/26 00:00\\u003cbr /\\u003ealc=7.992, be=5.8\",\"01/28 00:00\\u003cbr /\\u003ealc=10.7, be=4.0\",\"01/29 00:00\\u003cbr /\\u003ealc=11.6, be=3.4\",\"01/30 00:00\\u003cbr /\\u003ealc=12.7, be=2.7\",\"01/31 00:00\\u003cbr /\\u003ealc=13.7, be=2.1\",\"02/04 00:00\\u003cbr /\\u003ealc=16.0, be=0.8\",\"02/06 00:00\\u003cbr /\\u003ealc=16.3, be=0.30000000000000004\"],\"name\":\"actual\"},{\"x\":[16.05,4.049999999999999],\"y\":[0.0,8.0],\"name\":\"+3.0 16.5\"},{\"x\":[16.55,4.549999999999999],\"y\":[0.0,8.0],\"name\":\"+3.0 17.0\"},{\"x\":[16.5,4.5],\"y\":[0.0,8.0],\"name\":\"+0.0 16.5\"}],\n",
|
125
125
|
" {\"xaxis\":{\"title\":\"Alcohol\",\"dtick\":2,\"range\":[0,20]},\"yaxis\":{\"title\":\"Baume\",\"dtick\":1,\"range\":[0,10]}},\n",
|
126
126
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
127
127
|
")\n",
|
128
128
|
"\n",
|
129
129
|
"window.addEventListener('resize', function() {\n",
|
130
|
-
" Plotly.Plots.resize(document.getElementById('
|
130
|
+
" Plotly.Plots.resize(document.getElementById('c593917b-5b7e-4d02-9a74-2cf0c1a01076'))\n",
|
131
131
|
"})\n",
|
132
132
|
" }) \n",
|
133
133
|
"</script>"
|
134
134
|
],
|
135
135
|
"text/plain": [
|
136
|
-
"#<Plotly::Offline::HTML:
|
136
|
+
"#<Plotly::Offline::HTML:0x00007fe93f1151e0 @id=\"c593917b-5b7e-4d02-9a74-2cf0c1a01076\", @data=[{:x=>[4.8, 6.75, 7.992, 10.7, 11.6, 12.7, 13.7, 16.0, 16.3], :y=>[8.0, 7.2, 5.8, 4.0, 3.4, 2.7, 2.1, 0.8, 0.30000000000000004], :text=>[\"01/24 00:00<br />alc=4.8, be=8.0\", \"01/25 00:00<br />alc=6.75, be=7.2\", \"01/26 00:00<br />alc=7.992, be=5.8\", \"01/28 00:00<br />alc=10.7, be=4.0\", \"01/29 00:00<br />alc=11.6, be=3.4\", \"01/30 00:00<br />alc=12.7, be=2.7\", \"01/31 00:00<br />alc=13.7, be=2.1\", \"02/04 00:00<br />alc=16.0, be=0.8\", \"02/06 00:00<br />alc=16.3, be=0.30000000000000004\"], :name=>:actual}, {:x=>[16.05, 4.049999999999999], :y=>[0.0, 8.0], :name=>\"+3.0 16.5\"}, {:x=>[16.55, 4.549999999999999], :y=>[0.0, 8.0], :name=>\"+3.0 17.0\"}, {:x=>[16.5, 4.5], :y=>[0.0, 8.0], :name=>\"+0.0 16.5\"}], @layout={:xaxis=>{:title=>\"Alcohol\", :dtick=>2, :range=>[0, 20]}, :yaxis=>{:title=>\"Baume\", :dtick=>1, :range=>[0, 10]}}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
137
137
|
]
|
138
138
|
},
|
139
139
|
"metadata": {},
|
@@ -142,7 +142,7 @@
|
|
142
142
|
{
|
143
143
|
"data": {
|
144
144
|
"text/plain": [
|
145
|
-
"#<CZTop::Socket::PUB:
|
145
|
+
"#<CZTop::Socket::PUB:0x7fe940913ca0 last_endpoint=\"tcp://127.0.0.1:65456\">"
|
146
146
|
]
|
147
147
|
},
|
148
148
|
"execution_count": 1,
|
@@ -155,7 +155,7 @@
|
|
155
155
|
"require 'toji'\n",
|
156
156
|
"require 'rbplotly'\n",
|
157
157
|
"\n",
|
158
|
-
"moromi = Toji::Brew::Moromi.
|
158
|
+
"moromi = Toji::Brew::Moromi.load_yaml_file(\"moromi.yaml\")\n",
|
159
159
|
"moromi.progress(enable_annotations: false).plot.show\n",
|
160
160
|
"moromi.progress.table.tap{|t| t.layout.height=710}.show\n",
|
161
161
|
"moromi.bmd.plot.show\n",
|
data/example/moromi.rb
CHANGED
@@ -2,10 +2,10 @@ require 'toji'
|
|
2
2
|
require 'terminal-table'
|
3
3
|
|
4
4
|
|
5
|
-
moromi = Toji::Brew::Moromi.
|
5
|
+
moromi = Toji::Brew::Moromi.load_yaml_file(File.dirname(__FILE__)+"/moromi.yaml")
|
6
6
|
|
7
7
|
table = Terminal::Table.new do |t|
|
8
|
-
t << ["作業", "日数", "品温(度)", "操作室温", "ボーメ及び日本酒度", "アルコール度数", "BMD", "
|
8
|
+
t << ["作業", "日数", "品温(度)", "操作室温", "ボーメ及び日本酒度", "アルコール度数", "BMD", "アルコール期待値(16.5 +3)", "経過時間", "日時"]
|
9
9
|
t << :separator
|
10
10
|
moromi.each {|s|
|
11
11
|
temp = s.temps.map(&:to_s).join(" / ")
|
data/example/moromi.yaml
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
date_line: 0
|
2
|
+
records:
|
3
|
+
- time: 2019-01-16
|
4
|
+
mark: :soe
|
5
|
+
room_temp: 9
|
6
|
+
temps:
|
7
|
+
- 14.8
|
8
|
+
- 11.0
|
9
|
+
- time: 2019-01-17
|
10
|
+
room_temp: 9
|
11
|
+
temps: 14.3
|
12
|
+
- time: 2019-01-18
|
13
|
+
room_temp: 8.5
|
14
|
+
temps: 11.3
|
15
|
+
- time: 2019-01-19
|
16
|
+
mark: :naka
|
17
|
+
room_temp: 9
|
18
|
+
temps:
|
19
|
+
- 6.9
|
20
|
+
- 10.6
|
21
|
+
- time: 2019-01-20
|
22
|
+
mark: :tome
|
23
|
+
room_temp: 6
|
24
|
+
temps:
|
25
|
+
- 7.5
|
26
|
+
- 8.0
|
27
|
+
- time: 2019-01-21
|
28
|
+
room_temp: 7
|
29
|
+
temps: 9.1
|
30
|
+
- time: 2019-01-22
|
31
|
+
room_temp: 7
|
32
|
+
temps: 10.4
|
33
|
+
- time: 2019-01-23
|
34
|
+
room_temp: 8
|
35
|
+
temps: 11.9
|
36
|
+
baume: 8.6
|
37
|
+
- time: 2019-01-24
|
38
|
+
room_temp: 8
|
39
|
+
temps: 12.3
|
40
|
+
baume: 8.0
|
41
|
+
alcohol: 4.8
|
42
|
+
- time: 2019-01-25
|
43
|
+
room_temp: 7.5
|
44
|
+
temps: 13.1
|
45
|
+
baume: 7.2
|
46
|
+
alcohol: 6.75
|
47
|
+
- time: 2019-01-26
|
48
|
+
room_temp: 7.5
|
49
|
+
temps: 13.1
|
50
|
+
baume: 5.8
|
51
|
+
alcohol: 7.992
|
52
|
+
- time: 2019-01-27
|
53
|
+
room_temp: 7.5
|
54
|
+
temps: 12.9
|
55
|
+
baume: 4.8
|
56
|
+
- time: 2019-01-28
|
57
|
+
room_temp: 7.0
|
58
|
+
temps: 12.8
|
59
|
+
baume: 4.0
|
60
|
+
alcohol: 10.7
|
61
|
+
- time: 2019-01-29
|
62
|
+
room_temp: 8.0
|
63
|
+
temps: 12.9
|
64
|
+
baume: 3.4
|
65
|
+
alcohol: 11.6
|
66
|
+
- time: 2019-01-30
|
67
|
+
room_temp: 8.0
|
68
|
+
temps: 12.6
|
69
|
+
nihonshudo: -27
|
70
|
+
alcohol: 12.7
|
71
|
+
- time: 2019-01-31
|
72
|
+
room_temp: 7.0
|
73
|
+
temps: 12.0
|
74
|
+
nihonshudo: -21
|
75
|
+
alcohol: 13.7
|
76
|
+
- time: 2019-02-01
|
77
|
+
room_temp: 7.0
|
78
|
+
temps: 11.2
|
79
|
+
nihonshudo: -17
|
80
|
+
- time: 2019-02-02
|
81
|
+
room_temp: 6.5
|
82
|
+
temps: 10.2
|
83
|
+
nihonshudo: -13
|
84
|
+
- time: 2019-02-03
|
85
|
+
room_temp: 7.0
|
86
|
+
temps: 9.7
|
87
|
+
- time: 2019-02-04
|
88
|
+
room_temp: 8.0
|
89
|
+
temps: 9.8
|
90
|
+
nihonshudo: -8
|
91
|
+
alcohol: 16.0
|
92
|
+
- time: 2019-02-05
|
93
|
+
room_temp: 6.0
|
94
|
+
temps: 9.1
|
95
|
+
nihonshudo: -5
|
96
|
+
- time: 2019-02-06
|
97
|
+
room_temp: 5.0
|
98
|
+
temps: 8.4
|
99
|
+
nihonshudo: -3
|
100
|
+
alcohol: 16.3
|
101
|
+
- time: 2019-02-07
|
102
|
+
room_temp: 5.0
|
103
|
+
temps: 8.1
|
104
|
+
nihonshudo: -2
|
105
|
+
- time: 2019-02-08
|
106
|
+
room_temp: 7.0
|
107
|
+
temps: 8.3
|
108
|
+
nihonshudo: 0
|
109
|
+
- time: 2019-02-09
|
110
|
+
room_temp: 6.0
|
111
|
+
temps: 8.1
|
data/example/schedule.ipynb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"cells": [
|
3
3
|
{
|
4
4
|
"cell_type": "code",
|
5
|
-
"execution_count":
|
5
|
+
"execution_count": 1,
|
6
6
|
"metadata": {
|
7
7
|
"scrolled": false
|
8
8
|
},
|
@@ -23,25 +23,25 @@
|
|
23
23
|
" </script>\n",
|
24
24
|
"\n",
|
25
25
|
"\n",
|
26
|
-
"<div id=\"
|
26
|
+
"<div id=\"9886647c-d3b4-4131-8b6b-6245a3d5209b\" style=\"height: 100%; width: 100%;\"></div>\n",
|
27
27
|
"\n",
|
28
28
|
"<script>\n",
|
29
29
|
" require(['plotly'], function(Plotly) { \n",
|
30
30
|
"Plotly.newPlot(\n",
|
31
|
-
" '
|
31
|
+
" '9886647c-d3b4-4131-8b6b-6245a3d5209b',\n",
|
32
32
|
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[35.0,\"\",35.0,\"\",123.0,0.8],[65.0,65.0,\"\",\"\",\"\",\"\"],[200.0,150.0,50.0,\"\",200.0,\"\"],[300.0,245.0,55.0,\"\",400.0,\"\"],[\"\",\"\",\"\",\"\",128.0,\"\"],[600.0,460.0,140.0,\"\",851.0,0.8]]}}],\n",
|
33
33
|
" {\"height\":350},\n",
|
34
34
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
35
35
|
")\n",
|
36
36
|
"\n",
|
37
37
|
"window.addEventListener('resize', function() {\n",
|
38
|
-
" Plotly.Plots.resize(document.getElementById('
|
38
|
+
" Plotly.Plots.resize(document.getElementById('9886647c-d3b4-4131-8b6b-6245a3d5209b'))\n",
|
39
39
|
"})\n",
|
40
40
|
" }) \n",
|
41
41
|
"</script>"
|
42
42
|
],
|
43
43
|
"text/plain": [
|
44
|
-
"#<Plotly::Offline::HTML:
|
44
|
+
"#<Plotly::Offline::HTML:0x00007fdee516ce68 @id=\"9886647c-d3b4-4131-8b6b-6245a3d5209b\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :yodan, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [35.0, \"\", 35.0, \"\", 123.0, 0.8], [65.0, 65.0, \"\", \"\", \"\", \"\"], [200.0, 150.0, 50.0, \"\", 200.0, \"\"], [300.0, 245.0, 55.0, \"\", 400.0, \"\"], [\"\", \"\", \"\", \"\", 128.0, \"\"], [600.0, 460.0, 140.0, \"\", 851.0, 0.8]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
45
45
|
]
|
46
46
|
},
|
47
47
|
"metadata": {},
|
@@ -63,25 +63,25 @@
|
|
63
63
|
" </script>\n",
|
64
64
|
"\n",
|
65
65
|
"\n",
|
66
|
-
"<div id=\"
|
66
|
+
"<div id=\"5f0996af-1c6b-46f7-9a49-3634921c871a\" style=\"height: 100%; width: 100%;\"></div>\n",
|
67
67
|
"\n",
|
68
68
|
"<script>\n",
|
69
69
|
" require(['plotly'], function(Plotly) { \n",
|
70
70
|
"Plotly.newPlot(\n",
|
71
|
-
" '
|
71
|
+
" '5f0996af-1c6b-46f7-9a49-3634921c871a',\n",
|
72
72
|
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[32.0,\"\",32.0,\"\",112.0,0.733],[60.0,60.0,\"\",\"\",\"\",\"\"],[184.0,138.0,46.0,\"\",183.0,\"\"],[275.0,225.0,50.0,\"\",367.0,\"\"],[\"\",\"\",\"\",\"\",117.0,\"\"],[551.0,423.0,128.0,\"\",779.0,0.733]]}}],\n",
|
73
73
|
" {\"height\":350},\n",
|
74
74
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
75
75
|
")\n",
|
76
76
|
"\n",
|
77
77
|
"window.addEventListener('resize', function() {\n",
|
78
|
-
" Plotly.Plots.resize(document.getElementById('
|
78
|
+
" Plotly.Plots.resize(document.getElementById('5f0996af-1c6b-46f7-9a49-3634921c871a'))\n",
|
79
79
|
"})\n",
|
80
80
|
" }) \n",
|
81
81
|
"</script>"
|
82
82
|
],
|
83
83
|
"text/plain": [
|
84
|
-
"#<Plotly::Offline::HTML:
|
84
|
+
"#<Plotly::Offline::HTML:0x00007fdee59bb718 @id=\"5f0996af-1c6b-46f7-9a49-3634921c871a\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :yodan, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [32.0, \"\", 32.0, \"\", 112.0, 0.733], [60.0, 60.0, \"\", \"\", \"\", \"\"], [184.0, 138.0, 46.0, \"\", 183.0, \"\"], [275.0, 225.0, 50.0, \"\", 367.0, \"\"], [\"\", \"\", \"\", \"\", 117.0, \"\"], [551.0, 423.0, 128.0, \"\", 779.0, 0.733]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
85
85
|
]
|
86
86
|
},
|
87
87
|
"metadata": {},
|
@@ -103,25 +103,25 @@
|
|
103
103
|
" </script>\n",
|
104
104
|
"\n",
|
105
105
|
"\n",
|
106
|
-
"<div id=\"
|
106
|
+
"<div id=\"93a74da4-5977-45df-9a89-1cb888c5216f\" style=\"height: 100%; width: 100%;\"></div>\n",
|
107
107
|
"\n",
|
108
108
|
"<script>\n",
|
109
109
|
" require(['plotly'], function(Plotly) { \n",
|
110
110
|
"Plotly.newPlot(\n",
|
111
|
-
" '
|
111
|
+
" '93a74da4-5977-45df-9a89-1cb888c5216f',\n",
|
112
112
|
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"alcohol\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[63.0,42.0,21.0,\"\",77.0,0.524],[143.0,98.0,45.0,\"\",122.0,\"\"],[254.0,190.0,64.0,\"\",302.0,\"\"],[440.0,366.0,74.0,\"\",599.0,\"\"],[\"\",\"\",\"\",405.0,\"\",\"\"],[900.0,696.0,204.0,405.0,1100.0,0.524]]}}],\n",
|
113
113
|
" {\"height\":350},\n",
|
114
114
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
115
115
|
")\n",
|
116
116
|
"\n",
|
117
117
|
"window.addEventListener('resize', function() {\n",
|
118
|
-
" Plotly.Plots.resize(document.getElementById('
|
118
|
+
" Plotly.Plots.resize(document.getElementById('93a74da4-5977-45df-9a89-1cb888c5216f'))\n",
|
119
119
|
"})\n",
|
120
120
|
" }) \n",
|
121
121
|
"</script>"
|
122
122
|
],
|
123
123
|
"text/plain": [
|
124
|
-
"#<Plotly::Offline::HTML:
|
124
|
+
"#<Plotly::Offline::HTML:0x00007fdee287c328 @id=\"93a74da4-5977-45df-9a89-1cb888c5216f\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :alcohol, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [63.0, 42.0, 21.0, \"\", 77.0, 0.524], [143.0, 98.0, 45.0, \"\", 122.0, \"\"], [254.0, 190.0, 64.0, \"\", 302.0, \"\"], [440.0, 366.0, 74.0, \"\", 599.0, \"\"], [\"\", \"\", \"\", 405.0, \"\", \"\"], [900.0, 696.0, 204.0, 405.0, 1100.0, 0.524]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
125
125
|
]
|
126
126
|
},
|
127
127
|
"metadata": {},
|
@@ -143,25 +143,25 @@
|
|
143
143
|
" </script>\n",
|
144
144
|
"\n",
|
145
145
|
"\n",
|
146
|
-
"<div id=\"
|
146
|
+
"<div id=\"8e5a13bf-6c15-4063-8d1e-d06493a595e4\" style=\"height: 100%; width: 100%;\"></div>\n",
|
147
147
|
"\n",
|
148
148
|
"<script>\n",
|
149
149
|
" require(['plotly'], function(Plotly) { \n",
|
150
150
|
"Plotly.newPlot(\n",
|
151
|
-
" '
|
151
|
+
" '8e5a13bf-6c15-4063-8d1e-d06493a595e4',\n",
|
152
152
|
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[59.0,41.0,18.0,\"\",63.0,0.432],[126.0,90.0,36.0,\"\",117.0,\"\"],[248.0,194.0,54.0,\"\",297.0,\"\"],[396.0,324.0,72.0,\"\",567.0,\"\"],[72.0,72.0,\"\",\"\",108.0,\"\"],[901.0,721.0,180.0,\"\",1152.0,0.432]]}}],\n",
|
153
153
|
" {\"height\":350},\n",
|
154
154
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
155
155
|
")\n",
|
156
156
|
"\n",
|
157
157
|
"window.addEventListener('resize', function() {\n",
|
158
|
-
" Plotly.Plots.resize(document.getElementById('
|
158
|
+
" Plotly.Plots.resize(document.getElementById('8e5a13bf-6c15-4063-8d1e-d06493a595e4'))\n",
|
159
159
|
"})\n",
|
160
160
|
" }) \n",
|
161
161
|
"</script>"
|
162
162
|
],
|
163
163
|
"text/plain": [
|
164
|
-
"#<Plotly::Offline::HTML:
|
164
|
+
"#<Plotly::Offline::HTML:0x00007fdee68d2418 @id=\"8e5a13bf-6c15-4063-8d1e-d06493a595e4\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :yodan, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [59.0, 41.0, 18.0, \"\", 63.0, 0.432], [126.0, 90.0, 36.0, \"\", 117.0, \"\"], [248.0, 194.0, 54.0, \"\", 297.0, \"\"], [396.0, 324.0, 72.0, \"\", 567.0, \"\"], [72.0, 72.0, \"\", \"\", 108.0, \"\"], [901.0, 721.0, 180.0, \"\", 1152.0, 0.432]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
165
165
|
]
|
166
166
|
},
|
167
167
|
"metadata": {},
|
@@ -183,25 +183,25 @@
|
|
183
183
|
" </script>\n",
|
184
184
|
"\n",
|
185
185
|
"\n",
|
186
|
-
"<div id=\"
|
186
|
+
"<div id=\"e71e3896-ffa7-420f-8572-78ec4cf39d8c\" style=\"height: 100%; width: 100%;\"></div>\n",
|
187
187
|
"\n",
|
188
188
|
"<script>\n",
|
189
189
|
" require(['plotly'], function(Plotly) { \n",
|
190
190
|
"Plotly.newPlot(\n",
|
191
|
-
" '
|
191
|
+
" 'e71e3896-ffa7-420f-8572-78ec4cf39d8c',\n",
|
192
192
|
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"alcohol\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[63.0,42.0,21.0,\"\",77.0,0.524],[143.0,98.0,45.0,\"\",122.0,\"\"],[254.0,190.0,64.0,\"\",302.0,\"\"],[440.0,366.0,74.0,\"\",599.0,\"\"],[\"\",\"\",\"\",405.0,\"\",\"\"],[900.0,696.0,204.0,405.0,1100.0,0.524]]}}],\n",
|
193
193
|
" {\"height\":350},\n",
|
194
194
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
195
195
|
")\n",
|
196
196
|
"\n",
|
197
197
|
"window.addEventListener('resize', function() {\n",
|
198
|
-
" Plotly.Plots.resize(document.getElementById('
|
198
|
+
" Plotly.Plots.resize(document.getElementById('e71e3896-ffa7-420f-8572-78ec4cf39d8c'))\n",
|
199
199
|
"})\n",
|
200
200
|
" }) \n",
|
201
201
|
"</script>"
|
202
202
|
],
|
203
203
|
"text/plain": [
|
204
|
-
"#<Plotly::Offline::HTML:
|
204
|
+
"#<Plotly::Offline::HTML:0x00007fdee5a13418 @id=\"e71e3896-ffa7-420f-8572-78ec4cf39d8c\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :alcohol, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [63.0, 42.0, 21.0, \"\", 77.0, 0.524], [143.0, 98.0, 45.0, \"\", 122.0, \"\"], [254.0, 190.0, 64.0, \"\", 302.0, \"\"], [440.0, 366.0, 74.0, \"\", 599.0, \"\"], [\"\", \"\", \"\", 405.0, \"\", \"\"], [900.0, 696.0, 204.0, 405.0, 1100.0, 0.524]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
205
205
|
]
|
206
206
|
},
|
207
207
|
"metadata": {},
|
@@ -223,25 +223,25 @@
|
|
223
223
|
" </script>\n",
|
224
224
|
"\n",
|
225
225
|
"\n",
|
226
|
-
"<div id=\"
|
226
|
+
"<div id=\"dfbc8c2f-f7e3-400e-8675-25388e9f7241\" style=\"height: 100%; width: 100%;\"></div>\n",
|
227
227
|
"\n",
|
228
228
|
"<script>\n",
|
229
229
|
" require(['plotly'], function(Plotly) { \n",
|
230
230
|
"Plotly.newPlot(\n",
|
231
|
-
" '
|
231
|
+
" 'dfbc8c2f-f7e3-400e-8675-25388e9f7241',\n",
|
232
232
|
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[59.0,41.0,18.0,\"\",63.0,0.432],[126.0,90.0,36.0,\"\",117.0,\"\"],[248.0,194.0,54.0,\"\",297.0,\"\"],[396.0,324.0,72.0,\"\",567.0,\"\"],[72.0,72.0,\"\",\"\",108.0,\"\"],[901.0,721.0,180.0,\"\",1152.0,0.432]]}}],\n",
|
233
233
|
" {\"height\":350},\n",
|
234
234
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
235
235
|
")\n",
|
236
236
|
"\n",
|
237
237
|
"window.addEventListener('resize', function() {\n",
|
238
|
-
" Plotly.Plots.resize(document.getElementById('
|
238
|
+
" Plotly.Plots.resize(document.getElementById('dfbc8c2f-f7e3-400e-8675-25388e9f7241'))\n",
|
239
239
|
"})\n",
|
240
240
|
" }) \n",
|
241
241
|
"</script>"
|
242
242
|
],
|
243
243
|
"text/plain": [
|
244
|
-
"#<Plotly::Offline::HTML:
|
244
|
+
"#<Plotly::Offline::HTML:0x00007fdee529e480 @id=\"dfbc8c2f-f7e3-400e-8675-25388e9f7241\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :yodan, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [59.0, 41.0, 18.0, \"\", 63.0, 0.432], [126.0, 90.0, 36.0, \"\", 117.0, \"\"], [248.0, 194.0, 54.0, \"\", 297.0, \"\"], [396.0, 324.0, 72.0, \"\", 567.0, \"\"], [72.0, 72.0, \"\", \"\", 108.0, \"\"], [901.0, 721.0, 180.0, \"\", 1152.0, 0.432]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
245
245
|
]
|
246
246
|
},
|
247
247
|
"metadata": {},
|
@@ -256,25 +256,25 @@
|
|
256
256
|
" </script>\n",
|
257
257
|
"\n",
|
258
258
|
"\n",
|
259
|
-
"<div id=\"
|
259
|
+
"<div id=\"863794e8-037d-4b25-88a0-43d7bca59668\" style=\"height: 100%; width: 100%;\"></div>\n",
|
260
260
|
"\n",
|
261
261
|
"<script>\n",
|
262
262
|
" require(['plotly'], function(Plotly) { \n",
|
263
263
|
"Plotly.newPlot(\n",
|
264
|
-
" '
|
265
|
-
" [{\"type\":\"table\",\"header\":{\"values\":[\"date\",\"moto_koji\",\"moromi_koji\",\"moto\",\"soe\",\"naka\",\"tome\",\"
|
264
|
+
" '863794e8-037d-4b25-88a0-43d7bca59668',\n",
|
265
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"date\",\"moto_koji\",\"moromi_koji\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\"]},\"cells\":{\"values\":[[\"02/20\",\"02/21\",\"02/22\",\"02/23\",\"02/24\",\"02/25\",\"02/26\",\"02/27\",\"02/28\",\"02/29\",\"03/01\",\"03/02\",\"03/03\",\"03/04\",\"03/05\",\"03/06\",\"03/07\",\"03/08\",\"03/09\",\"03/10\",\"03/11\",\"03/12\",\"03/13\",\"03/14\",\"03/15\",\"03/16\",\"03/17\",\"03/18\",\"03/19\",\"03/20\",\"03/21\",\"03/22\"],[\"仕3: 21\\u003cbr\\u003e仕4: 18\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕5: 21\\u003cbr\\u003e仕6: 18\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"仕1: 140\",\"\",\"\",\"仕2: 128\",\"\",\"\",\"\",\"仕3: 183\",\"\",\"\",\"仕4: 162\",\"\",\"\",\"\",\"仕5: 183\",\"\",\"\",\"仕6: 162\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"仕3: 42\\u003cbr\\u003e仕4: 41\",\"\",\"\",\"\",\"\",\"仕1: 0\",\"\",\"仕2: 0\\u003cbr\\u003e仕5: 42\\u003cbr\\u003e仕6: 41\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕1: 65\",\"\",\"仕2: 60\",\"\",\"\",\"\",\"\",\"仕3: 98\",\"\",\"仕4: 90\",\"\",\"\",\"\",\"\",\"仕5: 98\",\"\",\"仕6: 90\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕1: 150\",\"\",\"\",\"仕2: 138\",\"\",\"\",\"\",\"仕3: 190\",\"\",\"仕4: 194\",\"\",\"\",\"\",\"\",\"仕5: 190\",\"\",\"仕6: 194\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕1: 245\",\"\",\"\",\"仕2: 225\",\"\",\"\",\"\",\"仕3: 366\",\"\",\"仕4: 324\",\"\",\"\",\"\",\"\",\"仕5: 366\",\"\",\"仕6: 324\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕4: 72\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕6: 72\"]]}}],\n",
|
266
266
|
" {\"height\":1000},\n",
|
267
267
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
268
268
|
")\n",
|
269
269
|
"\n",
|
270
270
|
"window.addEventListener('resize', function() {\n",
|
271
|
-
" Plotly.Plots.resize(document.getElementById('
|
271
|
+
" Plotly.Plots.resize(document.getElementById('863794e8-037d-4b25-88a0-43d7bca59668'))\n",
|
272
272
|
"})\n",
|
273
273
|
" }) \n",
|
274
274
|
"</script>"
|
275
275
|
],
|
276
276
|
"text/plain": [
|
277
|
-
"#<Plotly::Offline::HTML:
|
277
|
+
"#<Plotly::Offline::HTML:0x00007fdee52cd668 @id=\"863794e8-037d-4b25-88a0-43d7bca59668\", @data=[{:type=>:table, :header=>{:values=>[:date, :moto_koji, :moromi_koji, :moto, :soe, :naka, :tome, :yodan]}, :cells=>{:values=>[[\"02/20\", \"02/21\", \"02/22\", \"02/23\", \"02/24\", \"02/25\", \"02/26\", \"02/27\", \"02/28\", \"02/29\", \"03/01\", \"03/02\", \"03/03\", \"03/04\", \"03/05\", \"03/06\", \"03/07\", \"03/08\", \"03/09\", \"03/10\", \"03/11\", \"03/12\", \"03/13\", \"03/14\", \"03/15\", \"03/16\", \"03/17\", \"03/18\", \"03/19\", \"03/20\", \"03/21\", \"03/22\"], [\"仕3: 21<br>仕4: 18\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕5: 21<br>仕6: 18\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"仕1: 140\", \"\", \"\", \"仕2: 128\", \"\", \"\", \"\", \"仕3: 183\", \"\", \"\", \"仕4: 162\", \"\", \"\", \"\", \"仕5: 183\", \"\", \"\", \"仕6: 162\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"仕3: 42<br>仕4: 41\", \"\", \"\", \"\", \"\", \"仕1: 0\", \"\", \"仕2: 0<br>仕5: 42<br>仕6: 41\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕1: 65\", \"\", \"仕2: 60\", \"\", \"\", \"\", \"\", \"仕3: 98\", \"\", \"仕4: 90\", \"\", \"\", \"\", \"\", \"仕5: 98\", \"\", \"仕6: 90\", \"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕1: 150\", \"\", \"\", \"仕2: 138\", \"\", \"\", \"\", \"仕3: 190\", \"\", \"仕4: 194\", \"\", \"\", \"\", \"\", \"仕5: 190\", \"\", \"仕6: 194\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕1: 245\", \"\", \"\", \"仕2: 225\", \"\", \"\", \"\", \"仕3: 366\", \"\", \"仕4: 324\", \"\", \"\", \"\", \"\", \"仕5: 366\", \"\", \"仕6: 324\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕4: 72\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕6: 72\"]]}}], @layout={:height=>1000}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
278
278
|
]
|
279
279
|
},
|
280
280
|
"metadata": {},
|
@@ -283,10 +283,10 @@
|
|
283
283
|
{
|
284
284
|
"data": {
|
285
285
|
"text/plain": [
|
286
|
-
"#<CZTop::Socket::PUB:
|
286
|
+
"#<CZTop::Socket::PUB:0x7fdee714ea00 last_endpoint=\"tcp://127.0.0.1:64337\">"
|
287
287
|
]
|
288
288
|
},
|
289
|
-
"execution_count":
|
289
|
+
"execution_count": 1,
|
290
290
|
"metadata": {},
|
291
291
|
"output_type": "execute_result"
|
292
292
|
}
|