Skip to content

scottgallacher-3/P3Group-GUI-extension

Repository files navigation

P3Group-GUI-extension

Repository for Graphical User Interface upgrade to P3-Group input system.

The original project used a pre-made image and relied on correct formatting of RGB colour values. Now, users can design and process their inputs via a GUI built with python's tkinter module. This allows:

  • More flexibility in creating input boundaries with a choice of shapes.
  • Better accuracy with improved control over positioning, size, and rotation of canvas shapes.
  • Accurate control of boundary conditions by direct setting of potential values, removing limitations of scaling based on RGB's 0-255 gradient.
  • Possibility to operate input, processing of E-field calculation, and display outputs within one user-friendly location.

The E-field solver can be launched very simply:

  • Running solver.py as a Python script.
  • Or via the following code in a Jupyter Notebook.
import solver
solver.create()

Input and Solution Example - Perturbed Parallel Plates

Standard Interface:

Adding the Electrostatic Boundary Shapes:

Finished Canvas - Begin Processing:

Window Output of Solved E-field:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published