- src/ndp/reduce.py - Reduces neutron depth profiling data from a single sample according to a schema.json file
- src/ndp/schema.py - Creates the schema.json file used to control the flow of data processing in Reduce.py
- src/ndp/example_files/config.json - instrument configuration file in JSON format, read by Reduce.py
- src/ndp/jupyter/ndpReduce.ipynb - Jupyter notebook interface for reducing ndp data with Reduce.py
- src/ndp/jupyter/schema.ipynb - Jupyter notebook interface for creating schema files
- Install Python>=3.9 via anaconda.com (recommended) or python.org
- (optional) Create an environment for ndp within Anaconda or using virtualenv
- Open the Anaconda prompt or your favorite command line emulator and run:
$ pip install ndp
- Navigate in the terminal to your working directory and run
$ python -m ndp.get_notebooks
- Start a jupyter server from this directory
$ jupyter-lab
- Modify schema.ipynb to have all of the info specific to your data sets
- Run schema.ipynb to create your schema file
- Modify ndpReduce.ipynb to load your new schema file
- Modify ndpReduce.ipynb to reflect the directory where you are keeping Reduce.py
- Run all the cells
- Adjust the plots to your preferences