Skip to content

lemaurK/GwyddionResearch2022

Repository files navigation

UTA-DataScience-Logo

GwyddionResearch2022

Hello researchers!

  • This github repository functions as a hub for all iterations of code required to conduct cross sectional grain analysis from AFM images using Gwyddion analytical sofware and a bit of python.

Overview

The purpose for the task above is to provide a quantitatively supported description of the growth rate of the samples represented in the AFM images. Being able to define a growth rate for a reaction has many important applications that can be built on, resulting in unique findings. Defining a growth rate, for this specific application, involves analyzing relative maxima/minima of cross sections sliced from a scan. Making statistical calculations such as averages and standard deviations are also paramount to reliable growth rates.

Summary of Work Done

Data

  • Gwyddion Data
    • Type: AFM Images
      • Exported Data: CSV containing matrix of height values (z-values) with dimensions N x N reflecting the size of the inital scan
    • Size (512px x 512px image for example): 4600KB

Peek at Data

  • Sample AFM Scan

image

  • Crossection of above white line

image

  • Exported matrix of cross-sectional height data

image

Preprocessing / Clean up

Explained in detail within documentation.

Conclusion

  • Given that Gwyddion has plenty of analysis capabilities within the software, it was clear growth rate analysis would need to be conducted on its own. Through a series of developing, testing, and comparing the results of my python scripts I landed on a confident model worthy of implementation. There will always be room for improvement, however the structure of the codebase is tailored to be friendly to novices, with debugging capabilities included.

Future Work

  • Settle on a physical model that captures the appropriate mixture of physics and chemistry topics included in this experiment. Once a model is decided upon, create a simple script to add the curve to the final plots.

How to reproduce results

Explained in detail within documentation.

Overview of files in repository

  • AFM Image Data
  • Grain Analysis Jupyter Notebook Script
  • Grain Analysis Python Script
  • Pygwy Console Script

Software Setup and Python Packages Required

  • First, you will need to install Gwyddion 32 bit version here.

  • You will need the 32 bit version in order to utilize Pygwy Scripting, which allows us to manipulate the software and extract pertinent data in one shot. Documentation and the forums for Gwyddion and Pygwy Scripting will come in handy in a pinch.

  • You will also need to install the latest version of Python3 and Python2.7

  • Just in case you have any trouble getting the Pygwy Console in Gwyddion to appear under the Data Process field this forum thread should help.

  • Install wsl2 Ubuntu to use Jupyter Notebooks. This link is for Windows machines only.

Python Packages

  • Matplotlib
  • Numpy
  • scipy
  • csv

Citations

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published