Compute the mass fractionation correction

Share:

Description

Compares the measured 40Ar/36Ar ratio of an air shot on a given detector with the atmospheric ratio.

Usage

1
fractionation(fname, detector, MS = "ARGUS-VI", PH = FALSE)

Arguments

fname

a .csv file with the air shot data

detector

the name of the ion detector

MS

the type of mass spectrometer

PH

TRUE if the data were recorded in 'peak hopping' mode, FALSE if recorded in multicollector mode.

Value

an object of class logratios

Examples

1
2
3
4
5
6
7
8
data(Melbourne)
fd37file <- system.file("AirL2.csv",package="ArArRedux")
fd40file <- system.file("AirH1.csv",package="ArArRedux")
fract <- list(fractionation(fd37file,"L2",PH=TRUE),
              fractionation(fd40file,"H1",PH=FALSE))
if (isTRUE(all.equal(Melbourne$fract,fract))){
  print("We just re-created the fractionation correction for the Melbourne dataset")
}

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.