iotexproject / iotexproject/generate-pebble-data

Add "sine-wave" generator

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Allow the generation of data values using a sine wave function:

with A = Amplitude, and O = Offset, P = Period in seconds (timestamp in seconds)

e.g., simulating temperature smoothly changing +/- 3 degrees around 20 degrees, in a period of 60s: A = 3, O = 20, P = 60:

![image](https://user-images.githubusercontent.com/11096047/128519052-f9ddf494-969f-4379-9954-f975d5583e25.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.