Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
atdb_plot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nico Vermaas
atdb_plot
Commits
1ca195e0
Commit
1ca195e0
authored
6 years ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
adding annotation and legend
parent
bb3595e0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
atdb_stats.py
+4
-1
4 additions, 1 deletion
atdb_stats.py
data/ingest_speed_imaging.args
+3
-1
3 additions, 1 deletion
data/ingest_speed_imaging.args
dist/atdb_plot-1.0.0.tar.gz
+0
-0
0 additions, 0 deletions
dist/atdb_plot-1.0.0.tar.gz
with
7 additions
and
2 deletions
atdb_stats.py
+
4
−
1
View file @
1ca195e0
...
@@ -307,7 +307,7 @@ def do_ingest_speeds(args, starttime, endtime, plot_engine='plotly'):
...
@@ -307,7 +307,7 @@ def do_ingest_speeds(args, starttime, endtime, plot_engine='plotly'):
sorted_datapoints
=
sorted
(
datapoints
,
key
=
lambda
k
:
k
[
'
timestamp
'
])
sorted_datapoints
=
sorted
(
datapoints
,
key
=
lambda
k
:
k
[
'
timestamp
'
])
# plot the results
# plot the results
atdb_plot
.
do_speed_plot
(
args
.
title
,
args
.
y_axis_title
,
args
.
query
,
sorted_datapoints
)
atdb_plot
.
do_speed_plot
(
args
.
title
,
args
.
y_axis_title
,
args
.
query
,
args
.
annotate
,
sorted_datapoints
)
...
@@ -412,6 +412,9 @@ def main():
...
@@ -412,6 +412,9 @@ def main():
parser
.
add_argument
(
"
--query
"
,
parser
.
add_argument
(
"
--query
"
,
default
=
None
,
default
=
None
,
help
=
"
query for the REST API, like
'
taskID__contains=190607
'"
)
help
=
"
query for the REST API, like
'
taskID__contains=190607
'"
)
parser
.
add_argument
(
"
--annotate
"
,
default
=
None
,
help
=
"
field to annotate datapoints in the (speed) plot, like
'
taskid
'"
)
parser
.
add_argument
(
"
--interval
"
,
parser
.
add_argument
(
"
--interval
"
,
default
=
"
day
"
,
default
=
"
day
"
,
help
=
"
Shows bars per interval. Possible options: minute, hour, day, month
"
)
help
=
"
Shows bars per interval. Possible options: minute, hour, day, month
"
)
...
...
This diff is collapsed.
Click to expand it.
data/ingest_speed_imaging.args
+
3
−
1
View file @
1ca195e0
...
@@ -5,5 +5,7 @@
...
@@ -5,5 +5,7 @@
--y_axis_title=I/O Speed in Gbps
--y_axis_title=I/O Speed in Gbps
--starttime=2019-06-08 00:00
--starttime=2019-06-08 00:00
--endtime=2019-06-09 00:00
--endtime=2019-06-09 00:00
--query=taskID__contains=190607
--query=taskID__contains=190608
--query=starttime__gt=2019-06-07T00:00:00Z&starttime__lt=2019-06-11T00:00:00Z
--annotate=taskid
--plot_engine=mathplotlib
--plot_engine=mathplotlib
\ No newline at end of file
This diff is collapsed.
Click to expand it.
dist/atdb_plot-1.0.0.tar.gz
+
0
−
0
View file @
1ca195e0
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment