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

read_SPE(file, ...)

Arguments

file

character required: File path

...

currently not used.

Value

A list of the tokenized SPE file.

Examples

## 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)
#> Warning: incomplete final line found on 'D:/R/Github/Packages/gammaSpec/inst/extdata/Nievenheim_DORNIE_1.spe'
spec_2 <- read_SPE(file_2) spec_3 <- read_SPE(file_3) spec_4 <- read_SPE(file_4)