Coder Social home page Coder Social logo

kelvinrr / pysat_point_spectra_gui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from astroindhu/pysat_point_spectra_gui

1.0 3.0 0.0 33.6 MB

This repository contains code for a GUI for analyzing LIBS and other point spectra.

License: Other

Python 99.80% Batchfile 0.02% Shell 0.19%

pysat_point_spectra_gui's Introduction

Build Status Coverage Status Join the chat at https://gitter.im/USGS-Astrogeology/PySAT

Installation

1. Fresh install of Miniconda (Skip to step 2 if you have Anaconda/Miniconda)

*Note for Windows: Please make sure you do not have any previous versions of Python on your system. If you do, it may make it difficult for Anaconda/Miniconda to use the command conda
If you're still having issues with uninstalling Python, I recommend using IObit Uninstaller
Lastly, if all else fails, try turning your machine off and then on again.

Install Miniconda

2. Download the environment file (right click the link and save)

Environment.yml

3. Open a terminal (on Windows, cmd, not Powershell) in the directory where you saved the file and type:

conda install conda=3  # SKIP THIS LINE ON WINDOWS
conda env create -n point_spectra_gui -f environment.yml
source activate point_spectra_gui  # omit the `source` on Windows

4. Done! How to use point_spectra_gui

source activate point_spectra_gui  # omit the `source` on Windows
point_spectra_gui

5. Optional. Run program with a script

If you'd like to be able to run our program without having to retype 4 out, simply copy the below text into notepad, and then save it as point_spectra_gui.bat

call activate point_spectra_gui
point_spectra_gui

6. Update an existing installation

If you already have an earlier version of the PySAT Point Spectra GUI installed as described above and you want to wipe it and update to the latest version, just do:

conda env remove -n point_spectra_gui

And then follow the instructions above to install a fresh version.

Bugs

Run into bugs or features that are missing? Let us know by reporting an issue!

PYSAT UI

PYSAT splash

  • The UI's backend is designed and created in Python with the QT framework

Control Flow

FlowChart

  • The user begins by starting __main__.py.
  • __main__.py will load MainWindow.py which in turn will load the splash screen and all necessary UI pieces
  • MainWindow.py displays the mainframe in which the UI's submodules will be loaded into
  • MainWindow.py will then foward control to each submodule of focus
  • Each of the submodules build the collective UI library
  • Each submodule also contains all the necessary functions that will interact with Anaconda and PYSAT
  • The PYSAT and Anaconda libraries will then do the necessary data manipulations
  • The values are then returned back up to the Submodule which in turn is returned back to MainWindow which will then deal with changed data

Walkthrough (with images)

1. Fresh install of Miniconda (Skip to step 2 if you have Anaconda/Miniconda)

982f2828-0d23-4dac-b84c-5808d47cd3ae

2. Download the environment file (right click the link and save)

dc336619-0412-4d4d-959d-dd4d83d863f8

3. Open a terminal (on Windows, cmd, not Powershell) in the directory where you saved the file and type:

55096025-e378-4728-ba89-9ed1a5bcf24b

4. Done! How to use point_spectra_gui

0f5329a7-1e09-49f2-8971-6e503b25f648

pysat_point_spectra_gui's People

Contributors

tisaconundrum2 avatar ryanbanderson avatar thecyaniteproject avatar austinsanders avatar acpaquette avatar jlaura avatar

Stargazers

Heng Sun avatar

Watchers

James Cloos avatar Kelvin Rodriguez avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.