spc.Read_ASD: Read the ASD Spectra from text file

Description Usage Arguments Value Examples

View source: R/Spectra-ImportFuns.R

Description

Imports ASD spectra from text files prepared by the software provided by ASD inc. This function imports only one spectra per file.

Usage

1
spc.Read_ASD(filename)

Arguments

filename

A string name of the input text file containing the raw ASD data.

Value

Returns an object of class Spectra.

Examples

1
2
3
4
filename = file.path(system.file(package = "geoSpectral"),"test_data", "106.064.txt")
L = spc.Read_ASD(filename)
class(L)
spc.plot.plotly(L)

PranaGeo/geoSpectral documentation built on Feb. 21, 2020, 10:22 a.m.