Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.99 KB

File metadata and controls

24 lines (20 loc) · 1.99 KB

vertigo-python

Python repository for analysing vertigo files using python. Created for the use of Juypter notebook.

There are few different ways to get started.

Online

Sign up for an account with Azure (free) and they will let your run all of this online, on their service. Click this button Azure Notebooks to get started.

  1. Go to the link.
  2. Click clone.
  3. Once you have a copy, click on Plot.ipynb and then hit run.
  4. Follow wait for your server to turn on and configure itself.
  5. Using the Data menu at the top of the notebook. Data --> Upload. Copy the file link that it returns (e.g. /home/nbuser/vtg_log7_wheel.csv) and put it in the openFile statement on step 2.
  6. Using the Cell menu at the top of the notebook, click Cell --> Run All. Wait as each processing step completes and graphs appear!

Run jupyter notebooks on your PC

Or else, download and run locally:

  1. Download anaconda from their website Anaconda
  2. Download this repository and go to the folder.
  3. From command line, type conda env create -f environment.yml. This creates an environment with all of the libraries we need for processing files installed. Next time you come back, you'll want to enter the environment by running activate pyvertigo or source activate pyvertigo. See the Anaconda Documentation for more information.
  4. Run the notebook server by calling jupyter notebook. The default server address will be http://localhost:8888. Navigate to this from your web browser and start playing! More information on running the juypter notebook can be found here.

Script in python directly

If you don't want to use jupyter notebooks, you can take the code in it and run it as a normal python script.