Notebook for analysis of Multi-Grid data. Contains the codebase used by notebooks for the following measurements:
- V20
- Utgård
- LET
The repository also contains a template project at 'scripts/template_notebook.ipynb'. This notebook contains detailed instructions on how to create a new project and perform analysis.
- Python3 (https://www.python.org/downloads/)
- Anaconda (https://www.anaconda.com/distribution/)
Install dependencies:
conda install -c plotly plotly
Clone the repository:
git clone https://github.com/ess-dg/mg_analysis_notebook.git
Navigate to mg_analysis_notebook->scripts and enter:
jupyter notebook
Finally, select the notebook of interest.
- Navigate to 'scripts' and copy the 'template_notebook.ipynb'
- Rename the copied project and put it in the 'scripts' folder
- Follow the instructions within in the notebook
- Execute cell which imports packages
- Execute cells which define functions
- Use the 'extract_and_save'-function to extract clusters and events. The function takes a 'run' argument, name of the measurement run, and a 'raw_path' argument, location of the raw data. It then extracts, clusters and save the data in the 'processed folder'.
- Use the 'load'-function to load clustered data into the notebook, by specifiying a run
- Define any filters you would like to apply on the data
- Use the plotting functions to visualize the data