pygmi 2.2.7__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pygmi-2.2.7/LICENSE.txt +623 -0
- pygmi-2.2.7/MANIFEST.in +7 -0
- pygmi-2.2.7/PKG-INFO +47 -0
- pygmi-2.2.7/README.md +55 -0
- pygmi-2.2.7/README.rst +20 -0
- pygmi-2.2.7/log.txt +242 -0
- pygmi-2.2.7/pygmi/__init__.py +22 -0
- pygmi-2.2.7/pygmi/clust/__init__.py +4 -0
- pygmi-2.2.7/pygmi/clust/crisp_clust.py +708 -0
- pygmi-2.2.7/pygmi/clust/datatypes.py +65 -0
- pygmi-2.2.7/pygmi/clust/fuzzy_clust.py +906 -0
- pygmi-2.2.7/pygmi/clust/graphs.py +421 -0
- pygmi-2.2.7/pygmi/clust/graphtool.py +667 -0
- pygmi-2.2.7/pygmi/clust/menu.py +139 -0
- pygmi-2.2.7/pygmi/clust/var_ratio.py +92 -0
- pygmi-2.2.7/pygmi/clust/xie_beni.py +93 -0
- pygmi-2.2.7/pygmi/helpdocs/linepointer.png +0 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.main.html +31 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.pfmod.ddisp.html +15 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.pfmod.iodefs.exportkmz.html +13 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.pfmod.iodefs.importpicture.html +16 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.pfmod.layer.html +17 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.pfmod.mext.html +44 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.pfmod.misc.rangedcopy.html +16 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.pfmod.param.html +37 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.pfmod.prof.html +32 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.pfmod.pview.html +26 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.cooper.gradients.html +14 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.cooper.tilt.html +14 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.cooper.visibility.html +14 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.dataprep.datagrid.html +13 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.dataprep.datamerge.html +11 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.dataprep.datareproj.html +11 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.dataprep.rtp.html +14 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.ginterp.html +31 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.igrf.html +20 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.normalisation.html +14 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.smooth.html +22 -0
- pygmi-2.2.7/pygmi/helpdocs/pygmi.raster.tiltdepth.html +20 -0
- pygmi-2.2.7/pygmi/images/Help.png +0 -0
- pygmi-2.2.7/pygmi/images/bringtofront.png +0 -0
- pygmi-2.2.7/pygmi/images/cgs2.emf +0 -0
- pygmi-2.2.7/pygmi/images/delete.png +0 -0
- pygmi-2.2.7/pygmi/images/linepointer.png +0 -0
- pygmi-2.2.7/pygmi/images/logo256.ico +0 -0
- pygmi-2.2.7/pygmi/images/logo256.png +0 -0
- pygmi-2.2.7/pygmi/images/pointer.png +0 -0
- pygmi-2.2.7/pygmi/images/pygmi.png +0 -0
- pygmi-2.2.7/pygmi/images/sendtoback.png +0 -0
- pygmi-2.2.7/pygmi/main.py +1037 -0
- pygmi-2.2.7/pygmi/menu_default.py +327 -0
- pygmi-2.2.7/pygmi/misc.py +147 -0
- pygmi-2.2.7/pygmi/pfmod/__init__.py +6 -0
- pygmi-2.2.7/pygmi/pfmod/cubes.py +1488 -0
- pygmi-2.2.7/pygmi/pfmod/datatypes.py +292 -0
- pygmi-2.2.7/pygmi/pfmod/grvmag3d.py +1265 -0
- pygmi-2.2.7/pygmi/pfmod/iodefs.py +1001 -0
- pygmi-2.2.7/pygmi/pfmod/menu.py +107 -0
- pygmi-2.2.7/pygmi/pfmod/misc.py +301 -0
- pygmi-2.2.7/pygmi/pfmod/pfmod.py +248 -0
- pygmi-2.2.7/pygmi/pfmod/tab_ddisp.py +425 -0
- pygmi-2.2.7/pygmi/pfmod/tab_layer.py +490 -0
- pygmi-2.2.7/pygmi/pfmod/tab_mext.py +544 -0
- pygmi-2.2.7/pygmi/pfmod/tab_param.py +548 -0
- pygmi-2.2.7/pygmi/pfmod/tab_prof.py +946 -0
- pygmi-2.2.7/pygmi/pfmod/tab_pview.py +740 -0
- pygmi-2.2.7/pygmi/raster/IGRF11.COF +1635 -0
- pygmi-2.2.7/pygmi/raster/__init__.py +14 -0
- pygmi-2.2.7/pygmi/raster/cooper.py +718 -0
- pygmi-2.2.7/pygmi/raster/dataprep.py +1640 -0
- pygmi-2.2.7/pygmi/raster/datatypes.py +123 -0
- pygmi-2.2.7/pygmi/raster/equation_editor.py +256 -0
- pygmi-2.2.7/pygmi/raster/ginterp.py +1901 -0
- pygmi-2.2.7/pygmi/raster/graphs.py +531 -0
- pygmi-2.2.7/pygmi/raster/igrf.py +860 -0
- pygmi-2.2.7/pygmi/raster/iodefs.py +813 -0
- pygmi-2.2.7/pygmi/raster/menu.py +307 -0
- pygmi-2.2.7/pygmi/raster/normalisation.py +187 -0
- pygmi-2.2.7/pygmi/raster/show_table.py +245 -0
- pygmi-2.2.7/pygmi/raster/smooth.py +406 -0
- pygmi-2.2.7/pygmi/raster/tiltdepth.py +590 -0
- pygmi-2.2.7/pygmi/seis/__init__.py +0 -0
- pygmi-2.2.7/pygmi/seis/beachball.py +751 -0
- pygmi-2.2.7/pygmi/seis/datatypes.py +605 -0
- pygmi-2.2.7/pygmi/seis/del_rec.py +410 -0
- pygmi-2.2.7/pygmi/seis/iodefs.py +1261 -0
- pygmi-2.2.7/pygmi/seis/menu.py +136 -0
- pygmi-2.2.7/pygmi/seis/scan_imp.py +795 -0
- pygmi-2.2.7/pygmi/test/__init__.py +6 -0
- pygmi-2.2.7/pygmi/test/pfmod.py +212 -0
- pygmi-2.2.7/pygmi/test/tests.py +39 -0
- pygmi-2.2.7/pygmi/vector/__init__.py +7 -0
- pygmi-2.2.7/pygmi/vector/datatypes.py +74 -0
- pygmi-2.2.7/pygmi/vector/graphs.py +443 -0
- pygmi-2.2.7/pygmi/vector/iodefs.py +345 -0
- pygmi-2.2.7/pygmi/vector/menu.py +127 -0
- pygmi-2.2.7/pygmi.egg-info/PKG-INFO +47 -0
- pygmi-2.2.7/pygmi.egg-info/SOURCES.txt +105 -0
- pygmi-2.2.7/pygmi.egg-info/dependency_links.txt +1 -0
- pygmi-2.2.7/pygmi.egg-info/entry_points.txt +3 -0
- pygmi-2.2.7/pygmi.egg-info/not-zip-safe +1 -0
- pygmi-2.2.7/pygmi.egg-info/requires.txt +7 -0
- pygmi-2.2.7/pygmi.egg-info/top_level.txt +1 -0
- pygmi-2.2.7/quickstart.py +35 -0
- pygmi-2.2.7/setup.cfg +8 -0
- pygmi-2.2.7/setup.py +80 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<body>
|
|
4
|
+
<h1>Dataset Gridding</h1>
|
|
5
|
+
<p>This is a simple, fast, gridding routine for an x,y,z dataset. The routine itself finds the average of the neighbouring area and assigns that to the grid cell. It is perfect for quickly looking at your data, bearing in mind that it is probably not the perfect routine for representing all data.</p>
|
|
6
|
+
<p>The input is a point or line dataset, imported from the vector menu. Note that the x and y columns must be the first two columns in your dataset.</p>
|
|
7
|
+
<h2>Options</h2>
|
|
8
|
+
<ul>
|
|
9
|
+
<li>Cell size - This represents the size of a square raster grid cell, in the units of the grid (normally meters).</li>
|
|
10
|
+
<li>Column to grid - This allows you to select the z column to grid.</li>
|
|
11
|
+
</ul>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<body>
|
|
4
|
+
<h1>Data Merge and Resampling</h1>
|
|
5
|
+
<p>This will allow datasets to be merged and resampled to a common cell size. It can also be used for a single dataset to be resampled. The resulting rows and columns of the new grid are displayed.</p>
|
|
6
|
+
<h2>Options</h2>
|
|
7
|
+
<ul>
|
|
8
|
+
<li>Cell size - This represents the size of a square raster grid cell, in the units of the grid (normally meters).</li>
|
|
9
|
+
</ul>
|
|
10
|
+
</body>
|
|
11
|
+
</html>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<body>
|
|
4
|
+
<h1>Dataset Reprojection</h1>
|
|
5
|
+
<p>This is a versatile routine allowing for the reprojecting of a dataset between two projections. All projections are obtained from EPSG codes. </p>
|
|
6
|
+
|
|
7
|
+
<h2>Options</h2>
|
|
8
|
+
<p>The options are the same for both input and output projections. The choice of projection is obtained through a drop box. The first part of the entry on the drop box shows the datum, and the last part shows the projection.</p>
|
|
9
|
+
<p>Should you wish to project to or from degrees, the entry will be Datum / Geodetic Geographic, where Datum is your local datum of choice.</p>
|
|
10
|
+
</body>
|
|
11
|
+
</html>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<body>
|
|
4
|
+
<h1>Reduction to the Pole</h1>
|
|
5
|
+
<p>This is a reduction to the pole routine for Magnetic data.</p>
|
|
6
|
+
<p>The input is a raster dataset.</p>
|
|
7
|
+
<h2>Options</h2>
|
|
8
|
+
<ul>
|
|
9
|
+
<li>Band to Reduce to the Pole - This should be magnetic data.</li>
|
|
10
|
+
<li>Inclination - Magnetic inclination at the date of the survey.</li>
|
|
11
|
+
<li>Declination - Magnetic declination at the date of the survey.</li>
|
|
12
|
+
</ul>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<body>
|
|
4
|
+
<h1>Raster Data Interpretation</h1>
|
|
5
|
+
<p>This allows for the display of data in a variety of ways common to most image processing packages. The resultant dataset can then be exported as a geotiff for vector interpretation in a GIS package. Each display type is discussed below.</p>
|
|
6
|
+
<h2>Single Color Map</h2>
|
|
7
|
+
<p> This displays a single band of data by mapping its values to a color map or color table.
|
|
8
|
+
<ul>
|
|
9
|
+
<li>Data bands - the band to be displayed is chosen here.</li>
|
|
10
|
+
<li>Histogram Stretch - The choice of how to map the data is chosen here. The options are 'Linear' (data is unchanged), '95% linear, 5% compact' (compacts 5% of the outliers of the data)and 'Histogram Equalisation' (gives all colors the same amount of data samples, so that maximum change is seen in the map)</li>
|
|
11
|
+
<li>Color Bar - Here you can choose the color bar to map the colors with.</li>
|
|
12
|
+
</ul>
|
|
13
|
+
<h2>Contour</h2>
|
|
14
|
+
<p>This has the same options as the single color map, but displays the data using contours instead.</p>
|
|
15
|
+
<h2>RGB Ternary</h2>
|
|
16
|
+
<p>This option displays three bands, one red, one green and one blue. Because of this, no color map can be chosen, and now three bands must be chosen. Histogram stretch is the same as for previous sections.</p>
|
|
17
|
+
<h2>CMY Ternary</h2>
|
|
18
|
+
<p>This option displays three bands, one cyan, one magenta and one yellow. As before, no color map can be chosen, and now three bands must be chosen. Histogram stretch is the same as for previous sections.</p>
|
|
19
|
+
<h2>Sunshade</h2>
|
|
20
|
+
<p>This option applies a sunshade algorithm to the data. Two bands are chosen, the first is the color and the second is the sunshade band. A Histogram stretch for each band can be chosen. A color bar can be chosen for the color band.</p>
|
|
21
|
+
<ul>
|
|
22
|
+
<li>Sun Angle - This is chosen by clicking on a small circular map. A blue dot denotes the sun's azimuth and elevation.</li>
|
|
23
|
+
<li>Sunshade Detail - controls how much sunshade detail is present. Decrease this to increase the detail.</li>
|
|
24
|
+
<li>Light Reflectance - controls the light reflectance of the surface. </li>
|
|
25
|
+
</ul>
|
|
26
|
+
<h2>Save Geotiff</h2>
|
|
27
|
+
<p>Use this to save your final maps as a Geotiff. This will also save two color bars (one vertical and one horizontal) or a ternary color bar. The size of the color bar relates to how big you wish it to be on the paper map.</p>
|
|
28
|
+
<h2>References</h2>
|
|
29
|
+
<p>Horn, B. K. P., 1981. Hill shading and the reflectance map. Proceedings of the IEEE, 69(1), 14-47. doi:10.1109/PROC.1981.11918</p>
|
|
30
|
+
</body>
|
|
31
|
+
</html>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<body>
|
|
4
|
+
<h1>Calculate IGRF Corrected Data</h1>
|
|
5
|
+
<p>This calculates IGRF corrected version of the magnetic data. It requires, as input, a magnetic dataset for an area as well as a digital elevation model. Since the IGRF correction relates to latitude and longitude, the projection of the input dataset is required.</p>
|
|
6
|
+
<h2>Options</h2>
|
|
7
|
+
<h3>Input Projection</h3>
|
|
8
|
+
<p>The choice of projection is obtained through a drop box. The first part of the entry on the drop box shows the datum, and the last part shows the projection.</p>
|
|
9
|
+
<p>Should you wish choose degrees, the entry will be Datum / Geodetic Geographic, where Datum is your local datum of choice.</p>
|
|
10
|
+
<h3>IGRF Options</h3>
|
|
11
|
+
<ul>
|
|
12
|
+
<li>Sensor Clearance above ground - This is the height, in meters, of the sensor measuring the magentic field, above the ground.</li>
|
|
13
|
+
<li>Date - This is the survey date. The IGRF field changes depending on when the magnetic data was collected, so the survey date must be taken into account.</li>
|
|
14
|
+
<li>Digital Elevation Model - raster grid of the terrain in height above sea level.</li>
|
|
15
|
+
<li>Magnetic Data - raster grid of the magnetic data to be corrected.</li>
|
|
16
|
+
</ul>
|
|
17
|
+
<h2>References</h2>
|
|
18
|
+
<p>IGRF Code (Accessed 28 March, 2014, http://www.ngdc.noaa.gov/IAGA/vmod/igrf.html), originally written in FORTRAN, was developed using subroutines written by A. Zunde (USGS), S.R.C. Malin & D.R. Barraclough (Institute of Geological Sciences, United Kingdom). Translated into C by Craig H. Shaffer. Rewritten by David Owens and maintained by: Stefan Maus (NOAA)</p>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<body>
|
|
4
|
+
<h1>Normalisation/Scaling</h1>
|
|
5
|
+
<p>Normalisation and scaling are the process of scaling your data to some predetermined range. It is often between 0 and 1, but can be according to a model. Normalisation and scaling are often used when comparing different types of data in routines such as cluster analysis.</p>
|
|
6
|
+
<h2>Options</h2>
|
|
7
|
+
<ul>
|
|
8
|
+
<li>Interval - This simply stretches the data values between 0 an 1.</li>
|
|
9
|
+
<li>Mean - This sets the mean of the dataset to 0, and the standard deviation of the dataset to +/- 1</li>
|
|
10
|
+
<li>Median - This sets the median of the dataset to 0, and the median absolute deviation of the dataset to +/- 1</li>
|
|
11
|
+
<li> 8-bit histogram equalisation - this seeks to distribute the data equally across 255 values.</li>
|
|
12
|
+
</ul>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<body>
|
|
4
|
+
<h1>Smoothing Filters</h1>
|
|
5
|
+
<p>The smoothing filters work by passing a matrix which contains the filter over your raster dataset. The filter type, filter shape and the filter size can all be specified.</p>
|
|
6
|
+
<h2>Filter Type</h2>
|
|
7
|
+
<p>This can be either 2D median or 2D mean. Note that your choice of filter may affect the number of filter shape options you have.</p>
|
|
8
|
+
<h2>Filter Shape</h2>
|
|
9
|
+
<ul>
|
|
10
|
+
<li>Box window - this is a regular square matrix with constant values applied to your dataset.</li>
|
|
11
|
+
<li>Disk window - this applies a disk of constant values to your dataset</li>
|
|
12
|
+
<li>Gaussian Window - this applies a gaussian shaped filter to your dataset. This option is only present for the 2D mean filter type.</li>
|
|
13
|
+
</ul>
|
|
14
|
+
<h2>Filter Size</h2>
|
|
15
|
+
The options here are dependant on the option chosen in filter shape. They are as follows:
|
|
16
|
+
<ul>
|
|
17
|
+
<li>X and Y for the Box window - this is the number of rows and columns which will make up the box window</li>
|
|
18
|
+
<li>Radius in samples for the Disk window - this creates a disk of the specified radius. The disk will have 2*radius rows and columns</li>
|
|
19
|
+
<li>Standard Deviation for the Gaussian Window - this creates the Gaussian box window where the values have the standard deviation specified.</li>
|
|
20
|
+
</ul>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<body>
|
|
4
|
+
<h1>Tilt Depth Interpretation</h1>
|
|
5
|
+
<p>The tilt depth interpretation is a techniques for calculating depths to vertical sided bodies from the magnetic tilt angle. As such it required magnetic data as input.</p>
|
|
6
|
+
<p>This works on the principle that the distance between the -45 degree and 45 degree tilt angle is twice the distance to the body. This zone of interest is highlighted on the map.</p>
|
|
7
|
+
<p>What is important to note is that this technique works best with data which has been reduced to the pole. For this reason, RTP has been built into the module.</p>
|
|
8
|
+
<h2>Options</h2>
|
|
9
|
+
<ul>
|
|
10
|
+
<li>Band to perform tilt depth - this should be magnetic data</li>
|
|
11
|
+
<li>Color Bar - colors used to display the tilt angle data.</li>
|
|
12
|
+
<li>Inclination of Magnetic Field - inclination of the field at the location and date of survey.</li>
|
|
13
|
+
<li>Declination of Magnetic Field - declination of the field at the location and date of survey.</li>
|
|
14
|
+
<li>Recalculate Tilt Depth - used to recalculate after changing inclination or declination.</li>
|
|
15
|
+
</ul>
|
|
16
|
+
<h2>References</h2>
|
|
17
|
+
<p>Based, in part, on the work of EH Stettler.</p>
|
|
18
|
+
<p>Salem et al., 2007, Leading Edge, Dec,p1502-5<p>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|