Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make imu class general to handle p-signals #193

Open
coatless opened this issue Aug 18, 2016 · 0 comments
Open

Make imu class general to handle p-signals #193

coatless opened this issue Aug 18, 2016 · 0 comments

Comments

@coatless
Copy link
Contributor

coatless commented Aug 18, 2016

As multivariate time series come into play, there needs to be a way to internally represents them. The best way forward is probably to generalize imu as it already has support for p signals. (albeit, with dependency requirements).

Linked to #192

Perhaps create a globally unifying class? Or maybe just cast as a ts object in R?

As of right now, we are stuck doing:

# Earthquake
data(EQ5, package = "astsa")
data(EXP6, package = "astsa")

EQ5.df = fortify(EQ5)
EQ5.df$type = "earthquake"
EXP6.df = fortify(EXP6)
EXP6.df$type = "explosion"

eq.df = rbind(EQ5.df, EXP6.df)

ggplot(data = eq.df, aes(Index, Data)) +
  geom_line() +
  facet_grid( type ~ .) +
  ylab("Displacement") +
  xlab("Time (seconds)")
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

No branches or pull requests

1 participant