diffraction-detector

command
v3.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

README

Diffraction Peak Detection

Detects diffraction peaks in spectral 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>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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