read_envi | R Documentation |
This function allows ENVI data import.
read_envi(
file,
header = NULL,
spectral_smooth = F,
sigma = c(1, 1, 1),
metadata = list(file_name = basename(file), user_name = NULL, contact_info = NULL,
organization = NULL, citation = NULL, spectrum_type = NULL, spectrum_identity = NULL,
material_form = NULL, material_phase = NULL, material_producer = NULL,
material_purity = NULL, material_quality = NULL, material_color = NULL,
material_other = NULL, cas_number = NULL, instrument_used = NULL,
instrument_accessories = NULL, instrument_mode = NULL, spectral_resolution = NULL,
laser_light_used = NULL, number_of_accumulations = NULL,
total_acquisition_time_s = NULL, data_processing_procedure = NULL,
level_of_confidence_in_identification = NULL, other_info = NULL, license =
"CC BY-NC"),
...
)
file |
name of the binary file. |
header |
name of the ASCII header file. If |
spectral_smooth |
logical value determines whether spectral smoothing will be performed. |
sigma |
if |
metadata |
a named list of the metadata; see
|
... |
further arguments passed to the submethods. |
ENVI data usually consists of two files, an ASCII header and a binary data
file. The header contains all information necessary for correctly reading
the binary file via read.ENVI()
.
An OpenSpecy
object.
Zacharias Steinmetz, Claudia Beleites
read_spec()
for reading .y(a)ml, .json, or .rds (OpenSpecy)
files;
read_text()
, read_asp()
, read_spa()
,
read_spc()
, and read_jdx()
for text files, .asp,
.spa, .spa, .spc, and .jdx formats, respectively;
read_opus()
for reading .0 (OPUS) files;
read_zip()
and read_any()
for wrapper functions;
read.ENVI()
gaussianSmooth()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.