speckle_frame {specklestar}R Documentation

Get selected speckle frame Get specified speckle frame as matrix from file

Description

Get selected speckle frame Get specified speckle frame as matrix from file

Usage

speckle_frame(data_file = file.choose(), frame = 1)

Arguments

data_file

a character string with the path name to a file.

frame

an integer.

Value

512 x 512 matrix with given frame.

Examples

## Not run: 
# On Unix-like operating systems only
# Read frame number 2 from file to matrix
obj_filename <- system.file("extdata", "ads15182_550_2_frames.dat", package = "specklestar")
frame2 <- speckle_frame(obj_filename, 2)

## End(Not run)

[Package specklestar version 0.0.1.7 Index]