pygmi.test package¶
Submodules¶
pygmi.test.test_cluster module¶
These are tests. Run pytest on this file from within this directory to do the tests.
- pygmi.test.test_cluster.test_cluster()¶
test cluster.
- pygmi.test.test_cluster.test_crisp()¶
test crisp cluster.
- pygmi.test.test_cluster.test_fuzzy()¶
test fuzzy cluster.
pygmi.test.test_gravity module¶
These are tests. Run pytest on this file from within this directory to do the tests .
- pygmi.test.test_gravity.test_process_data()¶
test process gravity data.
pygmi.test.test_mag module¶
These are tests. Run pytest on this file from within this directory to do the tests.
- pygmi.test.test_mag.test_IGRF()¶
Tests IGRF Calculation.
- pygmi.test.test_mag.test_rtp()¶
Test RTP.
- pygmi.test.test_mag.test_tilt()¶
test tilt depth.
- pygmi.test.test_mag.test_tilt1()¶
test tilt angle.
pygmi.test.test_pfmod module¶
These are pfmod tests. Run this file from within this directory to do the tests.
- pygmi.test.test_pfmod.main()¶
Main test function
This test function compares the calculations performed by PyGMI to calculations performed by a external software - GM-SYS
A series of graphs are produced. If the test is successful, points and lines on the graphs will coincide.
- Return type:
None.
- pygmi.test.test_pfmod.test()¶
Test function using pytest.
pygmi.test.test_raster module¶
These are tests. Run pytest on this file from within this directory to do the tests.
- pygmi.test.test_raster.smalldata()¶
Small test dataset.
- pygmi.test.test_raster.test_agc()¶
Tests for AGC.
- pygmi.test.test_raster.test_aspect()¶
tests aspect.
- pygmi.test.test_raster.test_check_dataid()¶
test check dataid.
- pygmi.test.test_raster.test_corr2d()¶
tests corr2d.
- pygmi.test.test_raster.test_dratio()¶
test derivative ratio.
- pygmi.test.test_raster.test_equation()¶
tests equation editor.
- pygmi.test.test_raster.test_gradients()¶
test directional derivative.
- pygmi.test.test_raster.test_histcomp()¶
tests histogram compaction.
- pygmi.test.test_raster.test_histeq()¶
tests histogram equalisation.
- pygmi.test.test_raster.test_hmode()¶
tests hmode.
- pygmi.test.test_raster.test_img2rgb()¶
tests img to RGB.
- pygmi.test.test_raster.test_io_ascii(smalldata)¶
Tests IO for ascii files.
- pygmi.test.test_raster.test_io_rasterio(smalldata, ext, drv)¶
Tests IO for rasterio files.
- pygmi.test.test_raster.test_io_xyz(smalldata)¶
Tests IO for xyz files.
- pygmi.test.test_raster.test_norm()¶
tests norm2.
- pygmi.test.test_raster.test_norm255()¶
tests norm255.
- pygmi.test.test_raster.test_normalisation()¶
Tests for normalisation.
- pygmi.test.test_raster.test_shader()¶
tests shader.
- pygmi.test.test_raster.test_smooth()¶
Tests for smoothing.
- pygmi.test.test_raster.test_thgrad()¶
test total horizontal gradient.
- pygmi.test.test_raster.test_trimraster()¶
test trim raster.
- pygmi.test.test_raster.test_vertical()¶
test vertical derivative.
- pygmi.test.test_raster.test_viz()¶
test visibility.
Module contents¶
Tests for PyGMI.