QuentinAmbard / mandrova

An Awesome Synthetic Sensor Data Generator for Python3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mandrova: Sensor Data Generator for Python3

logo version 0.1

Welcome! Annyeonghaseyo! 안녕하세요!

Mandrova is open-source python software for scientific data generation.
It supports stationary, non-stationary, and even user-specified generation scheme.

Mandrova means "make it" [만들어봐|맨들어봐] in Korean.
Thus, Mandrova simply means "make sensor data" in the context of sensor data generation.

System/Packages Requirements

  • Python 3.6.5+
  • NumPy
  • SymPy
  • Pandas
  • scikit-learn
  • Matplotlib

Simple Start!

Importing Sensor Data Generator

from data_generator import SensorDataGenerator as sdg

Decleration of Important Variables For Generation

seed = 20171221
sample_size = 1000
dg = sdg()

Generation Options

dg.generation_input.add_option(sensor_names="Hello", distribution="normal", mu=0, sigma=1)
dg.generation_input.add_option(sensor_names="World", eq="x",
                               initial={"x":0}, step={"x":1})

Generate

dg.generate(sample_size=sample_size, seed=seed)

Save Data Table

  1. As .csv
dg.save_as_csv(file_name="hello_world")
  1. As .xlsx
dg.save_as_excel(file_name="hello", sheet_name="world")

Tutorials

Downloading Sensor Data Generator

First, you need to install "git" on your computer.

Please refer to the following page to install git properly.

https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

If you already have Git installed:

git clone https://github.com/makinarocks/Mandrova.git

Contributor

  • Jong Duk Shinn

Special Thanks to:

Development:

Logo Design:

  • Yujin Han

About

An Awesome Synthetic Sensor Data Generator for Python3

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Jupyter Notebook 99.4%Language:Python 0.6%