Moved book generation code into PDF directory

Start of a reorganization of files to make book more browable and to
reduce the size of links to chapters.
This commit is contained in:
Roger Labbe committed 2015-01-27 09:06:21 -08:00
1 parent a2dd5a0276
commit f135d2e213
16 files changed
+10858 -18

No files matched your search

File diff suppressed because it is too large. Load diff
+38
View File
@@ -0,0 +1,38 @@
# -*- coding: utf-8 -*-
"""
Created on Sat Jan 24 15:20:47 2015
@author: rlabbe
"""
import numpy as np
import matplotlib.pyplot as plt
try:
data
except:
cols = ('time','millis','ax','ay','az','rollrate','pitchrate','yawrate',
'roll','pitch','yaw','speed','course','latitude','longitude',
'altitude','pdop','hdop','vdop','epe')
data = np.genfromtxt('2014-03-26-000-Data.csv', delimiter=',',
names=True, usecols=cols).view(np.recarray)
plt.subplot(311)
plt.plot(data.ax)
plt.subplot(312)
plt.plot(data.speed)
plt.subplot(313)
plt.plot(data.course)
plt.tight_layout()
plt.figure()
plt.subplot(311)
plt.plot(data.pitch)
plt.subplot(312)
plt.plot(data.roll)
plt.subplot(313)
plt.plot(data.yaw)
plt.figure()
plt.plot(data.longitude, data.latitude)
View File
Whitespace-only changes.
View File
File renamed without changes.
File renamed without changes.
+1
View File
@@ -7,5 +7,6 @@ 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
mv Kalman_and_Bayesian_Filters_in_Python ..
echo "done."
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
+18 -18
View File
@@ -61,21 +61,21 @@ def merge_notebooks(filenames):
if __name__ == '__main__':
#merge_notebooks(sys.argv[1:])
merge_notebooks(
['Preface.ipynb',
'01_gh_filter/g-h_filter.ipynb',
'02_Discrete_Bayes/discrete_bayes.ipynb',
'03_Least_Squares/Least_Squares_Filters.ipynb',
'04_Gaussians/Gaussians.ipynb',
'05_Kalman_Filters/Kalman_Filters.ipynb',
'06_Multivariate_Kalman_filter/Multivariate_Kalman_Filters.ipynb',
'07_Kalman_Filter_Math/Kalman_Filter_Math.ipynb',
'08_Designing_Kalman_Filters/Designing_Kalman_Filters.ipynb',
'09_Extended_Kalman_Filters/Extended_Kalman_Filters.ipynb',
'10_Unscented_Kalman_Filters/Unscented_Kalman_Filter.ipynb',
'11_Ensemble_Kalman_Filter/Ensemble_Kalman_Filters.ipynb',
'12_Designing_Nonlinear_Kalman_Filters/Designing_Nonlinear_Kalman_Filters.ipynb',
'13_HInfinity_Filters/HInfinity_Filters.ipynb',
'14_Smoothing/Smoothing.ipynb',
'15_Adaptive_Filtering/Adaptive_Filtering.ipynb',
'Appendix_A_Installation/Appendix_Installation.ipynb',
'Appendix_B_Symbols_and_Notations/Appendix_Symbols_and_Notations.ipynb'])
['../Preface.ipynb',
'../01_gh_filter/g-h_filter.ipynb',
'../02_Discrete_Bayes/discrete_bayes.ipynb',
'../03_Least_Squares/Least_Squares_Filters.ipynb',
'../04_Gaussians/Gaussians.ipynb',
'../05_Kalman_Filters/Kalman_Filters.ipynb',
'../06_Multivariate_Kalman_filter/Multivariate_Kalman_Filters.ipynb',
'../07_Kalman_Filter_Math/Kalman_Filter_Math.ipynb',
'../08_Designing_Kalman_Filters/Designing_Kalman_Filters.ipynb',
'../09_Extended_Kalman_Filters/Extended_Kalman_Filters.ipynb',
'../10_Unscented_Kalman_Filters/Unscented_Kalman_Filter.ipynb',
'../11_Ensemble_Kalman_Filter/Ensemble_Kalman_Filters.ipynb',
'../12_Designing_Nonlinear_Kalman_Filters/Designing_Nonlinear_Kalman_Filters.ipynb',
'../13_HInfinity_Filters/HInfinity_Filters.ipynb',
'../14_Smoothing/Smoothing.ipynb',
'../15_Adaptive_Filtering/Adaptive_Filtering.ipynb',
'../Appendix_A_Installation/Appendix_Installation.ipynb',
'../Appendix_B_Symbols_and_Notations/Appendix_Symbols_and_Notations.ipynb'])
View File
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.