speckle_ps: Power spectrum calculation

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Power spectrum of the series of 512 x 512 speckle images

Usage

1
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

1
2
3
4
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)

specklestar documentation built on May 1, 2019, 11:29 p.m.