Write a Python program that shows four different menu options and a Quit option partial capture of the elevator door sensors data of every second for 30s.
INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS
Elevator Door Sensors Data 2
The table below is a partial capture of the elevator door sensors data of every second for 30s.
The complete table is available on the LMS as elevatordoor_dataset.pdf and as elevator_door_dataset.csv.
Seconds
|
Bearing
|
Humidity
|
Vibration
|
1
|
93.744
|
73.999
|
18
|
2
|
93.74
|
73.999
|
18.001
|
3
|
93.736
|
73.998
|
18.002
|
4
|
93.732
|
73.998
|
18.003
|
5
|
93.729
|
73.998
|
18.004
|
In this project, you are required to:
- Initialize appropriate lists with the given data
- Write a Python program that shows four different menu options (and a Quit option).
Based on the user selection, your program shall
- Display the first five seconds data for the selected
- Display the minimum and maximum sensor data of the selected sensor and corresponding time in “hh:mm:ss”
- Find the mean sensor data of every 10 seconds for all sensors. Display the highest mean sensor data of each
- Make the following line plots
- Bearing and Humidity sensors data vs Time in seconds
- Maximum data of every 5 seconds for Humidity sensor vs Time in seconds
You will be awarded more marks if you have the following features in your program:
- Retrieve the list data from the CSV file for direct processing in your program
- Use of numpy or 2D lists/arrays as needed
- The plots of the data with properly labelled titles, labels and legends
- Save and use all functions (and list data if not retrieving from CSV file directly) in a file module called py
Attachments:
Related Questions
. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:
1
Project 1
Introduction - the SeaPort Project series
For this set of projects for the course, we wish to simulate some of the aspects of a number of
. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:
1
Project 2
Introduction - the SeaPort Project series
For this set of projects for the course, we wish to simulate some of the aspects of a number of