R/run_MC_LM_OSL_LOC.R
run_MC_LM_OSL_LOC.Rd
Runs a Monte-Carlo (MC) simulation of linearly modulated optically stimulated luminescence (LM-OSL) using the generalized one trap (GOT) model. Localized transitions refer to transitions which do not involve the conduction or valence band. These transitions take place between the ground state and an excited state of the trap, and also involve a an energy state of the recombination centre.
run_MC_LM_OSL_LOC(
A,
times,
clusters = 10,
n_filled = 100,
r,
method = "par",
output = "signal",
...
)
numeric (required): The optical excitation rate from the ground state into the excited state of the trap (s^-1)
numeric (required): The sequence of time steps within the simulation (s)
numeric (with default): The number of created clusters for the MC runs. The input can be the output of create_ClusterSystem. In that case n_filled
indicate absolute numbers of a system.
integer (with default): The number of filled electron traps at the
beginning of the simulation (dimensionless). Can be a vector of length(clusters)
, shorter values are recycled.
numeric (required): The retrapping ratio for localized transitions
character (with default): Sequential 'seq'
or parallel 'par'
processing. In
the parallel mode the function tries to run the simulation on multiple CPU cores (if available) with
a positive effect on the computation time.
character (with default): output is either the 'signal'
(the default)
or 'remaining_e'
(the remaining charges, electrons, in the trap)
further arguments, such as cores
to control the number of used CPU cores or verbose
to silence the terminal
This function returns an object of class RLumCarlo_Model_Output
which
is a list consisting of an array with dimension length(times) x clusters
and a numeric time vector.
The model
$$ I_{LOC}(t) = -dn/dt = (A * t/P) * (n^2 / (r + n)) $$
Where in the function:
A := optical excitation rate from the ground state into the excited state of the trap (1/s)
P := total excitation time (s)
t := time (s)
n := n_filled
, the instantaneous number of electrons
r := the retrapping ratio for localized transitions
0.1.0
Kreutzer, S., 2022. run_MC_LM_OSL_LOC(): Run Monte-Carlo Simulation for LM-OSL (localized transitions). Function version 0.1.0. In: Friedrich, J., Kreutzer, S., Pagonis, V., Schmidt, C., 2022. RLumCarlo: Monte-Carlo Methods for Simulating Luminescence Phenomena. R package version 0.1.9. https://CRAN.R-project.org/package=RLumCarlo
Pagonis, V., Friedrich, J., Discher, M., Müller-Kirschbaum, A., Schlosser, V., Kreutzer, S., Chen, R. and Schmidt, C., 2019. Excited state luminescence signals from a random distribution of defects: A new Monte Carlo simulation approach for feldspar. Journal of Luminescence 207, 266–272. doi:10.1016/j.jlumin.2018.11.024
## short example
run_MC_LM_OSL_LOC(
A = 1,
times = 0:40,
clusters = 10,
n_filled = 100,
r = 1e-7,
method = "seq",
output = "signal") %>%
plot_RLumCarlo(legend = TRUE)
if (FALSE) {
## the long (meaningful) example
results <- run_MC_LM_OSL_LOC(
A = 1,
times = 0:100,
clusters = 100,
n_filled = 100,
r = 1e-7,
method = "par",
output = "signal")
## plot
plot_RLumCarlo(results, legend = TRUE)
}