Skip to content

Data analysis tools and notebooks for the Multi-Grid detector

Notifications You must be signed in to change notification settings

ess-dg/mg_analysis_notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Grid detector: data analysis framework & jupyter notebooks

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.

Requisties

Installation

Install dependencies:

conda install -c plotly plotly

Clone the repository:

git clone https://github.com/ess-dg/mg_analysis_notebook.git

Execution

Navigate to mg_analysis_notebook->scripts and enter:

jupyter notebook

Finally, select the notebook of interest.

How to create a new project

  1. Navigate to 'scripts' and copy the 'template_notebook.ipynb'
  2. Rename the copied project and put it in the 'scripts' folder
  3. Follow the instructions within in the notebook

Basic usage

  1. Execute cell which imports packages
  2. Execute cells which define functions
  3. 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'.
  4. Use the 'load'-function to load clustered data into the notebook, by specifiying a run
  5. Define any filters you would like to apply on the data
  6. Use the plotting functions to visualize the data

About

Data analysis tools and notebooks for the Multi-Grid detector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published