The new default colormap for matplotlib is called “viridis” and it’s great!

As is known by anyone in the field of data visualization, the “jet” colormap has some flaws: Doesn’t work when printed black & white Doesn’t work well for colourblind people Not linear in colour space, so it’s hard to estimate numerical values from the resulting image The Matlab team recently developed a new colormap called “parula” but since Matlab is commercially-licensed software, it’s use is restricted. The Matplotlib team have therefore developed their own version, based on the principles of colour theory (covered in my own BSc lecture courses on Visualization). The new Matplotlib default colormap is named “viridis” and it will become the new default colour map starting with Matplotlib v2.0. Users of older versions v1.5.1 can still choose viridis manually using cmap=plt.cm.viridis. ...

April 6, 2016 · 1 min · Simon

Still no viable 13.3 inch eReader…. hurry up!

Netronix and, purportedly also Onyx International, are developing 13.3 inch screen eReaders using eInk’s Mobius screen, as rivals to Sony’s expensive, PDF-only DPT-S1 Digital Paper. A new video shows the Netronix device prototype being displayed at a recent trade show: Unfortunately, it seems that without a major company to put up the money to manufacture, market, distribute and sell it the device won’t become available to consumers. That is a real shame! Many people, myself included, would love to have such a device for taking notes or reading scientific papers, magazines and textbooks that don’t display well on, say, a Kindle. ...

September 3, 2015 · 2 min · Simon

5 Tips for making finite element models with Salome

Salome is an open source software package used to create geometric models and finite element meshes for use in numerical simulations. It is also able to perform its own numerical simulations and has post-processing capabilities built in. Here are my 5 tips for anyone who is interested in using Salome for model and mesh creation. 1. Practice manually first This goes without saying. Although Salome has a powerful Python-based scripting capability, it is worth practicing with manual model generation. By that I mean, clicking with your mouse in the GUI. Manual practice lets you get familiar with the quirks of the Salome workflow, which has a different mentality to many other model generator programs. ...

August 15, 2015 · 3 min · Simon