Description Usage Arguments Value Author(s) Examples
This function create a new PMT.
1 | create_PMT(name, description, efficiency)
|
name |
character: Name of the PMT. |
description |
character: Description of the PMT. |
efficiency |
numeric: efficiency of the PMT [mA/W]. |
This function return a new PMT.
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 PMT"
wavelength <- seq(200,1000,10)
values <- dnorm(x = wavelength,mean = 300,sd = 150)
values <- values/max(values)
efficiency <- matrix(data=c(wavelength,
values),
nrow = 81,
ncol = 2,
byrow = FALSE)
#PMT
PMT <- create_PMT(name = name,
description = description,
efficiency = efficiency)
plot_PMT(PMT)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.