method: read or define SIMS acquisition details

View source: R/method.R

methodR Documentation

read or define SIMS acquisition details

Description

get or set a list of data acquisition properties

Usage

method(m = "IGG-UPb", instrument, ions, num, den, bkg, description)

Arguments

m

the name of a data acquisition protocol. Pre-defined values include 'IGG-UPb', 'GA-UPb', 'IGG-UThPb', 'IGG-O', and 'IGG-S').

instrument

one of either SHRIMP or Cameca.

ions

vector of labels to be attached to the different ionic masses that are visited during each sweep.

num

numerator ions of the logratios to be processed in subsequent data reduction steps.

den

denominator ions of the logratios to be processed in subsequent data reduction steps.

bkg

either (1) a character string with the name of the channel (e.g. 'bkg') of the background signal, (2) 'nominal' a flag indicating that nominal detector backgrounds recorded in the input file are to be used (only relevant to Cameca data), or (3) a numerical value representing a nominal number of background counts (for SHRIMP) or counts per second (for Cameca).

description

text string with a description of the contents

Value

an object of class method

Examples

fname <- system.file('SHRIMP.op',package='simplex')
m <- method(m="GA-UPb",
            instrument="SHRIMP",
            ions=c('Zr2O','Pb204','bkg','Pb206','Pb207',
                   'Pb208','U238','ThO','UO','UO2'),
            num=c('Pb204','Pb207','Pb206','UO'),
            den=c('Pb206','Pb206','U238','U238'),
            bkg='bkg',
            description="U-Pb dating at Geoscience Australia.")
shrimpdat <- read_data(fname,m=m)
plot(shrimpdat,i=1)

pvermees/simplex documentation built on Sept. 2, 2023, 12:40 p.m.