spectacles (version 0.5-0)

wl_units: Wavelengths of Spectra* objects

Description

Retrieves the wavelengths units from Spectra* object

Usage

wl_units(object)

# S4 method for Spectra wl_units(object) <- value

Arguments

object

an object inheriting from class Spectra

value

a character string

Value

A vector

Examples

Run this code
# NOT RUN {
# Loading example data
data(oz)
spectra(oz) <- sr_no ~ ... ~ 350:2500

# Print wavelength information
wl(oz)
range(wl(oz))

# Manipulate wavelength information
wl(oz) <- wl(oz) + 1000
wl(oz)

# }

Run the code above in your browser using DataLab