Kyle Douglass (@kmdouglass) 's Twitter Profile
Kyle Douglass

@kmdouglass

An engineer in optics, microscopy, and software development. Photo credit: perfectraw.ch Views are my own.

ID: 42066132

linkhttps://kylemdouglass.com calendar_today23-05-2009 17:46:55

2,2K Tweet

914 Followers

297 Following

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

I write a lot of #Python and #Rust code. Lately I've developed the feeling that n-dimensional arrays, the core of scientific programming, just don't provide the same value in lower-level, statically typed languages as they do in dynamic languages. C'est la vie.

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

Every time a student tells me their code is slow and that something needs to be rewritten in C/C++, I think of this meme 😜 More seriously, it's hard to explain to students why this meme is so often true because its lesson comes from experience. From reddit.com/r/ProgrammerHu…

Every time a student tells me their code is slow and that something needs to be rewritten in C/C++, I think of this meme 😜

More seriously, it's hard to explain to students why this meme is so often true because its lesson comes from experience.

From reddit.com/r/ProgrammerHu…
Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

This week I needed a simple live image viewer for a camera in the lab that only provides a C API as an interface, so I whipped one up using only the #Python standard library, numpy, and matplotlib. Feel free to use it if you need something similar 😎 gist.github.com/kmdouglass/422…

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

Has any one had any major issues using an acousto-optic deflector with a light source about 20 nm outside its design specification? The manufacturer says "no way this can work, buy a new one," but I'm thinking it will still be good enough. #optics #microscopy

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

Can anyone recommend any good resources for learning about inverse problems in general, preferably catered to experimentalists? I'm trying to compile a "toolbox" of what's available, but I'm finding specialist literature too technical.

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

I'm super interested to see how the JIT compiler and the option to disable the GIL in Python 3.13 evolve. I learned Python back in 2009 as a MATLAB alternative and it still continues to be my go-to tool for scientific programming. docs.python.org/3.13/whatsnew/…

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

Bad #Microscopy Ideas An autofocus that monitors a reflected IR TIRF beam for feedback, but instead of using OpenCV, the image is uploaded to a LLM with the prompt "what voltage should I send to the piezo stage?"

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

The Mono16 image format from 12-bit cameras can be confusing, especially if it's the least significant bits that serve as the zero padding. kylemdouglass.com/posts/the-mono…

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

"Too bad! Same old story! Once you've finished building your house you notice you've accidentally learned something that you really should have known--before you started." Nietzsche, Beyond Good and Evil I feel this way about science and engineering projects all the time 😜

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

When you accidentally open Fiji and spend one minute trying to find the "Remind me later" update dialog box just to close the program.

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

Raspberry Pi I2C Quickstart: Get started with I2C on the Raspberry Pi with a MCP4725 DAC kylemdouglass.com/posts/raspberr…

EPFL Center for Imaging (@epfl_imaging) 's Twitter Profile Photo

🔬✨ Opening of the #LatsisSymposium on Smart Microscopy EPFL with Laurène Donati, Martin Vetterli, Suliana Manley 🔬🗜🧫 & Andy Oates oaties! 🌍🔗 A fantastic event uniting 150 top scientists to explore the future of microscopy through #AI, #MachineLearning, and #Automation.

🔬✨ Opening of the #LatsisSymposium on Smart Microscopy <a href="/EPFL_en/">EPFL</a> with Laurène Donati,  <a href="/MartinVetterli/">Martin Vetterli</a>, <a href="/SulianaManley/">Suliana Manley 🔬🗜🧫</a> &amp; Andy Oates <a href="/OatesLab/">oaties</a>! 🌍🔗 A fantastic event uniting 150 top scientists to explore the future of microscopy through #AI, #MachineLearning, and #Automation.
Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

Check out my latest blog post about constructing coordinate systems and numerical meshes for the simulation of focus fields in a high NA microscope objective. kylemdouglass.com/posts/coordina… Feedback welcome! #microscopy #optics

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

After 1.5 years of tinkering and three rewrites, I'm happy to say that my web-based ray tracer for #optics and lens design has reached a point where I can finally start packing in features and make it *useful.* Feel free to let me know what you think. kmdouglass.github.io/cherry/

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

An important thing I learned when writing my own ray tracer for #optics design is that a 3D ray tracer is useless without also having a paraxial ray tracer. I started with a 3D ray trace algo, but spent all my time on the paraxial algos instead 😜 kmdouglass.github.io/cherry/

An important thing I learned when writing my own ray tracer for #optics design is that a 3D ray tracer is useless without also having a paraxial ray tracer. I started with a 3D ray trace algo, but spent all my time on the paraxial algos instead 😜

kmdouglass.github.io/cherry/
Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

A retrospective on building a LED dimmer circuit with a minimal understanding of electronics: kylemdouglass.com/posts/an-analo…

Kyle Douglass (@kmdouglass) 's Twitter Profile Photo

kmdouglass.github.io/cherry Cherry now has a database of materials and computes dispersion formulas on the fly. You can use it to compute paraxial values of lens systems across multiple wavelengths. Big thanks to refractiveindex.info for open sourcing their database!

kmdouglass.github.io/cherry

Cherry now has a database of materials and computes dispersion formulas on the fly. You can use it to compute paraxial values of lens systems  across multiple wavelengths.

Big thanks to refractiveindex.info for open sourcing their database!