GSoC/GCI Archive
Google Code-in 2014 FOSSASIA

Magnetic Field Unit Converter - Create a simple GUI application in python for Magnetic Field Unit Conversion.

completed by: Jasper Yu

mentors: Praveen Patil

Note: Please do not claim this task if you have already completed a similar task on unit conversion tool in python.


Unit Conversion Tools

Unit conversions are an important part of scientific calculations. Without knowing these conversions our understanding of science would be severely limited. Even if science/math is not a chosen field of study, the average citizen can also benefit from knowing these conversions.


The units that most people from the United States are familiar with are the English Units. For instance, you know that a football field is 100 yards long, or that the speed limit on the highway is 65 miles per hour. Most people from other countries however, are not familiar with the English System, instead they know the Metric System.Therefore unit conversion tools have become a necessity in our day-to-day life.


Learning Objective of the Task

To learn GUI programming with python and contribute to world of FOSS and Science Education with easy to use applications.


Details of the Task

Create a simple GUI application in python for converting unit of 'Magnetic Field' from one system of units to another.


For example 'gauss' to 'tesla' {1gauss (G) is equal to 0.0001 tesla (T)}.

Consider adding all the related units like gauss, tesla, weber per square meter etc...


You can use python GUI tools like Tkinter, GTK or wxPython. 


In the application one should be able to easily convert  'Magnetic Field' measurements such as gauss or tesla  to weber per square meter etc.

User should  select units for conversion (To and From) and enter the value of Magnetic Field and click on convert button to get the converted value.


 Example GUI

 (Its for Temperature. You need to create a similar one for Magnetic Field unit conversion..... You are free to use your creativity while designing the GUI  :) )




Share your Learning Experience

During the process of working on this task and/or when you finish it,


Some useful links

  1. Magnetic Field Units :
  2. Magnetic Field Unit Conversion :
  3. Example Tool 1:
  4. Example Tool 2:
  5. Python GUI Programming :
  6. GUI in python :