<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Modules</title><link>https://sourceforge.net/p/microbegps/wiki/Modules/</link><description>Recent changes to Modules</description><atom:link href="https://sourceforge.net/p/microbegps/wiki/Modules/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 29 Apr 2014 15:30:53 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/microbegps/wiki/Modules/feed" rel="self" type="application/rss+xml"/><item><title>Modules modified by Martin S. Lindner</title><link>https://sourceforge.net/p/microbegps/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -8,13 +8,15 @@

 Simply place a python script (text file with ending `.py`) in the `microbegps/modules` directory. MicrobeGPS will automatically import all python files in this location. The python script is expected to have a class called `GPSModule` with an `__init__` function that takes the whole MicrobeGPS instance as argument. Otherwise the module will not be loaded.

-The most simple module would look like that and would do nothing:
+The most simple module would look like that and does nothing:

     :::python
-    class GPSModule():
+    class GPSModule:
         def __init__(self,GPS):
             pass

+You can now access all elements of MicrobeGPS via the `GPS` variable. In principle, you would be able to change every little detail of the tool, including the analysis pipeline. Since you are interacting with the core of MicrobeGPS, you should take some minutes and read up the lines of code in the `gui.py` file you intend to interact with.
+
+A good starting point would be to have a look at the existing modules, where the search tab implementation (`search_tab.py`) is the most comprehesible one.

-
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin S. Lindner</dc:creator><pubDate>Tue, 29 Apr 2014 15:30:53 -0000</pubDate><guid>https://sourceforge.net0a8fa083d122c9d50426ccbb300c2bc950689a0e</guid></item><item><title>Modules modified by Martin S. Lindner</title><link>https://sourceforge.net/p/microbegps/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -8,7 +8,13 @@

 Simply place a python script (text file with ending `.py`) in the `microbegps/modules` directory. MicrobeGPS will automatically import all python files in this location. The python script is expected to have a class called `GPSModule` with an `__init__` function that takes the whole MicrobeGPS instance as argument. Otherwise the module will not be loaded.

-The most simple module would look like that:
-    #!/usr/bin/python
-    # Code goes here ...
-This module would do nothing.
+The most simple module would look like that and would do nothing:
+
+    :::python
+    class GPSModule():
+        def __init__(self,GPS):
+            pass
+
+
+
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin S. Lindner</dc:creator><pubDate>Tue, 29 Apr 2014 15:02:15 -0000</pubDate><guid>https://sourceforge.net74d08c462de19d9779d12e073d939ef77d5e3c94</guid></item><item><title>Modules modified by Martin S. Lindner</title><link>https://sourceforge.net/p/microbegps/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,4 +1,3 @@
-
 GPS Modules
 ===========

@@ -7,4 +6,9 @@
 How to create your own module
 -----------------------------

-Simply place a python script (text file with ending `.py`) in the `microbegps/modules` directory. MicrobeGPS will automatically import all python files in this location. The python script is expected to have a class called `GPSModule` with an `__init__` function that takes the whole MicrobeGPS instance as argument.
+Simply place a python script (text file with ending `.py`) in the `microbegps/modules` directory. MicrobeGPS will automatically import all python files in this location. The python script is expected to have a class called `GPSModule` with an `__init__` function that takes the whole MicrobeGPS instance as argument. Otherwise the module will not be loaded.
+
+The most simple module would look like that:
+    #!/usr/bin/python
+    # Code goes here ...
+This module would do nothing.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin S. Lindner</dc:creator><pubDate>Tue, 29 Apr 2014 15:00:12 -0000</pubDate><guid>https://sourceforge.netf920246b954039756af45a35a84abeaee2a78721</guid></item><item><title>Modules modified by Martin S. Lindner</title><link>https://sourceforge.net/p/microbegps/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="gps-modules"&gt;GPS Modules&lt;/h1&gt;
&lt;p&gt;MicrobeGPS can be easily extended by modules that can provide additional functionality to the core program. Modules are simple Python scripts with a fixed structure, that are executed upon program start. The neat thing of modules is that you can easily add functionality to MicrobeGPS without touching (or even breaking) the core application. And the modules can also be used to extend the binary distributions!&lt;/p&gt;
&lt;h2 id="how-to-create-your-own-module"&gt;How to create your own module&lt;/h2&gt;
&lt;p&gt;Simply place a python script (text file with ending &lt;code&gt;.py&lt;/code&gt;) in the &lt;code&gt;microbegps/modules&lt;/code&gt; directory. MicrobeGPS will automatically import all python files in this location. The python script is expected to have a class called &lt;code&gt;GPSModule&lt;/code&gt; with an &lt;code&gt;__init__&lt;/code&gt; function that takes the whole MicrobeGPS instance as argument.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin S. Lindner</dc:creator><pubDate>Tue, 29 Apr 2014 14:35:38 -0000</pubDate><guid>https://sourceforge.netcfec1f68700377f782a14c20f0f1ad8082df23da</guid></item></channel></rss>