loadImgChunkFromCoords: Loads a part of a ff data img in RAM.

Description Usage Arguments Value

View source: R/libimgramdisk.R

Description

Loads a part of a rMSI object in computer memory. The spectra to load is specified by its pixel coordinates (Coords).

Usage

1

Arguments

Img

the rMSI object where the data is stored (ramdisk).

Coords

a coordinates vector of spectra to load represented as complex numbers where real part corresponds to X and imaginary to Y.

Value

a matrix containing the loaded spectra.


prafols/rMSI documentation built on Dec. 12, 2021, 7:29 p.m.