New function model_SampleHistory():
- argument
model = c("Bailey2001", ..., "Pagonis2007") to determine the quartz model to be used for modelling the sample history
- argument
sequence = list() inheriting the same keywords and syntax as in model_LuminescenceSignals()
- returning an
RLum.Results object that contains the trap/hole concentrations after the last step of the sample history
Modification of model_LuminescenceSignals():
- argument
simulate_samply_history renamed to sample_history (default NULL)
- if e.g.
model = "Bailey2004" and sample_history = NULL the pre-calculated values provided by the package (see .set_Pars()) of the specified model are used
- alternatively, an
RLum.Results object returned from model_SampleHistory can be used for argument sample_history
Advantages:
- if a user wants to simulate the luminescence signals of sample with a sample history other than the provided ones the sample history has only to be modelled once. This is particularly useful if multiple sequences with changing parameters are used on the same sample history and can save a lot of computation time.
- different sample histories can be saved in the R workspace