Code Monkey home page Code Monkey logo

nonlineardynamicstextbook's Introduction

Nonlinear Dynamics: A concise introduction interlaced with code

This repository holds the material related with the textbook Nonlinear Dynamics: A concise introduction interlaced with code, co-authored by George Datseris and Ulrich Parlitz. This textbook will be published by Springer, in the series Undergraduate Lecture Notes in Physics, in 2021.

Please do not open issues to ask questions on installing and running Julia or Julia packages, or questions on nonlinear dynamics in this repository. Instead, open issues directly related with the book: found typos, problems with the source code contained here, suggestions for improvement of existing book sections, suggestions for new book sections, contributing new exercises, new multiple choice questions, etc. All contributions will be properly acknowledged whenever a new edition is out.

Contents

  1. Sample material
  2. Tutorials for Julia and related packages
  3. Reproducing figures
  4. Exercise datasets
  5. Multiple choice questions
  6. Interactive applications and videos

Sample material

Sample material (currently preliminary) of the book is contained as .pdf in the sample folder.

Tutorials for Julia and related packages

Below we provide links to various sources for learning Julia, or the packages that we use in the code snippets in the book.

Reproducing figures

The accompanying code base used here is using the Julia Language and DrWatson to make a reproducible environment that creates the figures of the book. The code that creates the figures is in the figure_generation folder. Notice however that some figures were made with (or enhanced by) PowerPoint and we do not share this here.

To (locally) reproduce a figure, first install Julia and then do the following:

  1. Download this repository as-is and export it to some folder.
  2. Install DrWatson in your general Julia installation by doing:
    julia> using Pkg; Pkg.add("DrWatson")
    
  3. Then do:
    julia> Pkg.activate("path/to/the/downloaded/project/folder")
    julia> Pkg.instantiate() # installs all packages used by the repo
    

Now all necessary packages are installed and all scripts should run out of the box. As you will notice, all scripts start with the commands:

using DrWatson
@quickactivate "NonlinearDynamicsTextbook"

which ensures that only local directories will be used, as well as the exact package versions contained within the repository, leading to full reproducibility. These package versions are also contained in the Project.toml and Manifest.toml files.

Exercise datasets

The datasets that are used in the book exercises are contained in the exercise_data folder, all being in the same text-based format. To load the exercise data you only have to do:

using DelimitedFiles
n = 3 # for the `n`-th dataset
X = readdlm(projectdir("exercise_data", "$n.csv"))

The same folder contains information of where this data is coming from: data_explanations.md.

Multiple choice questions

Multiple choice questions that we use during lecturing to increase student involvement are in the multiple_choice folder.

Interactive applications and videos

In the folder animations we provide scripts that launch interactive applications, and also pre-recorded .mp4 files for convenience.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.