coordToPixel-MassImage-numeric-method: coordToPixel

Description Usage Arguments Details Value

Description

coordToPixel

Usage

1
2
## S4 method for signature 'MassImage,numeric'
coordToPixel(object, xy)

Arguments

object

of class MassImage

xy

numeric vector with x/y locator coordinate

Details

coordToPixel translates xy coordinates from the locator() function to cell coordinates from the image function. Origo is according to ToF-SIMS images the upper left corner.

Value

xy coordinate of MassImage pixels


tofsims documentation built on Nov. 8, 2020, 5:10 p.m.