Skip to content

Add clock dataset and sine operation#1

Open
dlindhol wants to merge 6 commits into
mainfrom
clock
Open

Add clock dataset and sine operation#1
dlindhol wants to merge 6 commits into
mainfrom
clock

Conversation

@dlindhol
Copy link
Copy Markdown
Member

I figured this would give us an opportunity to talk about the possibilities of a LaTiS simulator.

Comment thread src/main/scala/latis/ops/Sine.scala Outdated
sample => sample match {
case Sample(_, RangeData(Number(t))) =>
//TODO: make sure time has units of ms
val sin = math.sin(2 * math.Pi * t / period.toMillis)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works great

@dlindhol dlindhol requested a review from lindholc July 2, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants