Description Usage Arguments Value Author(s) Examples
View source: R/create_Stimulation.R
This function create a new Stimulation.
1 | create_Stimulation(name, description, type, emission)
|
name |
character: Name of the Stimulation. |
description |
character: Description of the Stimulation. |
type |
character: Type of the Stimulation ('TL' or 'OSL'). |
emission |
numeric: emission of the Stimulation [u.a]. |
This function return a new Stimulation.
David Strebler, University of Cologne (Germany).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # Data
name <- "example"
description <- "non realistic stimulation"
wavelength <- seq(200,1000,10)
values <- dnorm(x = wavelength,mean = 500,sd = 25)
values <- values/max(values)
emission <- matrix(data=c(wavelength,
values),
nrow = 81,
ncol = 2,
byrow = FALSE)
stimulation <- create_Stimulation(name = name,
description = description,
type = 'OSL',
emission = emission)
plot_Stimulation(stimulation)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.