Welcome to my Tkinter page!

Check out some of my Tkinter projects

Mg/Kg Dose Calculator for Gram Body Weights

Problem:

Accurate drug dosing is critical in experimental research involving animal subjects, especially for tests that depend on precise drug formulations. In our lab, we trained students who were new to scientific research and animal models of neurobiology. A significant challenge they faced was converting between different units: animals are weighed in grams, drugs are measured in grams, but dosing calculations must be expressed in milligrams of drug per kilogram of animal body weight. This complexity in unit conversions frequently lead to confusion and errors among novice scientists, impacting the accuracy and reliability of dosing.

Solution:

To reduce confusion around unit conversions and prevent calculation errors in drug dosing, a Tkinter desktop application with three key functionalities was developed. This application facilitates accurate drug formulation with three primary calculation functions:
  1. Calculating the required drug weight in both grams and milligrams based on the total volume of solution to be prepared and the desired mg/kg dose
  2. Determining the drug weight needed in grams and milligrams using the individual weights of animals in grams and the mg/kg dose
  3. Computing the total drug weight in grams and milligrams by considering the combined weight of the animals and the specified mg/kg dose
By automating these calculations, the application aids novice scientists in achieving accurate dosing with ease and confidence.

Tkinter UI

Tkinter GUI img

Short video demonstrating the desktop application's functionality

Behavioral Timer with Excel Data Output

Problem:

In our laboratory, we needed to quantify specific behaviors of animal test subjects during social interactions by tracking their frequency and duration. This process required continuous human observation, without the ability to look away to write paper notes or enter numerical data to a screen. Additionally, the need to monitor multiple behaviors and capture discrete occurrences in real time could not be effectively managed with traditional tools such as stopwatches or multiple timers, which would lead to inefficient and inaccurate data collection.

Solution:

A Tkinter desktop application was developed to address the need for detailed behavioral quantification. The application enables the user to quantify three different behaviors during one interaction session by recording total time and bout durations, and includes a tally for an additional discrete, fleeting behavior. With an easy-to-navigate interface, the application facilitates user input and outputs all data into a user-defined Excel spreadsheet for efficient data handling and analysis.

Tkinter UI

Tkinter GUI img

Short video demonstrating the desktop application's functionality

Click icon to return

to profile main page

home profile logo