Learn R Programming

AIUQ (version 0.5.3)

get_true_param_sim: Transform parameters in simulation class to parameters structure in MSD function

Description

Transform parameters in simulation class to parameters contained in MSD function with structure theta in get_MSD. Prepare for truth MSD construction.

Usage

get_true_param_sim(param_truth, model_name)

Value

A vector of parameters contained in MSD with structure theta in get_MSD.

Arguments

param_truth

parameters used in simulation class

model_name

stochastic process used in simulation, options from ('BM','OU','FBM','OU+FBM')

Author

tools:::Rd_package_author("AIUQ")

Examples

Run this code
library(AIUQ)
# Simulate simple diffusion for 100 images with 100 by 100 pixels and
# distance moved per time step is 0.5
sim_bm = simulation(sz=100,len_t=100,sigma_bm=0.5)
show(sim_bm)
get_true_param_sim(param_truth=sim_bm@param,model_name=sim_bm@model_name)

Run the code above in your browser using DataLab