Multivariate colormaps are seeing use in a number of domains that rely upon python ecosystem. I work with dark-field X-ray microscopy, which is one such domain, but there are numerous others, such as astronomy, polarization microscopy etc. While each domain may have dedicated tooling, darfix, astropy, xrayutilities etc, this tooling is built upon the scientific python stack, including numpy, scipy, pandas, matplotlib, plotly, etc. Since these domains share common challenges regarding multivariate colormaps, it would be ideal to handle these challenges upstream (i.e. in matplotlib, plotly, etc.) rather than in the domain-specific packages. In addition to the technical implementation, the design criteria for multivariate colormaps must be explored.
Continue reading “Designing multivariate colormaps”Visualizing Dark-Field X-ray Microscopy
A DF-XRM experiment deals with experimental geometry, sample geometry, real space and reciprocal space. To aid experimental planning I present my DF-XRM visualization app, with source code on github.
There is an associated publication in the Journal of Open Source Software
Continue reading “Visualizing Dark-Field X-ray Microscopy”Marie Skłodowska-Curie project in 1 minute
Here I describe my Marie Skłodowska–Curie project in 1 minute.
Thank you to the Eurotech foundation for prodding me to make this video.
Colorstamps – 2d colormaps
Colorstamps is a python package hosted on github and pypi for 2d colorstamps in defined as geometric shapes in the CAM02-LCD colorspace. Documentation at readthedocs. The package is inspired by the uniform colormaps in matplotlib, which has has greatly improved the visualization of scalar scientific image data.
Continue reading “Colorstamps – 2d colormaps”Intedigitated electrodes
I built a model for the electric field in thin-films with interdigitated electrodes.
An interactive demo is hosted at Streamlit, while the source is hosted on Github.
The model is presented in A unified approach for the calculation of in-plane dielectric constant of films with interdigitated electrodes.
Continue reading “Intedigitated electrodes”Mailsail – A Sailing Game
Mailsail is a sailing game made during a 2-week game jam in 2022.
The game is fully playable in the browser at https://trygvrad.itch.io/mailsail
.edf viewer
My edf viewer is a simple program to explore .edf files from the European Synchrotron Radiation Facility (ESRF).
Continue reading “.edf viewer”Colorshifter
Colorshifter is an image manipulation app that for transforming the colorspace of an image in L*a*b* color coordinates. github
Continue reading “Colorshifter”