spc.getheader-list-method: Extract a field of the @header slot of a 'SpcList' object

Description Usage Arguments Examples

Description

Extracts the value of a field in the header slot of SpcList object

Usage

1
2
## S4 method for signature 'list'
spc.getheader(object, name)

Arguments

object

A SpcList object

name

of the header field to be extracted

Examples

1
2
3
4
sp=spc.example_spectra()
BL = spc.makeSpcList(sp,"CAST")
BL[[1]]@header
spc.getheader(BL,"CAST")

geoSpectral documentation built on Feb. 20, 2020, 5:08 p.m.