mosaic_chunk: Mosaic chunk

Description Usage Arguments Value Examples

View source: R/mosaic_chunk.R

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

1
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

1
2
3
x <- mosaic_info(base::system.file("extdata/mosaic.dmt", package = "uFTIR"))
y <- mosaic_chunk(info = x, dmdfile = "mosaic_0000_0000.dmd")
class(y)

uFTIR documentation built on Oct. 25, 2021, 9:08 a.m.