Description Usage Arguments Value Author(s) See Also Examples
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 preporocessed data.
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 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")
# Release of Spectrino
#spnFree(TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.