Learn R Programming

The rvmethod package is designed to implement the Radial Velocity (RV) method for detecting exoplanets through the periodic motion of their host star. Particularly, this uses the methodology from Holzer et. al (2020) that introduces the Hermite-Gaussian Radial Velocity (HGRV) approach that simplifies the process to simple linear regression.

The process of implementing this method through this package is the following sequence of steps:

  • feed a time-series of normalized stellar spectra into the function estimate_template( ) to estimate the template spectrum
  • apply the absorption feature finding algorithm to the estimated template by feeding it into the findabsorptionfeatures( ) function
  • fit Gaussians to the absorption features found in the template spectrum with the gaussfit( ) function
  • estimate the RV in each stellar spectrum by feeding the estimated template spectrum and Gaussian fit parameters into the hgrv( ) function

To install the package, run the following command in R: install.packages("rvmethod")

Along with the functions mentioned in the sequence above, there are some example data sets that are used in examples given in the documentation.

Copy Link

Version

Install

install.packages('rvmethod')

Monthly Downloads

82

Version

0.1.2

License

GPL-3

Maintainer

Parker Holzer

Last Published

August 10th, 2020

Functions in rvmethod (0.1.2)

gauss3func

Three Gaussian Absorption Features
gauss2func

Two Gaussian Absorption Features
fit3gauss

Fit Gaussians to Three Absorption Features
gauss1func

A Single Gaussian Absorption Feature
estimate_template

Estimate the Template Spectrum
hgrv

Apply the Hermite-Gaussian Radial Velocity (HGRV) Estimation Method
gaussfunc

Gaussian Function
findabsorptionfeatures

Find Absorption Features in a Spectrum
observed_spec

Observed spectrum for the star 51 Pegasi (HD 217014)
spectra

Observed spectra for the star 51 Pegasi (HD 217014)
template

Estimated template spectrum for the star 51 Pegasi (HD 217014)
wave_match

Adjust the wavelength solution of a spectrum
HG1

Evaluate the First-Degree Generalized Hermite-Gaussian Function
Gaussfit

Fit Gaussians to Absorption Features of a Normalized Spectrum