spnGetSpc {spectrino} | R Documentation |
Get one spectrum (vector) - only the Y-values of raw (unprocessed) data. All the spectra in a group are assumed to have common X set of values, so if there is loaded spectrum in different X values, the spectrum is recalculated to fit that reference set.
If Spc is * the command is equivalent to getGetGrp(False,Grp) and gives back preprocessed data.
spnGetSpc(Grp,Spc)
Grp |
- the name(character string) or the index(integer) of the spec-group; 0 - active group. |
Spc |
- the name(character string) or the index(integer) of spec; 0 - selected spec; "*" or "<ALL>" - all specs |
spnGetSpc
returns one spectrum (vector) - only the Y-values of raw (unprocessed) data.
Teodor Krastev
spnGetGrp , spnGetTree , spnGetRefer
# Initialization of Spectrino spnNew() # generate test set spnOpenTree("<test>") # if "Test2" is the second group, and "test23" - the third spec in it v1 <- spnGetSpc(2,3) # is equivalent to v1 <- spnGetSpc("Test2","test23") spnGetSpc(2,"*") # is equivalent to spnGetGrp(FALSE,2) # Release of Spectrino spnFree(TRUE)