Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
Project: test
Views: 918721from __future__ import print_function2import IPython.nbformat as nbformat34from formatting import *567def prep_for_html_conversion(filename):8added_appendix = False9with io.open('../'+filename, 'r', encoding='utf-8') as f:10nb = nbformat.read(f, nbformat.NO_CONVERT)11remove_formatting(nb)12if not added_appendix and filename[0:8] == 'Appendix':13remove_links_add_appendix(nb)14added_appendix = True15else:16remove_links(nb)17nbformat.write(nb, filename)181920if __name__ == '__main__':21notebooks = \22['00_Preface.ipynb',23'01_g-h_filter.ipynb',24'Appendix_A_Installation.ipynb']2526for n in notebooks:27prep_for_html_conversion(n)2829'''merge_notebooks(30['../00_Preface.ipynb',31'../01_g-h_filter.ipynb',32'../02_Discrete_Bayes.ipynb',33'../03_Least_Squares_Filters.ipynb',34'../04_Gaussians.ipynb',35'../05_Kalman_Filters.ipynb',36'../06_Multivariate_Kalman_Filters.ipynb',37'../07_Kalman_Filter_Math.ipynb',38'../08_Designing_Kalman_Filters.ipynb',39'../09_Nonlinear_Filtering.ipynb',40'../10_Unscented_Kalman_Filter.ipynb',41'../11_Extended_Kalman_Filters.ipynb',42'../12_Designing_Nonlinear_Kalman_Filters.ipynb',43'../13_Smoothing.ipynb',44'../14_Adaptive_Filtering.ipynb',45'../15_HInfinity_Filters.ipynb',46'../16_Ensemble_Kalman_Filters.ipynb',47'../Appendix_A_Installation.ipynb',48'../Appendix_B_Symbols_and_Notations.ipynb'])'''495051