This guide assumes you have a Tool Labs account and some knowledge of getting around. The ...read more
Example: plot a packing using circles, and use the foreground color to show some value for each particle, for example the contact number Z:
The trick to this is to callread more
plt.scatter()to plot a single point outside the axis range. This allows
plt.colorbar()to find cmap and ...
In collaboration with Vera Janssen, Alexander Siemens and Martin van Hecke
We experimentally apply a slow pure shear deformation to a quasi-two-dimensional foam under glass-liquid boundary conditions. In contrast to earlier research, which focussed on the behavior of dense systems, we investigate the behavior close to the jamming transition.read more
- In collaboration with Johannes Simon, Zorana Zeravcic, Simon Dagois-Bohy, Brian P. Tighe and Martin van Hecke
In the last decade, computer simulations have been used to gain insight in the behaviour of granular matter. This has allowed a description of the behaviour for small deformations. In this project, we are working on what happens beyond small deformations. read more
Merlijn van Deen is a PhD student in soft matter physics at Leiden University, and contributes to open source in his spare time.
- Merlijn S. van Deen, Johannes Simon, Zorana Zeravcic, Simon Dagois-Bohy, Brian P. Tighe and Martin van Hecke: Contact changes near jamming. Physical Review E 90 020202 ...
- When working with data, you sometimes need to view the data and give input on how to continue. However, a simple
plot([1,2],[1,2]) answer = raw_input()will not work: the plot GUI will block while the raw_input() is waiting. The following is a (admittedly hacky) solution to this problem: run raw_input() in a seperate thread, and poll the GUI using waitforbuttonpress(): read more
- There are several posts describing how to get git pull using git-http-backend working on shared hosting, for example this post by mobiphil. However, following those steps, I was left with an unclear 'code 22' error when pushing.
In this post, I will describe shortly how I set-up git on my shared hosting account in a way that does allow pushing. read more