Skip to content

Instantly share code, notes, and snippets.

View ophentis's full-sized avatar

Willy Tseng ophentis

View GitHub Profile
-- Import packages
require 'torch'
require 'gnuplot'
--------------------------------------
-- Define the Kalman filter 'class' --
--------------------------------------
-- Constructor
Kalman = {}
Kalman.__index = Kalman
@ophentis
ophentis / scriptdump.rb
Created November 15, 2017 22:25
MuranoCLI plugin to dump out concatenated scripts.
# Save a file in ~/.murano/plugins/scriptdump.rb
#
command '_s dump' do |c|
c.syntax = %{mr _s dump}
c.summary = %{dump combined script}
c.description = %{dump combined script}
c.action do |args, options|
sid = $cfg['application.id']