tspi.at

Using the RaspberryPi GPIOs on FreeBSD

15 Oct 2023 - tsp

Reading time 5 mins

Mini summary and recipes to use the RaspberryPi GPIOs from FreeBSD

The most simple Difference of Gaussian image pyramid with OpenCL

06 Aug 2023 - tsp

Reading time 22 mins

The following blog article summarizes a quick implementation of a Difference of Gaussian (DoG) pyramid as approximation of a Laplacian of a Gaussian pyramid. It does not utilize optimizations so performance (around 10ms for a simple 6 octave pyramid) is rather low.

Assigning unique device names for CP2102N serial port devices on FreeBSD

26 Jun 2023 - tsp

Reading time 5 mins

Just a short recipe on how to get unique device names for CP2102N serial or RS485 to USB adapters even when they're renumbered by the operating system.

Triggering Jenkins build from locally hosted git repository using the post-receive commit hook

11 Jun 2023 - tsp

Reading time 6 mins

A short summary on how to trigger Jenkins jobs by executing a post-receive commit hook in a git repository

Using the CP2102N USB to UART bridge

27 May 2023 - tsp

Reading time 22 mins

A mini summary (mostly for my own reference) on how to use the CP2102N USB to UART bridge in minimal configurations. This article explains the different powering schemes, lists some of the uncommon functionality and shows the design of a simple USB to TTL serial and USB to RS485 half duplex interface board. In addition it contains a short introduction on how to configure the USB chipsets later on.

Some simple image filters by convolution in Python and OpenCL

14 May 2023 - tsp

Reading time 71 mins

This short article contains a summary about image filters and how one can realize them. It will contain a short reminder of how convolution works, what separable filters are and some example of image filters and their (most inefficient but direct) implementation in Python. In the end it will also show how one might naively implement convolution in OpenCL to increase performance in comparison to the naive Python implementations shown. This article provides one with a small playground to quickly try out separable image filter kernels and execute them on the GPU using pyopencl from a Python testing environment.

Towards Driving Quantum Systems in Cryogenic Environments with the Near-Field of Modulated Electron Beams

13 Apr 2023 - T. Spielauer, M. Kolb, T. Weigner, J. Toyfl, G. Boero, P. Haslinger

Reading time 1 min

Presented at the 13th ASEM (Austrian Society for Electron Microscopy) workshop: Coherent electro-magnetic control of quantum systems is usually done by electro-magnetic radiation - which limits addressing single selected quantum systems, especially in the microwave range. In our proof of concept experiment we want to couple for the first time the non-radiative electro-magnetic near-field of a spatially modulated electron beam to a quantum system in a coherent way. As the quantum system we use the unpaired electron spins of a free radical organic sample (Koelsch radical - α, γ-Bisdiphenylene-β-phenylallyl) that is excited via the near-field of the modulated electron beam. The readout of the spin excitation resembles a standard continuous wave electron spin resonance experiment and is done inductively via a microcoil using a lock-in amplifier. In the long term this experiment should demonstrate the feasability of coherent driving and probing of quantum systems far below the diffraction limit of electro-magnetic radiation by exploiting the high spatial resolution of an electron beam.

Using pycryptodomex for encryption and signing (PKCS1 OAEP and PSS) in Python

22 Mar 2023 - tsp

Reading time 18 mins

This is a short summary or rather recipe collection on how to use ```pycryptodomex``` for some simple encryption and decryption procedures using RSA with the OAEP schemes from ```PKCS#1``` as well as signing and verification routines using the PSS scheme.

Towards Driving Quantum Systems with the Non-Radiating Near-Field of a Modulated Electron Beam

10 Mar 2023 - Weigner, T., Kolb, M., Spielauer, T., Toyfl, J., Boero, G., Haslinger, P.

Reading time 1 min

Presented at the DPG-Frühjahrstagung der Sektion Atome, Moleküle, Quantenoptik und Photonik (SAMOP 2023) Coherent manipulation of quantum systems generally relies on electromagnetic radiation as produced by lasers or microwave sources. In the experiment presented here we attempt a novel approach to drive quantum systems, as it was recently proposed (D. Rätzel, D. Hartley, O. Schwartz, P. Haslinger, A Quantum Klystron - Controlling Quantum Systems with Modulated Electron Beams. Phys. Rev. Research 3, 023247, 2021). This method utilizes the non-radiating near-field of a modulated electron beam to coherently drive quantum systems, leading to new possibilities for controlling quantum states. For instance, one can locally address subsystems far below the diffraction limit of electromagnetic radiation or paint potentials at atomic scales. In this proof of concept experiment, we want to couple the oscillating near-field of a spatially modulated electron beam to the unpaired spins of a solid, organic radical sample (BDPA) or the hyperfine levels of laser cooled Potassium atoms. The electron beam is generated with a cathodic ray tube from a fast analog oscilloscope.

Running JupyterLab behind an authenticating haproxy setup using basic auth

27 Jan 2023 - tsp

Reading time 9 mins

The journey of getting a JupyterLab instance running behind a haproxy reverse proxy on Manjaro Linux and FreeBSD - with some drawbacks.


Data protection policy

Dipl.-Ing. Thomas Spielauer, Wien (webcomplains389t48957@tspi.at)

This webpage is also available via TOR at http://rh6v563nt2dnxd5h2vhhqkudmyvjaevgiv77c62xflas52d5omtkxuid.onion/

Valid HTML 4.01 Strict Powered by FreeBSD IPv6 support