-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from mlexchange/doc_update
Doc update
- Loading branch information
Showing
3 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Concepts | ||
|
||
## Apply Baseline to Peak Fitting | ||
An option in the user interface to change the lower baseline of the fitting. | ||
|
||
## Peak Shape | ||
This option in the application allows the user to determine the algorithm for fitting peaks. Currently supported are `Guassian` and `Voigt`. | ||
|
||
## SplashML | ||
[SplashML](https://github.com/als-computing/splash-ml) is database service for storing tag information about datasets. It does not store datasets themselves, rather links to those datasets and their corresponding tags. This project contains a standalone version of SplashML for demonstration purposes. | ||
|
||
## Tag Window | ||
This option in the application uses an algorithm that allows the user to preselect the number of peaks to detect. | ||
## Tag w/ Blocks | ||
This option in the application uses an algorithm (citation needed) that auto-detects the number of peaks. This option is available in the application and is also appropriate for the batch processing of files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# How To Guide | ||
|
||
The peak detection appplication is a browser-based framework for automatically detecting peaks in 1-D XRD data set. The user can choose from several different algorithms to guide detection, which differ in the amount of user intervention vs. automation that can be performed. | ||
|
||
## Data format | ||
Currently, the 1D XRD demo accepts a 2 column comma-separated (.csv) files, with no header row, for example | ||
|
||
```csv | ||
1.502500072169232093e+00,1.333536761775019386e+01 | ||
1.507500072883772191e+00,1.558678643552360654e+01 | ||
1.512500073598311845e+00,1.727255455621030933e+01 | ||
1.517500074312851721e+00,1.817530381724509425e+01 | ||
``` | ||
## Single File Detection | ||
The 1D XRD application lets you provide a file, label detect peaks, and store the those peaks as features in the [SplashML](./concepts.md#SplashML) database. | ||
|
||
Steps: | ||
* Click on the "Select Files" link | ||
|
||
* Browse to a file on your file system. | ||
|
||
> The application displays a plot of the file, with two panes, the full plot and plot with selectors to zoom into a particular section | ||
* Optional: select [Apply Baseline to Peak Fitting](./concepts.md#Apply_Baseline_to_Peak_Fitting) | ||
|
||
* Enter a Tag Name. This name will be used to generate the names of the tags added to [SplashML](./concepts.md#SplashML). | ||
|
||
* Option 1: click [Tag Window](./concepts.md#tag_window). This option requires you to also add a value in "Number of Peaks". | ||
|
||
* Option 2: click [Tag w/ Blocks](./concepts.md#tag_window). This option requires you to also add a value in "Number of Peaks". | ||
|
||
### What happened? | ||
The application displays detected peaks in the graph, and displays in the `Current Tags` table the list of detected peaks. Each tag in the `Current Tags` can be saved into SplashML as a new tag, with the `Peak` location (midpoint and amplitude) and the Full Width Half Max of the peak. A color was assigned to each tag, which matches the color in the graph. One can now save `Table of Tags`, which does what?? or `Save to Splash`, which inserts them into SplashML. | ||
|
||
## Batch Detection | ||
A future feature which allows the user to bulk detect peaks on a number of files all at once. |