All Projects → l-ramirez-lopez → prospectr

l-ramirez-lopez / prospectr

Licence: other
R package: Misc. Functions for Processing and Sample Selection of Spectroscopic Data

Programming Languages

r
7636 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to prospectr

awesome-spectra
🌈 A collaborative list of awesome tools for spectroscopy. Also, check:
Stars: ✭ 47 (+80.77%)
Mutual labels:  spectroscopy, infrared
spectrochempy
SpectroChemPy is a framework for processing, analyzing and modeling spectroscopic data for chemistry with Python
Stars: ✭ 34 (+30.77%)
Mutual labels:  spectroscopy, infrared
ReSampler
High quality command-line audio sample rate converter
Stars: ✭ 120 (+361.54%)
Mutual labels:  resample
pyOptionPricing
Option pricing based on Black-Scholes processes, Monte-Carlo simulations with Geometric Brownian Motion, historical volatility, implied volatility, Greeks hedging
Stars: ✭ 190 (+630.77%)
Mutual labels:  derivatives
Rdpack
R package Rdpack provides functions and macros facilitating writing and management of R documentation.
Stars: ✭ 21 (-19.23%)
Mutual labels:  r-package
NVTabular
NVTabular is a feature engineering and preprocessing library for tabular data designed to quickly and easily manipulate terabyte scale datasets used to train deep learning based recommender systems.
Stars: ✭ 797 (+2965.38%)
Mutual labels:  preprocessing
micro-signals
A tiny typed messaging system inspired by js-signals that uses ES2015 sets
Stars: ✭ 39 (+50%)
Mutual labels:  signal
preprocessy
Python package for Customizable Data Preprocessing Pipelines
Stars: ✭ 34 (+30.77%)
Mutual labels:  preprocessing
qwraps2
An updated version of qwraps with a focus on flexibility and general purpose. These functions are helpful for extracting and formatting results from R into .Rnw or .Rmd files. Additional functions for routine work such as extracting results from regression models or finding sensitivity and specificity.
Stars: ✭ 33 (+26.92%)
Mutual labels:  r-package
promise-abortable
Promise lib for aborting in chain.
Stars: ✭ 19 (-26.92%)
Mutual labels:  signal
arpes
Mirror of PyARPES (gitlab/lanzara-group/python-arpes) the open source ARPES analysis framework
Stars: ✭ 21 (-19.23%)
Mutual labels:  spectroscopy
PROJ Option Pricing Matlab
Quant Option Pricing - Exotic/Vanilla: Barrier, Asian, European, American, Parisian, Lookback, Cliquet, Variance Swap, Swing, Forward Starting, Step, Fader
Stars: ✭ 85 (+226.92%)
Mutual labels:  derivatives
arduino-primo-tutorials
Here some tutorials to explain and show how to make use of the new features of the Arduino Primo and Arduino Primo Core, such as Wifi, BLE, NFC, InfraRed and various sensors. Hope you can find this helpful to create amazing stuff, save the planet or make a cool project to look smart at the dinning table with your uncles.
Stars: ✭ 12 (-53.85%)
Mutual labels:  infrared
qspectra
Quantum simulations of nonlinear spectroscopy and dynamics for molecular aggregates
Stars: ✭ 14 (-46.15%)
Mutual labels:  spectroscopy
modeltime.ensemble
Time Series Ensemble Forecasting
Stars: ✭ 65 (+150%)
Mutual labels:  r-package
pg sampletolog
Postgres extension to sample statements or transactions to logs
Stars: ✭ 17 (-34.62%)
Mutual labels:  sampling
mchtoolbox
⛔ ARCHIVED ⛔ What the Package Does (Title Case)
Stars: ✭ 13 (-50%)
Mutual labels:  r-package
multi-imbalance
Python package for tackling multi-class imbalance problems. http://www.cs.put.poznan.pl/mlango/publications/multiimbalance/
Stars: ✭ 66 (+153.85%)
Mutual labels:  preprocessing
arraymancer-vision
Simple library for image loading, preprocessing and visualization for working with arraymancer.
Stars: ✭ 28 (+7.69%)
Mutual labels:  preprocessing
robotstxt
robots.txt file parsing and checking for R
Stars: ✭ 65 (+150%)
Mutual labels:  r-package

prospectr

Travis-CI Build Status CRAN_Status_Badge Downloads

Misc. Functions for Processing and Sample Selection of Spectroscopic Data

Antoine Stevens & Leo Ramirez-Lopez

Last update: 30.08.2022

This version: 0.2.6 - chicago -

prospectr is becoming more and more used in spectroscopic applications, which is evidenced by the number of scientific publications citing the package. This package is very useful for signal processing and chemometrics in general as it provides various utilities for pre--processing and sample selection of spectral data. While similar functions are available in other packages, like signal, the functions in this package works indifferently for data.frame, matrix and vector inputs. Besides, several functions are optimized for speed and use C++ code through the Rcpp and RcppArmadillo packages.

Installing it from GitHub

Install this package from github by:

remotes::install_github("l-ramirez-lopez/prospectr")

NOTE: in some MAC Os it is still recommended to install gfortran and clang from here. Even for R >= 4.0. For more info, check this issue.

News

Check the NEWS document for new functionality and general changes in the package.

Vignette

A vignette for prospectr explaining its core functionality is available at https://CRAN.R-project.org/package=prospectr/vignettes/prospectr.html.

Core functionality

A vignette gives an overview of the main functions of the package. Just type vignette("prospectr-intro") in the console to access it. Currently, the following preprocessing functions are available:

  • resample() : resample a signal to new coordinates by linear or spline interpolation

  • resample2() : resample a signal to new coordinates using FWHM values

  • movav() : moving average

  • standardNormalVariate() : standard normal variate

  • msc() : multiplicative scatter correction

  • detrend() : detrend normalization

  • baseline() : baseline removal/correction

  • blockScale() : block scaling

  • blockNorm() : sum of squares block weighting

  • binning() : average in column--wise subsets

  • savitzkyGolay() : Savitzky-Golay filter (smoothing and derivatives)

  • gapDer() : gap-segment derivative

  • continuumRemoval() : continuum-removed absorbance or reflectance values

The selection of representative samples/observations for calibration of spectral models can be achieved with one of the following functions:

  • naes() : k-means sampling

  • kenStone() : CADEX (Kennard--Stone) algorithm

  • duplex() : DUPLEX algorithm

  • shenkWest() : SELECT algorithm

  • puchwein() : Puchwein sampling

  • honigs() : Unique-sample selection by spectral subtraction

Other useful functions are also available:

  • read_nircal() : read binary files exported from BUCHI NIRCal software

  • readASD() : read binary or text files from an ASD instrument (Indico Pro format)

  • spliceCorrection() : correct spectra for steps at the splice of detectors in an ASD FieldSpec Pro

  • cochranTest() : detects replicate outliers with the Cochran C test

Citing the package

Antoine Stevens and Leornardo Ramirez-Lopez (2022). An introduction to the prospectr package. R package Vignette R package version 0.2.4. A BibTeX entry for LaTeX users is:

 @Manual{stevens2022prospectr,
    title = {An introduction to the prospectr package},
    author = {Antoine Stevens and Leornardo Ramirez-Lopez},
    publication = {R package Vignette},
    year = {2022},
    note = {R package version 0.2.4},
  }

Bug report and development version

You can send an email to the package maintainer ([email protected]) or create an issue on github. To install the development version of prospectr, simply install devtools from CRAN then run install_github("l-ramirez-lopez/prospectr").

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].