This repo contains notebooks that explaining some cool stuff we learn every now and then.
- Bounding Velocities: no description.
- Creating block matrix structures using numpy and scipy: This notebook intends to provide a consistent way to create a block matrix structure from a simplified non-block matrix structure..
- Einstein Summation: Einstein Summation.
- Interpolate point cloud into structured grid: Interpolate point cloud into structured grid.
- Smooth transition between analytic functions: Create a smooth transition in a place where a function is discontinuous.
- Test Write Strategy: A simple test that emulates a simulation loop and write raw numpy data and an HDF5 file to compare sizes and times to output a large amount of data.
- Accumulative Sum Benchmark: a comparison between different implementations to deal with accumulative sum using Python native loops, numpy.cumsum and sci20 Array.
- Eigen Broadcast Cheatsheet: examples of how to do some not-so-simple broadcasting using Eigen. Check accompanying Numpy version.
- Install miniconda
- Install nbformat in the root environment: conda install -n root nbformat
- Create an environment to run jupyter notebook: type conda env create in the root directory of this project (or conda env update if the notebooks environment was already created previously)
- Activate the environment: type activate notebooks (Windows) or source activate notebooks (Unix)
- Run and open it: jupyter notebook