From e0794b03ea1b172b7ac59f02a2338af0560481eb Mon Sep 17 00:00:00 2001 From: Roger Labbe Date: Mon, 7 Jul 2014 16:21:57 -0700 Subject: [PATCH] A bit of changes to get the book to build in linux (was only working in windows) . --- Preface.ipynb | 535 ++++++++++++++++++++--------------------------- build_book.sh | 2 +- g-h_filter.ipynb | 6 +- 3 files changed, 227 insertions(+), 316 deletions(-) diff --git a/Preface.ipynb b/Preface.ipynb index ba3b9a3..e092f2b 100644 --- a/Preface.ipynb +++ b/Preface.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:0b133277ac85f975c916bc21148ad9bfba4634dc26c82d0842b53aee56e01439" + "signature": "sha256:1271401e3e500309f48f2586d911eb77b92fa00c7c1e66dfa6cb66278cada519" }, "nbformat": 3, "nbformat_minor": 0, @@ -9,11 +9,11 @@ { "cells": [ { - "cell_type": "markdown", + "cell_type": "heading", + "level": 1, "metadata": {}, "source": [ - "

Kalman and Bayesian Filters in Python

\n", - "
Table of Contents
" + "Preface" ] }, { @@ -31,92 +31,227 @@ "metadata": {}, "outputs": [ { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Installed secnum.py. To use it, type:\n", - " %load_ext secnum\n" - ] - }, - { - "javascript": [ - "console.log(\"Section numbering...\");\n", + "html": [ + "\n", + "\n" ], "metadata": {}, - "output_type": "display_data" + "output_type": "pyout", + "prompt_number": 1, + "text": [ + "" + ] } ], "prompt_number": 1 @@ -251,235 +386,11 @@ ] }, { - "cell_type": "code", - "collapsed": false, - "input": [ - "#format the book\n", - "import book_format\n", - "book_format.load_style()" - ], - "language": "python", + "cell_type": "markdown", "metadata": {}, - "outputs": [ - { - "html": [ - "\n", - "\n" - ], - "metadata": {}, - "output_type": "pyout", - "prompt_number": 1, - "text": [ - "" - ] - } - ], - "prompt_number": 1 + "source": [ + "rlabbejr@gmail.com" + ] } ], "metadata": {} diff --git a/build_book.sh b/build_book.sh index 41370a8..5db96d5 100755 --- a/build_book.sh +++ b/build_book.sh @@ -2,7 +2,7 @@ echo "merging book..." -ipython nbmerge.py Preface.ipynb Signals_and_Noise.ipynb g-h_filter.ipynb discrete_bayes.ipynb Gaussians.ipynb Kalman_Filters.ipynb Multidimensional_Kalman_Filters.ipynb Kalman_Filter_Math.ipynb Designing_Kalman_Filters.ipynb Extended_Kalman_Filters.ipynb Unscented_Kalman_Filter.ipynb > Kalman_and_Bayesian_Filters_in_Python.ipynb +python merge_book.py > Kalman_and_Bayesian_Filters_in_Python.ipynb echo "creating pdf..." ipython nbconvert --to latex --template book --post PDF Kalman_and_Bayesian_Filters_in_Python.ipynb diff --git a/g-h_filter.ipynb b/g-h_filter.ipynb index 2459489..b54fdcb 100644 --- a/g-h_filter.ipynb +++ b/g-h_filter.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:54842314075cdbcdc03bb78f35c3e8a836a4ff44b02d617f5738d57e43019ee4" + "signature": "sha256:2a864f60529fef582f39940035399ce8c5b054c28d9216e0503b36798631d661" }, "nbformat": 3, "nbformat_minor": 0, @@ -41,7 +41,7 @@ " margin-right: auto;\n", " }\n", " div.text_cell code {\n", - " background: #FFFFFF;\n", + " background: transparent;\n", " color: #000000;\n", " font-weight: 600;\n", " font-size: 13pt;\n", @@ -250,7 +250,7 @@ "output_type": "pyout", "prompt_number": 1, "text": [ - "" + "" ] } ],