Bayesian Modelling of Raman Spectroscopy

computeLogLikelihood | Compute the log-likelihood. |

copyLogProposals | Initialise the vector of Metropolis-Hastings proposals. |

effectiveSampleSize | Compute the effective sample size (ESS) of the particles. |

fitSpectraMCMC | Fit the model using Markov chain Monte Carlo. |

fitSpectraSMC | Fit the model using Sequential Monte Carlo (SMC). |

fitVoigtPeaksSMC | Fit the model with Voigt peaks using Sequential Monte Carlo... |

getBsplineBasis | Compute cubic B-spline basis functions for the given... |

getVoigtParam | Compute the pseudo-Voigt mixing ratio for each peak. |

marginalMetropolisUpdate | Update all of the parameters using a single... |

mhUpdateVoigt | Update the parameters of the Voigt peaks using marginal... |

mixedVoigt | Compute the spectral signature using Voigt peaks. |

resampleParticles | Resample in place to avoid expensive copying of data... |

residualResampling | Compute an ancestry vector for residual resampling of the SMC... |

result | SMC particles for TAMRA+DNA (T20) |

reWeightParticles | Update the importance weights of each particle. |

serrsBayes | Bayesian modelling and quantification of Raman spectroscopy |

sumDlogNorm | Sum log-likelihoods of i.i.d. lognormal. |

sumDnorm | Sum log-likelihoods of Gaussian. |

weightedGaussian | Compute the spectral signature using Gaussian peaks. |

weightedLorentzian | Compute the spectral signature using Lorentzian peaks. |

weightedMean | Compute the weighted arithmetic means of the particles. |

weightedVariance | Compute the weighted variance of the particles. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.