-
Notifications
You must be signed in to change notification settings - Fork 0
README Update #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a738ed3
Update README with install instructions and basic usage instructions …
zachcran e916531
Expand gitignore for more LabVIEW file excludes
zachcran a9427d1
Point explicitly to latest release
zachcran f6980b9
Update with example file names in README
zachcran 28c056e
Merge branch 'readme_update' of github.com:RxnRover/plugin_reactir_re…
zachcran 6811ad3
Fix typo
zachcran 2d5fd16
Remove *.aliases file that is system-specific and should not be commi…
zachcran 77d5e6a
Remove unicode copyright symbol
zachcran f560731
Update copyright year
zachcran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,17 +1,70 @@ | ||
| # ReactIR Report Parser | ||
|
|
||
| This plugin parses report files output from a ReactIR(TM) to | ||
| extract the peak intensity of an analyte. The plugin will average the results | ||
| of three scans before reporting a new concentration value to Rxn Rover. | ||
| A sample report is included with the plugin, whose format must be matched | ||
| exactly for the parser to work. | ||
| This plugin parses report files output from a [Mettler Toledo ReactIR](https://www.mt.com/ph/en/home/products/L1_AutochemProducts/ftir-and-raman-spectrometers/ftir-spectrometers.html) to extract the intensity of a specified peak. The plugin will average the results of a default of three scans before reporting a new concentration value to Rxn Rover. | ||
|
|
||
| **Note:** The ReactIR trademark is owned by Mettler Toledo | ||
| and its affiliated entities. | ||
| ## Table of Contents | ||
|
|
||
| <details> | ||
| <summary>Click to expand</summary> | ||
|
|
||
| - [Installation](#installation) | ||
| - [Prerequisites](#prerequisites) | ||
| - [As a VIPM Package (Recommended)](#as-a-vipm-package-recommended) | ||
| - [Manual Installation](#manual-installation) | ||
| - [Basic Usage](#basic-usage) | ||
| - [ReactIR Setup](#reactir-setup) | ||
| - [Choosing a Report Directory](#choosing-a-report-directory) | ||
| - [Main Window](#main-window) | ||
|
|
||
| </details> | ||
|
|
||
| ## Installation | ||
|
|
||
| Download this plugin by clicking the "Code" button in the top right of its | ||
| GitHub repository and selecting "Download ZIP". Extract the ZIP file into your | ||
| `<documents>/RxnRover/Plugins/Analyzers` directory to finish installation. | ||
| Create the `Analyzers` subdirectory if it does not already exist. | ||
| ### Prerequisites | ||
|
|
||
| - [Dynamic Reentrant](https://github.com/RxnRover/DynamicReentrant/releases/) >= 2, < 3 | ||
| - [JKI VI Package Manager](https://www.vipm.io/) (if installing through VIPM package; commonly installed by default with LabVIEW) | ||
|
|
||
| ### As a VIPM Package (Recommended) | ||
|
|
||
| 1. Navigate to the [latest release](https://github.com/RxnRover/plugin_reactir_report_parser/releases/latest) | ||
| 2. Download the latest `*.vip` file | ||
| 3. Double click to install it via VIPM | ||
|
|
||
|
JohnBrittaein marked this conversation as resolved.
|
||
| ### Manual Installation | ||
|
|
||
| 1. Navigate to the [plugin repo](https://github.com/RxnRover/plugin_reactir_report_parser). | ||
| 2. Download this plugin by clicking the "Code" button in the top right of its GitHub repository and selecting "Download ZIP". | ||
| 3. Extract the ZIP file into your `<documents>/RxnRover/Plugins/Analyzers` directory. Create the `Analyzers` subdirectory if it does not already exist. | ||
|
|
||
| ## Basic Usage | ||
|
|
||
| ### ReactIR Setup | ||
|
|
||
| Before running this plugin, in the ReactIR software, set a folder where spectra will be output (`<report_dir>`) and ensure that they are output in CSV format. The files must be named to match the following pattern, `SPC_*.CSV`, where `*` **MUST** be a monotonically ascending report number (leading zeroes are allowed). | ||
|
|
||
| For example, `SPC_00003.CSV` is valid and `SPC_004.CSV` or `SPC_00204.CSV` would be parsed if they appeared afterward, but `SPC_00001.CSV` will not be read if it appears in the `<report_dir>` at a later time in the same session. For now, *file names are case sensitive*, so `SPC_001.CSV` will work, but `spc_001.csv` will not. | ||
|
|
||
|
JohnBrittaein marked this conversation as resolved.
|
||
| **NOTE:** See `examples/` in the [plugin repository](https://github.com/RxnRover/plugin_reactir_report_parser) for examples of valid spectra and report directories for testing. | ||
|
|
||
| ### Choosing a Report Directory | ||
|
|
||
| Once the plugin is started, use the first "Select Report Directory" to select this `<report_dir>`. You can manually paste the report directory path into the path input field or use the "Browse for folder" button with a folder icon. Then, press "Confirm" to use the chosen folder or "Cancel" to quit the plugin. | ||
|
|
||
|  | ||
|
|
||
| **NOTE:** Existing spectra will be ignored! Only spectra files created after the report directory is chosen will be detected. | ||
|
|
||
| ### Main Window | ||
|
|
||
| Once a report directory (`<report_dir>`) is selected, you will be presented with the main plugin window. Along with a plot of the parsed spectra to be averaged, the following features are available to configure plugin behavior: | ||
|
|
||
| 1. The target peak wavenumber ($cm^{-1}$) can be specified, defaulting to 3600 $cm^{-1}$. | ||
| 2. The target peak tolerance ($\pm\ x\ cm^{-1}$) can be specified to accomodate shifting peaks. | ||
| 3. The number of points to be averaged before a peak intensity is reported to Rxn Rover or another remote connection. This defaults to 3 spectra. To disable averaging, set this to 1. | ||
| 4. The reported absorbance from the plugin can be scaled by a max absorbance value. This is a simple division of the measured intensity by the max intensity after averaging. The max intensity defaults to 1 which has no scaling effect. | ||
| 5. The averaged, scaled absorbance reported to Rxn Rover or another remote connection. | ||
|
|
||
| <!-- TODO: Add corresponding numbers to the image for each feature discussed. --> | ||
|
JohnBrittaein marked this conversation as resolved.
|
||
|
|
||
|  | ||
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.