Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NASA Battery Dataset
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GC TICc
16TICc19 HES-SO - Predict
NASA Battery Dataset
Commits
614f3518
Commit
614f3518
authored
6 years ago
by
Jeshon Assunçao
Browse files
Options
Downloads
Plain Diff
Merge branch '2-change-structure-of-time-values' into 'master'
Resolve "Change structure of 'time' values" Closes
#2
See merge request
!3
parents
3dc98d84
a89cb77a
No related branches found
No related tags found
1 merge request
!3
Resolve "Change structure of 'time' values"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extraction/extract_item_into_dict.py
+1
-1
1 addition, 1 deletion
extraction/extract_item_into_dict.py
with
1 addition
and
1 deletion
extraction/extract_item_into_dict.py
+
1
−
1
View file @
614f3518
...
...
@@ -37,7 +37,7 @@ def extract_charge_from_item(item):
dict_item
[
"
current_charge
"
]
=
item
[
3
][
0
][
0
][
3
][
0
]
# Current measured at charger (Amps) floats
dict_item
[
"
voltage_charge
"
]
=
item
[
3
][
0
][
0
][
4
][
0
]
# Voltage measured at charger (Volts) floats
# MEH
dict_item
[
"
time
"
]
=
item
[
3
][
0
][
0
][
5
]
# Time vector for the cycle (secs) floats
dict_item
[
"
time
"
]
=
item
[
3
][
0
][
0
][
5
]
[
0
]
# Time vector for the cycle (secs) floats
return
dict_item
...
...
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