Skip to main content

Python

2024

Using YOLO people detection with Segment Anything 2 from META
·2110 words·10 mins
Demos AIML Ml Sam2 Python Yolo
A quick and dirty example of creating a chef cookbook with rspec tests.

2022

Automating the circularization of Apollo in Kerbal with python, KRPC, and Physics
·1729 words·9 mins
Deep-Dive Physics Kerbal Python Physics Space
Using the krpc library, we can automate a rocket simulator, turnking Kerbal space program into a more powerful educational tool. In this post, we automate the launching and circularization of the Kerbal equivalent of the Apollo rocket.

2018

Headless Python Selenium With Behave
·2394 words·12 mins
Light-Dive Howto Python Software-Testing
Selenium Testing a Web App can be a quick and productive win.
Using PNNL's new Cividis colormap in data science to make accessible heat maps
·725 words·4 mins
Middle-Dive Howto Accessibility Data-Science Python
Recent work at PNNL has introduced a mathematically optimized colormap called Cividis that optimizes viewing of heatmaps and other plots for both those with and without full color vision
Exploring Wikipedia Page Count Trends
·2857 words·14 mins
Middle-Dive Howto Timeseries Wiki Data-Science Python Statistics
There are some readily available tools in python for doing time series analysis, and these tools can be used to study Wikipedia page count stats.

2017

Python Uses Operational Chaining for Boolean Comparisons
·631 words·3 mins
Deep-Dive Software Python Computer-Science
It is important to understand Python’s use of operational chaining to avoid programming errors.