learn@pawsey > Interactive Analysis

Pre-requisites:

Step 1: Install Anaconda on your device.

  1. Download Anaconda Individual Edition
  2. Locate the Anaconda Installer on your device and install it.

Step 2: Download the sleep-graph from the Pawsey GitHub

  1. Go to GitHub
  2. Click the Code button and click Download ZIP.
  3. Extract the zipped file. Remember where you put your unzipped folder.

Step 3: Set up the Anaconda environment.

  1. Locate “Anaconda Navigator” on your machine (you may use search function).
  2. Click the Environments tab and click on Import.
  3. Navigate to where the “sleep-graph" (unzipped) folder is located, then open the file titled: environment_bak.yaml
  4. Give a “New Environment Name” (for example, sleep_graph_env), then click Import.

Step 4: Analyse and visualise sleep study data using Jupyter notebooks inside JupyterLab.

  1. Click the Home button on Anaconda Navigator and click the Launch button under JupyterLab.
  2. Open the “sleep-graph” folder and open “Reproducing Graphs.ipynb”
  3. Enjoy analysing and visualising the Sleep Survey data!