file.Rd
Read header lines with non-spectroscopic information of OOI Base32 (version 2.0.0.5) file.
file
An object of class character
of length 1.
The name of the file which header lines are to be read from.
The character used in the file for decimal points. Default is
a point (.
).
Number of lines to be read. Default is 17.
The text, that indicates the last line of the header
lines and the beggining of spectroscopic information.
Default is ">>>>>Begin Spectral Data<<<<<"
.
Text of header as if it was read with function
readLines
. If text
is provided, file
is ignored.
A list with 2 enties:
$dataA dataframe with information, that contains these variable names:
1 Date
2 Time
3 Graph_Title
4 User
5 Spectrometer_Serial_number
6 Spectrometer_Type
7 ADC_Type
8 Spectrometer_Channel
9 software_info
10 Integration_time
11 Integration_time_Units
12 Scans_averaged
13 Boxcar_width
14 Electric_dark_correction
15 Time_Normalized
16 Dual_beam_Reference
17 Reference_Channel
18 Temperature
19 n_pixels_in_spectrum
$last_header_line The number of the last header line
Other spHelper functions for spectroscopy and hyperSpec:
IQR_outliers()
,
binning()
,
gapDer()
,
hy2mat()
,
hyAdd_Label_wl()
,
hyAdd_Labels_PAP_PD_2014()
,
hyAdd_Labels_TD2009()
,
hyAdd()
,
hyDrop_NA()
,
hyGet_palette()
,
hyRm_palette()
,
mad_outliers()
,
mean_Nsd()
,
median_Nmad()
,
plot_hyPalette()
,
prepare_PAP_RK_2014__MATLAB_failui()
,
read.OOIBase32()
,
read.OceanView.header()
,
read.OceanView()
,
read.sp.csv2()
,
read3csv2hy()
,
replace_spc()
,
sd_outliers()
,
spStat()
,
sp_class_perform()
Other functions to read spectroscopic data:
read.OOIBase32()
,
read.OceanView.header()
,
read.OceanView()
# \donttest{
if (FALSE) {
read.OOIBase32.header("MySpectra.Scope")
read.OOIBase32.header("MySpectra.Scope")$data
}# }
## OOIBase32 Version 2.0.0.5 Data File:
#
# OOIBase32 Version 2.0.0.5 Data File
# ++++++++++++++++++++++++++++++++++++
# Date: 03-04-2014, 15:00:04
# User: Valued Ocean Optics Customer
# Spectrometer Serial Number:
# Spectrometer Channel: Master
# Integration Time (msec): 5000
# Spectra Averaged: 1
# Boxcar Smoothing: 0
# Correct for Electrical Dark: Enabled
# Time Normalized: Disabled
# Dual-beam Reference: Disabled
# Reference Channel: Master
# Temperature: Not acquired
# Spectrometer Type: S2000
# ADC Type: USB2000
# Number of Pixels in File: 2048
# Graph Title:
# >>>>>Begin Spectral Data<<<<<