Learn R Programming

uFTIR (version 0.1.4)

mosaic_chunk: Mosaic chunk

Description

The function read a single mosaic tile (.dmd file extension) using a SpectralInfo object as a guide to find the file. It returns an object of class Tile, which can be (pre/post)processed as if it were a single tile.

Usage

mosaic_chunk(info, path, dmdfile, fpa, wl)

Arguments

info

Optional. SpectralInfo object.

path

Optional. Path to dmdfile. Overwrites the path on the info object.

dmdfile

Target *.dmd file to read.

fpa

If info is missing, you should indicate the fpa size of the chunk.

wl

If info is missing, you should indicate the wavenumbers at which you read your data

Value

A Tile object.

Examples

Run this code
# NOT RUN {
x <- mosaic_info(base::system.file("extdata/mosaic.dmt", package = "uFTIR"))
y <- mosaic_chunk(info = x, dmdfile = "mosaic_0000_0000.dmd")
class(y)
# }

Run the code above in your browser using DataLab