speckle_ps {specklestar}R Documentation

Power spectrum calculation

Description

Power spectrum of the series of 512 x 512 speckle images

Usage

speckle_ps(filename, dark, flat, threshold = 50000L)

Arguments

filename

a character string with the path name to a file.

dark

512 x 512 middle frame matrix.

flat

512 x 512 middle flat field matrix.

threshold

an integer (default is 50000).

Value

The 513 x 1024 double matrix of power spectrum.

Examples

obj_filename <- system.file("extdata", "ads15182_550_2_frames.dat", package = "specklestar")
midd_dark <- matrix(0, 512, 512)
midd_flat <- matrix(1, 512, 512)
pow_spec <- speckle_ps(obj_filename, dark = midd_dark, flat = midd_flat)

[Package specklestar version 0.0.1.7 Index]