Skip to content

zyl6698/GeoPython

 
 

Repository files navigation

Title: GeoPython,a project of using Python for geology related daily work Date: 2016-12-18 16:20 Category: Python

author: cycleuser
Copyright 2017 cycleuser
MileStone Date Function
Beginning Date 2016-07-07 6:20 TAS
Adding QAPF 2016-07-09 08:32 QAPF
Adding Wulff 2016-12-18 08:32 Wulf
Reconsitution 2017-03-15 15:30 Pearce and Harker
Single Zircon Ce 2017-03-25 15:30 Ballard
Multiple Zircon Ce 2017-03-28 15:30 MultiBallard
Multiple Samples CIPW Norm 2017-04-3 12:30 MultiCIPW
NewGUI 2017-07-23 12:30 GUI Powered By PyQt5

Introduction

GeoPython is a project of using Python for geology related daily work. It is a set of free softwares: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Use in Python

The standalone application files would only be provided on Windows platform.

Users of other Operating Systems please try to use GeoPython in Python.

Installation With PIP

The first thing to do is to install a Python Newer than 3.5, which can be download from Tsinghua Tuna

We recommend Anaconda3-4.0.0 and other newer versions of Anaconda3.

pip install --upgrade git+git://github.com/python-quantities/python-quantities.git@master
pip install geopython

Usage in Python interpreter

After the installation step above, GeoPython now becomes available in Python. And you can simply use it by type the following commands in your Python interpreter :

import sys
import geopython as gp
sys.exit(gp.begin())

Then you would see the new GUI that is under development for now.

New GUI!

Here is a new version of GUI, that is still under development.

The files of this New GUI can be found under the NewGUI folder.

Only a few functions are available for now, at the moment I am typing here there is only TAS and not even a whole good TAS function.

We may all know that nice things always happen gradually. So please be patient and give me some time.

I must apologize for the slow development, that is partially caused by my bad physical situation from the tumor operation at the end of last year, and mainly because my bad choice of choosing Kivy in the past. Kivy is cute and funny, but not as reliable as PyQt at all. That means I must learn to use PyQt5 from beginning to use it as the framework of the GUI of GeoPython.

The New TAS function need Data template file named as TAS.xlsx

The New Zircon Ce function need Data template file named as ZirconCe.xlsx

The New REE and Trace Elements function need Data template files: Trace27.xlsx Trace37.xlsx REE.xlsx

The New StereoNet Projection and the RoseMap function need Data template file named as Structure.xlsx

Usage Under Windows

If you are using Windows 7, there might comes anapi-ms-win-crtrelated error. You needto install KB2999226 and then install the Visual C++ Redistributable 2015. Of course, a sweet guy like me just packed them up and share here: 32 bit Windows7 64 bit WInodws7 .

For Windows Users, donwload the Windows version zip file and extrat the whole file into a folder, then just put your data in the correspoinding Xlsx file and double click the correspoinding main.exe and click on the function you need.

About

a set of python modules for geology related daily work

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.1%
  • HTML 12.9%