read_SPE: Import SPE files to R

Description Usage Arguments Value Examples

View source: R/read_SPE.R

Description

Import SPE files produced by the ORTEC application software MAESTRO Mulichannel Analyzer Emulation and GammaVision Gamma Spectroscopy

Usage

1

Arguments

file

character required: File path

...

currently not used.

Value

A list of the tokenized SPE file.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Load Example Data
file_1 <- system.file("extdata", "Nievenheim_DORNIE_1.spe", package = "gammaSpec")
file_2 <- system.file("extdata", "Nievenheim_DORNIE_2.spe", package = "gammaSpec")
file_3 <- system.file("extdata", "Nievenheim_DORNIE_3.spe", package = "gammaSpec")
file_4 <- system.file("extdata", "Nievenheim_DORNIE_4.spe", package = "gammaSpec")

## Import SPE files
spec_1 <- read_SPE(file_1)
spec_2 <- read_SPE(file_2)
spec_3 <- read_SPE(file_3)
spec_4 <- read_SPE(file_4)

tzerk/gammaSpec documentation built on May 3, 2019, 2:04 p.m.