Software Engineering - Project Groups 8
In order to get correct alerts for measurments per minute, it's required to generate 1 minute worth of data, otherwise the alerts are triggered due to insufficient data. You can finds all the unit tests (all passed) in src/test/java/com.
The Cardio Data Simulator is a Java-based application designed to simulate real-time cardiovascular data for multiple patients. This tool is particularly useful for educational purposes, enabling students to interact with real-time data streams of ECG, blood pressure, blood saturation, and other cardiovascular signals.
Clone the repository:
git clone https://github.com/tpepels/signal_project.git
Navigate to the project directory:
cd signal_project
Compile and package the application using Maven:
mvn clean package
This step compiles the source code and packages the application into an executable JAR file located in the target/
directory.
After packaging, you can run the simulator directly from the executable JAR:
java -jar target/cardio_generator-1.0-SNAPSHOT.jar
To run with specific options (e.g., to set the patient count and choose an output strategy):
java -jar target/cardio_generator-1.0-SNAPSHOT.jar --patient-count 100 --output file:./output
console
: Directly prints the simulated data to the console.file:<directory>
: Saves the simulated data to files within the specified directory.websocket:<port>
: Streams the simulated data to WebSocket clients connected to the specified port.tcp:<port>
: Streams the simulated data to TCP clients connected to the specified port.This project is licensed under the MIT License - see the LICENSE file for details.