diffraction-peak-detection

module
v0.0.0-...-edbdde6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: Apache-2.0

README

DOI

Diffraction Peak Detection

Detects diffraction peaks in X-ray fluorescence (XRF) spectroscopy data

Run from command line

Build command line app

$ go build ./internal/cmdline/main.go

Run Options:

-path : path to load dataset file -save : if scanning dataset file, can save resulting diffraction protobuf file to specified location

$ ./main -path <PATH_TO_DATASET_PB_FILE> -save <PATH_TO_SAVE_DIFFRACTION_PEAK_PB_FILE>

-query : if scanning dataset file, can query peaks found at specific loaction or over all locations

$ ./main -path <PATH_TO_DATASET_PB_FILE> -query <LOCATION_NUMBER_TO_PRINT_PEAKS_OR_"ALL">

-load : if you already have a protobuf diffraction file can print out the peaks from that file

$ ./main -load <PATH_TO_LOAD_DIFFRACTION_PEAK_PB_FILE>

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL