prsim: Phase randomization and shuffling

View source: R/fun_PRand.R

prsimR Documentation

Phase randomization and shuffling

Description

Phase randomization and shuffling

Usage

prsim(
  modulus,
  phases,
  noise_mat,
  method = c("M1", "M2")[2],
  size = 3,
  seed = NULL
)

Arguments

modulus

Modulus of complex values.

phases

Argument of complex values.

noise_mat

Complex matrix from random time series.

method

Shuffling method, M1: non-shuffling and M2: shuffling. M2 by default.

size

Block size.

seed

Seed for shuffling process.

Value

A new complex matrix


WQM documentation built on Oct. 11, 2024, 9:07 a.m.