A python tool for reducing neutron depth profiling measurements
Project description
Data reduction for neutron depth profiling measurements
What is in this git:
- 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
To install:
- 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
To run this code:
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ndp-0.0.2.tar.gz
(65.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ndp-0.0.2-py3-none-any.whl
(65.2 kB
view details)
File details
Details for the file ndp-0.0.2.tar.gz.
File metadata
- Download URL: ndp-0.0.2.tar.gz
- Upload date:
- Size: 65.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f771baf17ec0be4a4f71c8f19b4912ce6a2d830a622318c2afd0bb6814075754
|
|
| MD5 |
f43316893ca6cb08b6b13d0df60b4fb6
|
|
| BLAKE2b-256 |
467f5568938c0b348798b812d7527e74d540d6133d01606f4e22dea0aaeecbf8
|
File details
Details for the file ndp-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ndp-0.0.2-py3-none-any.whl
- Upload date:
- Size: 65.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25e031b6b4b5284f009db342398df7774e8c8fe310d5005d5e510c91103d778a
|
|
| MD5 |
e781fe525a519a89d914ebfc5f2b7d0b
|
|
| BLAKE2b-256 |
4d5f68458e835bcd4ad5d8a1666d354ee1d74be739b015ff436ec562dbfc1dd3
|